I'm getting this error when I try to emerge mod_php:
Code: Select all
checking whether to include YP support... yes
checking for yp_match in -lnsl... no
checking for yp_match in -lc... no
configure: error: Unable to find required yp/nis library
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/mod_php-4.4.0-r9/work/php-4.4.0/config.log
!!! ERROR: dev-php/mod_php-4.4.0-r9 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status mConfig.log says:
Code: Select all
configure:92541: checking for yp_match in -lc
configure:92560: gcc -o conftest -O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -DLINUX=2 -D_REENTRAN
T -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -L/usr/lib -L/usr/X11R6/lib -ltiff -L/usr/
lib -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/opt/sun-jdk-1.4.2.09/jre/
lib/i386/server -L/opt/sun-jdk-1.4.2.09/jre/lib/i386/server -Wl,-rpath,/opt/sun-jdk-1.4.2.09/jre/lib/i386/native_threa
ds -L/opt/sun-jdk-1.4.2.09/jre/lib/i386/native_threads -Wl,-rpath,/opt/sun-jdk-1.4.2.09/jre/lib/i386 -L/opt/sun-jdk-1.
4.2.09/jre/lib/i386 conftest.c -lc -lsablot -lexpat -lexpat -laspell -lpspell -lmysqlclient -lmhash -lmcrypt -lltdl -
lssl -lcrypto -lcrypt -lpam -lgd -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lexslt -lxml2 -lxslt -lz -ldb-4.0 -ldb-
4.0 -lndbm -lgdbm -lcurl -lbz2 -lz -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok -lcurl -lz -lssl -lcrypto -ldl -lz
-lxml2 -lz -lm -lnetsnmp -lcrypto -lm 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status
distcc[22007] ERROR: compile conftest.c on localhost failed
configure: failed program was:
#line 92549 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char yp_match();
int main() {
yp_match()
; return 0; }
Code: Select all
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
Thanks,
P


