dreaded php 4.0 compile problem


Subject: dreaded php 4.0 compile problem
john.newsom@bsd405.com
Date: Thu Aug 24 2000 - 23:18:42 MDT


I am trying to upgrade to php 4. (Lombard PB, plenty of RAM and HD space, using
Yaboot 0.5 I completelly reinstalled YDL CS 1.2. The fourth time the whole
process is beginning to make sense! Anyway, downloaded src for the usual
suspects, apache, mysql, php. Removed the apache RPM that was installed during
setup. (I did get a warning about mod-perl dependencies)

Then went through the list of steps that was posted in the June mailing list by
Darron Froese.
Enviroment Apache 1.3.12, MySQL 3.22.32 - all compiled and run nicely: Confiure
options for php --with-mysql=/usr/local
              --with-apxs=/usr/local/apache/bin/apxs.
Configure scripts returns no errors.

During the Make run, I get the following:

..snip

-I/home/root/php-4.0.1/ext/xml/expat/xmlparse
               -DXML_BYTE_ORDER=21 -g -O2 -c main.c && touch main.lo
              main.c: In function `php_error_cb`:
              main.c:370: incompatible types in assignment
              main.c:435: incompatible types in assignment
              make[2]: *** [main.lo] Error 1
              make[2]: Leaving directory `/home/root/php-4.0.1/main`
              make[1]: *** [all-recursive] Error 1
              make[1]: Leaving directory `/home/root/php-4.0.1/main`
              make: *** [all-recursive] Error 1
              [root@imb php-4.0.1]#

Interestingly, the exact same problem was reported in a PHP mailing list, and
the poster was using linux-ppc. I searched the YDL archives, but found no
pointers.

Any suggestions?

John Newsom



This archive was generated by hypermail 2a24 : Thu Aug 24 2000 - 23:30:55 MDT