Trouble Compiling 4.3.0 on Solaris 7

From: Date: Wed, 22 Jan 2003 20:00:17 +0000
Subject: Trouble Compiling 4.3.0 on Solaris 7
Groups: php.install 
Request: Send a blank email to php-install+get-9798@lists.php.net to get a copy of this message
I have been having a very hard time compiling PHP 4.3.0 on Solaris 7 with Apache 2.0.44 . First I ran into the 'Output line too long' error, and fixed it by installing and using gnu sed. Using gcc 3.0.4 I get the following error: >gcc: sapi/cli/php_cli.o: No such file or directory >gcc: sapi/cli/getopt.o: No such file or directory >*** Error code 1 >make: Fatal error: Command failed for target `sapi/cli/php' I have tried the --disable-cli option, and get the same error. Using Sun's pro compiler, I get the following error: >ild: (bad file) the file ext/ctype/ctype.o is not in a known format >*** Error code 1 >make: Fatal error: Command failed for target `sapi/cli/php' adding the -xildoff compiler flag I get the following error: >ld: elf error: file ext/ctype/ctype.o: unknown type, unable to process >using elf(3E) libraries >ld: elf error: file ext/mysql/php_mysql.o: unknown type, unable to >process >using elf(3E) libraries >. >. 100 or so more.... >. >. >ld: elf error: file Zend/zend_execute.o: unknown type, unable to process >using elf(3E) libraries >ld: fatal: file sapi/cli/php_cli.o: cannot open file: No such file or >directory >ld: fatal: file sapi/cli/getopt.o: cannot open file: No such file or >directory >ld: fatal: File processing errors. No output written to sapi/cli/php >*** Error code 1 >make: Fatal error: Command failed for target `sapi/cli/php' What is going on? I had no problems installing php 4.2.3 with Apache 2.0.39 Any help is Greatly appreciated!! Thanks! Andy

« previous php.install (#9798) next »