Summary: | dev-php/php-4.3.7-r1 fails to compile with USE="snmp" and net-analyzer/ucd-snmp installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wolfram Schlich (RETIRED) <wschlich> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | CC: | mholzer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Wolfram Schlich (RETIRED)
2004-07-04 15:04:56 UTC
did you have net-snmp installed and then install ucd-snmp over it? also, merge gcc again, i've seen it cause problems with it's 'fixed' headers. i have the same problem, remerging ucd-snmp didn't help, didn't remerge gcc yet how about php-4.3.8 ? please let us know which version of snmp do you use/tried I also have the same problem, with php-4.3.8. The relevant lines of config.log are: configure:76869: checking for init_snmp in -lnetsnmp configure:76888: gcc -o conftest -mcpu=pentium2 -O3 -pipe -L/usr/lib -ldb-4.1 -ltiff -L/usr/lib -Wl,-rpath,/opt/blackdown-jdk-1.4.1/jre/lib/i386/server -L/opt/blackdown-jdk-1.4.1/jre/lib/i386/server -Wl,-rpath,/opt/blackdown-jdk-1.4.1/jre/lib/i386/native_threads -L/opt/blackdown-jdk-1.4.1/jre/lib/i386/native_threads -Wl,-rpath,/opt/blackdown-jdk-1.4.1/jre/lib/i386 -L/opt/blackdown-jdk-1.4.1/jre/lib/i386 conftest.c -lnetsnmp -lhistory -lreadline -lncurses -lpspell -lpdf -lz -ltiff -lpng -ljpeg -lpanel -lncurses -lmysqlclient -lmhash -lmcrypt -lltdl -lldap -llber -lcrypt -lpam -lexslt -lxml2 -lxslt -lz -ldb-4.1 -lndbm -lgdbm -lcrack -lbz2 -lz -lresolv -lm -lxmlparse -lxmltok -lxml2 -lz -lm -lnetsnmp -lcrypto -lm 1>&5 /usr/lib/libnetsnmp.so: undefined reference to `des_cbc_encrypt' /usr/lib/libnetsnmp.so: undefined reference to `des_key_sched' /usr/lib/libnetsnmp.so: undefined reference to `des_ncbc_encrypt' collect2: ld returned 1 exit status configure: failed program was: #line 76877 "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 init_snmp(); int main() { init_snmp() ; return 0; } root@ns php-4.3.8 # emerge info Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.20) ================================================================= System uname: 2.4.20 i686 Celeron (Mendocino) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=pentium2 -O3 -pipe" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=pentium2 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 apm arts avi berkdb crypt cups cyrus encode foomaticdb gdbm gif gpm imap imlib java jpeg ldap libg++ libwww mad mikmod mmx motif mysql ncurses nls opengl pam pdflib perl png python quicktime readline sdl slang snmp spell tcpd tetex x86 xml xml2 xv zlib" balazs: add 'ssl' to your USE flags and try again. no response from user. |