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


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to