problem installing php

From: Date: Fri, 10 Nov 2000 16:58:34 +0000
Subject: problem installing php
Groups: php.general 
Request: Send a blank email to php-general+get-24668@lists.php.net to get a copy of this message
I beg for your help.... :-) I'm installing this on a Solaris 2.6 to use on a Netscape Enterprise Server, 3.6SP2 I followed bhager's instructions posted 18-Oct-2000, which was excellent!!! But.... I get an error on the make. Here's what I've done, one slight variation that I knew I would be taking: Installed packages: flex-2_5_4a-sol26-sparc-local bison-1_25-sol26-sparc-local make-3_76_1-sol26-sparc-local m4-1_4-sol26-sparc-local I already had the perl and gzip, in the versions bhager listed to use. I also had gcc installed -- but version 2.81, not 2.95 I have it installed in opt, but a link in /usr/bin and a link in /usr/local/bin that point to /opt/GCC281/bin/gcc From /opt/php-4.0.3pl1 I compiled: # ./configure --with-mysql=/usr/local/mysql --with-nasp=/opt/netscape/suitespot/ --enable-track-vars --enable-libgcc No problems. From /opt/php-4.0.3pl1 I did the make, and got this error. Then I decided I would set my path exactly like bhager suggested, and do the make again. Same error. Anyone know what I have to do? -------------------ERROR------------- make[2]: Nothing to be done for `all-p'. make[2]: Leaving directory `/opt/php-4.0.3pl1/regex' make[1]: Leaving directory `/opt/php-4.0.3pl1/regex' Making all in . make[1]: Entering directory `/opt/php-4.0.3pl1' /bin/sh /opt/php-4.0.3pl1/libtool --silent --mode=link gcc -I. -I/opt/php-4.0.3pl1/ -I/opt/php-4.0.3pl1 -I/opt/php-4.0.3pl1/ main -I/opt/netscape/suitespot//include -I/opt/php-4.0.3pl1/Zend -I/opt/php-4.0.3pl1 -I/usr/local/mysql/include -I/opt/php-4. 0.3pl1/ext/xml/expat/xmltok -I/opt/php-4.0.3pl1/ext/xml/expat/xmlparse -I/opt/php-4.0.3pl1/TSRM -D_POSIX_PTHREAD_SEMANTICS - D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -g -O2 -o libphp4.la -rpath /opt/php-4.0.3pl1/libs -av oid-version -L/usr/ucblib -L/opt/GCC281/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1 -L/usr/local/mysql/lib -R /usr/ucblib -R /opt /GCC281/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1 -R /usr/local/mysql/lib stub.lo Zend/libZend.la sapi/nsapi/libsapi.la main/li bmain.la regex/libregex.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/stan dard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -lstdc++ -ldl -lmysqlclient -lresolv -lresolv -lm -ldl -lcrypt -l nsl -lsocket -lpthread -lsocket -lgcc ld: fatal: library -lstdc++: not found ld: fatal: library -lstdc++: not found ld: fatal: File processing errors. No output written to .libs/libphp4.so make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/opt/php-4.0.3pl1' make: *** [all-recursive] Error 1 Thanks for reading my sorrow............ :-) Melissa

« previous php.general (#24668) next »