Click to See Complete Forum and Search --> : fatal error in php build


uwsba
05-18-2003, 09:14 PM
When I build php, I got the follow error:

Output line too long.
Output line too long.
Output line too long.
gcc: main/alloc: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'

Does any one know the solution for that?

Mordecai
05-19-2003, 03:29 AM
What OS are you on? If you're on Solaris, try installing GNU Sed (http://mrtg.planetmirror.com/pub/sun/sunfreeware/sparc/7/sed-4.0-sol7-sparc-local.gz).
I'm not sure what the newest version is, though.

uwsba
05-19-2003, 06:50 PM
I am on Solaris 8. I have installed apache 1.3.27 with enable-module=so. When I try to install php4.3.1 I got this error. Currently I have sed 4.0 installed.

tsinka
05-20-2003, 01:59 PM
Hi,

additionally you might have to install libtool >= 1.4.3. Install it, remove libtool in your php install directory and create a symlink to the newly installed libtool instead.

uwsba
05-28-2003, 02:13 AM
:) Thanks. Make passed with no error