MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap
Revision 4 as of 2018-09-21 20:27:04
  • igraph

igraph

Build from source to user home folder (~/.local)

   1 cd tmp/
   2 wget http://igraph.org/nightly/get/c/igraph-0.7.1.tar.gz
   3 tar xvzf igraph-0.7.1.tar.gz 
   4 cd igraph-0.7.1
   5 mkdir -p ~/.local/lib/
   6 ln -s /lib/libz.so.1 ~/.local/lib/libz.so
   7 ln -s /usr/lib/libxml2.so ~/.local/lib/libxml2.so
   8 ./configure --prefix=/home/user/.local/
   9 export LDFLAGS=-L/home/user/.local/lib/
  10 ./configure --prefix=/home/user/.local/
  11 make clean
  12 make
  13 make install
  14 ls ~/.local/lib/
  15 libigraph.a  libigraph.la  libigraph.so  libigraph.so.0  libigraph.so.0.0.0  libxml2.so  libz.so  pkgconfig
  16 
  17 cat ~/.local/lib/pkgconfig/igraph.pc 
  18 prefix=/home/user/.local
  19 exec_prefix=${prefix}
  20 libdir=${exec_prefix}/lib
  21 includedir=${prefix}/include
  22 
  23 Name: libigraph
  24 Description: A library for creating and manipulating graphs
  25 Version: 0.7.1
  26 URL: http://igraph.org
  27 Libs: -L${libdir} -ligraph
  28 Libs.private: -lxml2 -lz -lm -lgmp
  29 Cflags: -I${includedir}/igraph
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01