Click to See Complete Forum and Search --> : Compile error Solaris 2.7 gcc2.8.1 Netscape Server


Anon
11-09-2000, 07:33 PM
The configure went fine
./configure --with-nsapi=/usr/netscape/suitespot

then the make stopped rather quickly.

*************************************************
Making all in Zend
make[1]: Entering directory `/usr/share/src/php-4.0.3pl1/Zend'
/bin/sh ../libtool --silent --mode=link c++ -o libZend_cc.la zend-scanner-cc.lo
../libtool: ar: not found
make[1]: *** [libZend_cc.la] Error 1
make[1]: Leaving directory `/usr/share/src/php-4.0.3pl1/Zend'
make: *** [all-recursive] Error 1
*************************************************

I've got flex-2.5.4a and bison-1.28 installed from gnu
--any help is appreciated

Anon
11-10-2000, 10:39 PM
Do you have ar in your path?

gcc itself knows that ar is in /usr/ccs/bin, but libtool might not...

Anon
11-13-2000, 11:57 AM
That fixed it:(LD_LIBRARY_PATH). I'm a little rusty and this is a new box. Thanks for the help.

Anon
11-13-2000, 04:39 PM
What exactly did you do to fix the problem? I have been having trouble with php on solaris 2.7 also, but I am configuring it with apache instead. The problem I am having is that the make will hang, it will do nothing after a certain point.

Anon
11-13-2000, 05:04 PM
added /usr/ccs/bin to the $PATH so the compiler or my shell could find 'ar',
then I had another problem with the compiler finding '-llibstdc++' or something of that sort and added /usr/local/lib to LD_LIBRARY_PATH

both of these variables were in my .cshrc file, did a 'make clean' and then 'make'