= igraph = == Build from source to user home folder (~/.local) == {{{#!highlight bash cd tmp/ wget http://igraph.org/nightly/get/c/igraph-0.7.1.tar.gz tar xvzf igraph-0.7.1.tar.gz cd igraph-0.7.1 mkdir -p ~/.local/lib/ ln -s /lib/libz.so.1 ~/.local/lib/libz.so ln -s /usr/lib/libxml2.so ~/.local/lib/libxml2.so ./configure --prefix=/home/user/.local/ export LDFLAGS=-L/home/user/.local/lib/ ./configure --prefix=/home/user/.local/ make clean make make install ls ~/.local/lib/ libigraph.a libigraph.la libigraph.so libigraph.so.0 libigraph.so.0.0.0 libxml2.so libz.so pkgconfig cat ~/.local/lib/pkgconfig/igraph.pc prefix=/home/user/.local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: libigraph Description: A library for creating and manipulating graphs Version: 0.7.1 URL: http://igraph.org Libs: -L${libdir} -ligraph Libs.private: -lxml2 -lz -lm -lgmp Cflags: -I${includedir}/igraph }}}