Re: [igraph] [PATCH] Two important packaging improvements for igraph

Aymeric Agon-Rambosson <[email protected]>
Newsgroups gmane.linux.debian.devel.medical
Message-ID <878qphgnvi.fsf@X570GP>
Hello,

Le jeudi 6 mars 2025 à 20:33, Jerome BENOIT <[email protected]> 
a écrit :

> Hello Aymeric, thank for the report. However it would be more 
> appropriate and more efficient to fill a bug report.

Will do next time.

> Concerning the first issue,
> the generated files are put in the 
> `/usr/include/<ARCHTRIPLE>/igraph` purposely because they are 
> generated on a specific arch.
> Note that the dev- package installs a pkgconf(1) meta data file 
> which we want to use. You may want to have a look to the 
> Makfile_s
> in the examples folders. These are used by the autotests, so 
> they should work.

Indeed, adding "-I/usr/include/x86_64-linux-gnu/igraph 
-I/usr/include/igraph -I/usr/include/libxml2" (that is, the output 
of "pkg-config igraph --cflags") to CFLAGS did the trick.

I did not think of this as I did not have to do this before, as 
simply including "igraph/igraph.h" in the C source file used to 
work. All the headers used to be in /usr/include/igraph/. Sorry 
about the noise, I should have looked at the examples.

Best,

Aymeric
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.