Opened 9 years ago

Closed 9 years ago

#34932 closed defect (fixed)

py27-igraph cannot find include on Lion

Reported by: nerdling (Jeremy Lavergne) Owned by: nerdling (Jeremy Lavergne)
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 (1)

main.log (33.8 KB) - added by samuelandjw 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by samuelandjw

Attachment: main.log added

comment:1 Changed 9 years 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.

comment:2 Changed 9 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

comment:3 Changed 9 years ago by nerdling (Jeremy Lavergne)

Port: igraph added; py27-igraph removed

I'll look into igraph's ./configure to see if there is a flag we can use there, else editing the pkgconfig file directly.

comment:4 Changed 9 years ago by nerdling (Jeremy Lavergne)

The includedir was previously changed to this for #26975.

comment:5 Changed 9 years ago by nerdling (Jeremy Lavergne)

Fixed in r94555.

comment:6 Changed 9 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Doesn't look like py-igraph needs rebuilt. This should be all done then

Note: See TracTickets for help on using tickets.