problems compiling on solaris 2.7 after installing oci8 support

From: Date: Thu, 14 Dec 2000 12:54:30 +0000
Subject: problems compiling on solaris 2.7 after installing oci8 support
Groups: php.install 
Request: Send a blank email to php-install+get-1208@lists.php.net to get a copy of this message
Hi, i've run into some wierd compiling problems on solaris 2.7 where the compiler stalls (i've let it wait for 26 hours just to be sure). here is where it staals: /home/mbj/php-4.0.3pl1/Zend -I/export/home/mbj/php-4.0.3pl1 -I/usr/local/mysql/include/mysql -I/usr/local/oracle//rdbms/public -I/usr/local/oracle//rdbms/demo -I/usr/local/oracle//network/public -I/export/home/mbj/php-4.0.3pl1/ext/xml/expat/xmltok -I/export/home/mbj/php-4.0.3pl1/ext/xml/expat/xmlparse -I/export/home/mbj/php-4.0.3pl1/TSRM -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g -O2 -c url_scanner_ex.c && touch url_scanner_ex.lo ^Cmake[3]: *** [url_scanner_ex.lo] Error 130 make[2]: *** [all-recursive] Error 130 make[1]: *** [all-recursive] Error 130 make: *** [all-recursive] Error 130 As you can see the only way to go about it is to do ctrl-C, and from what i can see it stalls in the all-recursive shell script since the ps output shows the following: root 10353 10352 0 11:28:17 pts/0 0:00 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/cpp -lang-c -I. -I/export/ho root 10302 354 0 11:28:17 pts/0 0:00 make root 10303 10302 0 11:28:17 pts/0 0:00 /bin/sh -c otarget=`echo all-recursive|sed s/-recursive//`; list='Zend main ex root 10346 10313 0 11:28:17 pts/0 0:00 make all root 10312 10303 0 11:28:17 pts/0 0:00 make all root 10350 10347 0 11:28:17 pts/0 0:00 make all-p root 10313 10312 0 11:28:17 pts/0 0:00 /bin/sh -c otarget=`echo all-recursive|sed s/-recursive//`; list='mysql oci8 p root 10347 10346 0 11:28:17 pts/0 0:00 /bin/sh -c otarget=`echo all-recursive|sed s/-recursive//`; list=''; for i in root 10352 10351 0 11:28:17 pts/0 0:00 gcc -I. -I/export/home/mbj/php-4.0.3pl1/ext/standard -I/export/home/mbj/php-4.0 root 10351 10350 0 11:28:17 pts/0 0:00 /bin/sh -c gcc -I. -I/export/home/mbj/php-4.0.3pl1/ext/standard -I/export/home my configure looks like this: ./configure --prefix=/usr/local --with-mysql=/usr/local/mysql --with-oci8 --with-gnu-ld --enable-track-vars --enable-magic-quotes --enable-force-cgi-redirect --enable-discard-path --enable-libgcc --enable-inline-optimization but i have also tried the following without any difference: ./configure --prefix=/usr/local --with-mysql=/usr/local/mysql --with-oci8 --enable-track-vars --enable-magic-quotes --enable-force-cgi-redirect --enable-discard-path when i tried the one above i didn't have binutils installed, which i have now, and i only installed it to see wether or not it would make a difference to use gnu ld my compiler is: gcc version 2.95.2 19991024 (release) make is: GNU Make version 3.78.1, by Richard Stallman and Roland McGrath. and so on... i really do have everything up to date..newest bison/flex, you name it. ok so here is the real clue, and where i am clueless: it all worked fine before i installed the oracle8i client libraries and net8.... back then i used this configure: ./configure --prefix=/usr/local --with-mysql=/usr/local/mysql --enable-track-vars --enable-magic-quotes --enable-force-cgi-redirect --enable-discard-path and it worked perfectly... but now after the oracle installation, it won't compile even when i specify --without-oci8, is that spooky or what? i have tried to delete the php sourcetree and start over with a freshly untar'ed one, but that makes no diff (i did make distclean before every retry, but i thought maybe make distclean forgot something) but alas, evereything i did was to no avail :( if there should be any doubt, it is php 4.03pl1 i'm using/trying to use... please help me.... i'm completely lost and i have a nasty deadline :( and please respond to my mail adress, since i'm not on the list /Martin Jespersen -- Tlf : +45 - 32 63 80 47 Mobil: +45 - 29 62 01 35 Email: mbj@kabeltv.com

« previous php.install (#1208) next »