Bug#702549: wrong .pc file
Picca Frédéric-Emmanuel
picca at synchrotron-soleil.fr
Sat Mar 16 13:35:29 UTC 2013
Even after the modification this .pc file seems broken to me.
prefix=/usr
exec_prefix=${prefix}
includedir=/usr/include
libdir=/usr/lib/i386-linux-gnu
Name: polybori-0.8
Description: The PolyBoRi library
URL: http://polybori.sourceforge.net
Version: 0.8.3
Cflags: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++98 -ftemplate-depth-100 -D_FORTIFY_SOURCE=2 -DPBORI_NDEBUG -DSIZEOF_VOID_P=4 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DPBORI_HAVE_TR1_UNORDERED_MAP -DPBORI_HAVE_M4RI -DPBORI_HAVE_M4RI_PNG -I${includedir}
Libs: -Wl,-z,relro -L${libdir} -lpolybori-0.8
it should be something like:
prefix=/usr
exec_prefix=${prefix}
includedir=/usr/include
libdir=/usr/lib/i386-linux-gnu
Name: polybori-0.8
Description: The PolyBoRi library
URL: http://polybori.sourceforge.net
Version: 0.8.3
Cflags: -I${includedir}
Libs: -L${libdir} -lpolybori-0.8
it seems that all the HAVE_XXX are defined in the config.h file.
now same thing for the groebner part
prefix=/usr
exec_prefix=${prefix}
includedir=/usr/include
libdir=/usr/lib/i386-linux-gnu
Name: polybori-groebner-0.8
Description: The PolyBoRi library
URL: http://polybori.sourceforge.net
Version: 0.8.3
Cflags: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++98 -ftemplate-depth-100 -D_FORTIFY_SOURCE=2 -DPBORI_NDEBUG -DSIZEOF_VOID_P=4 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DPBORI_HAVE_TR1_UNORDERED_MAP -DPBORI_HAVE_M4RI -DPBORI_HAVE_M4RI_PNG -I${includedir}
Libs: -Wl,-z,relro -L${libdir} -lpolybori_groebner-0.8 -lpolybori-0.8
-lm4ri -lpng
it should be
prefix=/usr
exec_prefix=${prefix}
includedir=/usr/include
libdir=/usr/lib/i386-linux-gnu
Name: polybori-groebner-0.8
Description: The PolyBoRi library
URL: http://polybori.sourceforge.net
Version: 0.8.3
Requires: polybori-0.8 m4ri libpng
Cflags: -I${includedir}
Libs: -L${libdir} -lpolybori_groebner-0.8
you missed the Requires line :)
More information about the debian-science-maintainers
mailing list