Re: Cannot build PECL/apd on Solaris 2.8

From: Date: Wed, 20 Nov 2002 18:20:50 +0000
Subject: Re: Cannot build PECL/apd on Solaris 2.8
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10960@lists.php.net to get a copy of this message
Hmm, I was able to build APC about 3-4 months ago on this machine. But then again the main disk died and we had to restore from old backups. Will try and build something else (not in my lab right now, messed up my keen lifting some heavy stuff). --- "Stig S. Bakken" <ssb@fast.no> wrote: > On Mon, 2002-11-18 at 23:00, Jesus M. Castagnetto wrote: > > First I tried the "pear build package.xml" route, and it seemed like > everything > > went fine, except that nothing was really built. > > > > Then, I tried the "phpize; configure; make" route, and I got: > > > > mode=link gcc -DPHP_ATOM_INC > -I/home/jesusmc/devel/php/pear/PECL/apd/include > > -I/home/jesusmc/devel/php/pear/PECL/apd/main > > -I/home/jesusmc/devel/php/pear/PECL/apd > > -I/export/dredox1/devel_server/php/include/php > > -I/export/dredox1/devel_server/php/include/php/main > > -I/export/dredox1/devel_server/php/include/php/Zend > > -I/export/dredox1/devel_server/php/include/php/TSRM -DHAVE_CONFIG_H -o > > apd.la -export-dynamic -avoid-version -prefer-pic -module -rpath > > /home/jesusmc/devel/php/pear/PECL/apd/modules php_apd.lo apd_lib.lo > opcode.lo > > apd_stack.lo > > gcc: unrecognized option `-prefer-pic' > > gcc: unrecognized option `-rpath' > > ld: fatal: file /home/jesusmc/devel/php/pear/PECL/apd/modules: unknown file > > type > > ld: fatal: File processing errors. No output written to apd.la > > collect2: ld returned 1 exit status > > make: [apd.la] Error 1 (ignored) > > mode=install cp ./apd.la /home/jesusmc/devel/php/pear/PECL/apd/modules > > cp: cannot access ./apd.la > > make: [/home/jesusmc/devel/php/pear/PECL/apd/modules/apd.la] Error 2 > (ignored) > > > > Hmm, seems like my gcc (Solaris 8, version 3.0.2, btw) does not grok those > > '-prefer-pic' and '-rpath' options in the Makefile. If I used -fPIC > > and -R > > instead, it does not give the same error but fails while linking. I know I > am > > missing something trivial, but I cannot think what it is at the moment. > > > > Ideas? > > To me, this looks like a problem with libtool on Solaris. Are you able to > build > other standalone extensions using phpize? > > - Stig > > > ===== --- Jesus M. Castagnetto (jcastagnetto@yahoo.com) Research: http://metallo.scripps.edu/ Personal: http://www.castagnetto.org/ __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com

« previous php.pear.dev (#10960) next »