[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Hello Again, for the record I have just uploaded a release of the Debian package that fixes the info issue.
Cheers, Jerome

On 07/03/2025 11:02, Aymeric Agon-Rambosson wrote:

Hello,

Le jeudi 6 mars 2025 à 20:33, Jerome BENOIT <calculus@rezozer.net> 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


--
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calculus@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B


Reply to: