Subject: --with-threads= for devel/glib2?
To: None <>
From: Georg Schwarz <>
List: tech-pkg
Date: 07/18/2004 18:49:30
When bmaking devel/glib2 on IRIX 5.3 the configure state breaks with the
following error message in config.log:

configure:32046: checking for pthread_create/pthread_join in -ldce
configure:32113: cc -o conftest -O2 -Xcpluscomm -I/usr/local/pkg/include
-I/usr/local/pkg/include -D_REENTRANT -D_POSIX4_DRAFT_SOURCE
-U_OSF_SOURCE -Wl,-rpath,/usr/local/pkg/lib conftest.c -ldce  -lintl
-liconv >&5
ld: Can't locate file for: -ldce

Adding CONFIGURE_ARGS+=        --with-threads=none or --disable-threads
to the top-level Makefile makes that problem go away.
Does glib2 normally assume the presence of DCE (which does not seem to
be part of pkgsrc)?
What would be the best fix for that issue?


Georg Schwarz     +49 177 8811442