Ticket #34932 (closed defect: fixed)
py27-igraph cannot find include on Lion
| Reported by: | snc@… | Owned by: | snc@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | samuelandjw@… | |
| Port: | igraph |
Description
:info:build In file included from src/arpackobject.c:23: :info:build src/arpackobject.h:27:10: fatal error: 'igraph_arpack.h' file not found :info:build #include <igraph_arpack.h>
Attachments
Change History
comment:1 Changed 11 months ago by hakanterelius@…
I had the same problem. It seems like the error is in the pkg-config file for igraph.
$ pkg-config igraph --cflags -I/opt/local/include/igraph/igraph
while the include path is actually
/opt/local/include/igraph
Modifying /opt/local/lib/pkgconfig/igraph.pc to
prefix=/opt/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=/opt/local/include
Name: libigraph
Description: A library for creating and manipulating graphs
Version: 0.6
URL: http://igraph.sourceforge.net
Libs: -L${libdir} -ligraph
Libs.private: -lxml2 -lz -lm
Cflags: -I${includedir}/igraph
solved the problem for me.
Note: See
TracTickets for help on using
tickets.

