New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34932 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

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

main.log (33.8 KB) - added by samuelandjw@… 11 months ago.

Change History

Changed 11 months ago by samuelandjw@…

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.

comment:2 Changed 11 months ago by snc@…

  • Status changed from new to assigned

comment:3 Changed 11 months ago by snc@…

  • Port changed from py27-igraph to igraph

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 11 months ago by snc@…

The includedir was previously changed to this for #26975.

comment:5 Changed 11 months ago by snc@…

Fixed in r94555.

comment:6 Changed 11 months ago by snc@…

  • Status changed from assigned to closed
  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.