Why is pthread needed? Inkscape is not threaded, so this seems strange. Does one of the plugins need it?
Bryce
On Wed, 19 Jan 2005, Jeremy C. Reed wrote:
See revision 1.11 of inkscape/inkscape/configure.ac: "When adding -lgc to LIBS, also add its dependencies -lpthread -ldl."
Replaces LIBS="$LIBS -lgc" with LIBS="$LIBS -lgc -lpthread -ldl"
This appears to be wrong. Some systems do not have -lpthread (such as gc built with --disable-threads) and -ldl (such as NetBSD).
For example (when building using pkgsrc under NetBSD):
configure:21460: checking for GC_malloc in -lgc configure:21490: c++ -o conftest -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetyp e2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.cc -lgc -lpthread -ldl -lintl >&5 ld: cannot find -ldl configure:21496: $? = 1
Anyways, -ldl is added to LIBS if needed in the configure script. Maybe re-order as necessary.
I am not sure about checking for -lpthread though.
Jeremy C. Reed
open source, Unix, *BSD, Linux training http://www.pugetsoundtechnology.com/
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel