[ghemical-devel] ghemical-2.98 released

Tommi Hassinen Tommi.Hassinen at uku.fi
Thu Jul 31 08:57:39 EDT 2008


From: Jean Bréfort [jean.brefort at normalesup.org]
Sent: Thursday, July 31, 2008 3:56 PM

I think that things should fail at the configure stage. Using pkg-config
make such things easy to implement.

Cheers,
Jean


Yep! Here you can see what pkg-config answers in my system (the ghemical configure-script calls pkg-config):

$ pkg-config --modversion libghemical
2.98
$ pkg-config --modversion liboglappth
0.98

$ pkg-config --cflags libghemical
-I/usr/local/include/ghemical
$ pkg-config --cflags liboglappth
-I/usr/local/include/oglappth

$ pkg-config --libs libghemical
-L/usr/local/lib -lghemical
$ pkg-config --libs liboglappth
-L/usr/local/lib -lGL -lGLU -loglappth

Your system doesn't need to be identical to mine (it hardly is) but the versions and paths given by pkg-config must point to the latest versions of headers & libs for the two libraries.

Regards,
Tommi



More information about the ghemical-devel mailing list