Re: [PHP4BETA] compile --with-xml problems
| From: | Cary Collett | Date: | Mon, 20 Mar 2000 20:59:18 +0000 |
| Subject: | Re: [PHP4BETA] compile --with-xml problems | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12445@lists.php.net to get a copy of this message | ||
FWIW, I just compiled this (statically) on a Solaris 2.7 box
and it went off fine and is running now. Are you using GNU make?
Cary
Thus spake Peter Kocks (peter.kocks@baygate.com):
>
> I'll confirm this (on php4-b4pl1)
>
> If you compile php with the
>
> --with-apache=../apache
>
> option you will run into trouble. In my case Solaris 2.7, I
> see the same problem as you and some others.
>
> A work around, is to use mod_so support.
>
> First configure and build apache with mod_so support, build
> apache (this will in turn build expat-lite and the missing
> files that are causing your make to die), the build
> php --with-apxs=/usr/local/apache/bin/apxs, then modify
> httpd.conf to load modphp.so
>
>
> --pk
>
> > -----Original Message-----
> > From: Andrew Hill [mailto:ahill@openlinksw.com]
> > Sent: Monday, March 20, 2000 12:26 PM
> > To: Php4beta
> > Subject: [PHP4BETA] compile --with-xml problems
> >
> >
> > Hi folks,
> >
> > Not sure what I am missing here.
> >
> > I am trying to compile php4b03 with the following:
> > ./configure --with-openlink=/dbs/openlink/v32
> > --with-iodbc=usr/local/lib --w
> > ith-mysql --with-xml=../expat
> > --with-apache=../apache_1.3.6 --enable-track-v
> > ars
> >
> > This works fine, although (checking for XML
> > support... yes (static)) shows,
> > unfortunatley it then chokes on the make.
> >
> > The errors at the end concern me - can anyone
> > give me any pointers or point
> > me at some docs?
> >
> > Thanks,
> > Andrew
> >
> >
> > #make
> >
> > make all-recursive
> > make[1]: Entering directory `/usr/local/src/php-4.0b3'
> > Making all in libzend
> > make[2]: Entering directory
> > `/usr/local/src/php-4.0b3/libzend'
> > make[2]: Leaving directory
> > `/usr/local/src/php-4.0b3/libzend'
> > Making all in ext
> > make[2]: Entering directory `/usr/local/src/php-4.0b3/ext'
> > Making all in apache
> > make[3]: Entering directory
> > `/usr/local/src/php-4.0b3/ext/apache'
> > make[3]: Nothing to be done for `all'.
> > make[3]: Leaving directory
> > `/usr/local/src/php-4.0b3/ext/apache'
> > Making all in db
> > make[3]: Entering directory
> > `/usr/local/src/php-4.0b3/ext/db'
> > make[3]: Nothing to be done for `all'.
> > make[3]: Leaving directory
> > `/usr/local/src/php-4.0b3/ext/db'
> > Making all in gd
> > make[3]: Entering directory
> > `/usr/local/src/php-4.0b3/ext/gd'
> > make[3]: Nothing to be done for `all'.
> > make[3]: Leaving directory
> > `/usr/local/src/php-4.0b3/ext/gd'
> > Making all in mysql
> > make[3]: Leaving directory
> > `/usr/local/src/php-4.0b3/ext/mysql'
> > Making all in odbc
> > make[3]: Entering directory
> > `/usr/local/src/php-4.0b3/ext/odbc'
> > make[3]: Nothing to be done for `all'.
> > make[3]: Leaving directory
> > `/usr/local/src/php-4.0b3/ext/odbc'
> > Making all in pcre
> > make[3]: Entering directory
> > `/usr/local/src/php-4.0b3/ext/pcre'
> > Making all in pcrelib
> > make[4]: Entering directory
> > `/usr/local/src/php-4.0b3/ext/pcre/pcrelib'
> > make[4]: Nothing to be done for `all'.
> > make[4]: Leaving directory
> > `/usr/local/src/php-4.0b3/ext/pcre/pcrelib'
> > make[4]: Entering directory
> > `/usr/local/src/php-4.0b3/ext/pcre'
> > make[4]: Nothing to be done for `all-am'.
> > make[4]: Leaving directory
> > `/usr/local/src/php-4.0b3/ext/pcre'
> > make[3]: Leaving directory
> > `/usr/local/src/php-4.0b3/ext/pcre'
> > Making all in session
> > make[3]: Entering directory
> > `/usr/local/src/php-4.0b3/ext/session'
> > make[3]: Nothing to be done for `all'.
> > make[3]: Leaving directory
> > `/usr/local/src/php-4.0b3/ext/session'
> > Making all in standard
> > make[3]: Entering directory
> > `/usr/local/src/php-4.0b3/ext/standard'
> > make[3]: Nothing to be done for `all'.
> > make[3]: Leaving directory
> > `/usr/local/src/php-4.0b3/ext/standard'
> > Making all in xml
> > make[3]: Entering directory
> > `/usr/local/src/php-4.0b3/ext/xml'
> > /bin/sh ../../libtool --silent --mode=compile
> > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I
> > ../.. -I../../libzend
> > -I/usr/local/src/apache_1.3.6/src/include -I/usr/local
> > /src/apache_1.3.6/src/os
> > /unix -I/usr/include/mysql
> > -Iusr/local/lib/include -I/usr/local/src/expa
> > t/include -I../.. -I../
> > ../libzend -g -O2 -g -O2 -c -o xml.lo xml.c
> > In file included from xml.c:27:
> > php3_xml.h:37: xmltok.h: No such file or directory
> > php3_xml.h:38: xmlparse.h: No such file or directory
> > make[3]: *** [xml.lo] Error 1
> > make[3]: Leaving directory
> > `/usr/local/src/php-4.0b3/ext/xml'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/usr/local/src/php-4.0b3/ext'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/local/src/php-4.0b3'
> > make: *** [all-recursive-am] Error 2
> > [root@oplredhat2 php-4.0b3]#
> >
> >
> >
> >
> >
> > --
> > PHP 4.0 Beta Mailing List
> > <http://www.php.net/version4/>
> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> > For additional commands, e-mail:
> > php4beta-help@lists.php.net
> > To contact the list administrators, e-mail:
> > php4beta-admin@lists.php.net
> >
> >
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
--
Cary Collett cary@ratatosk.org
http://ratatosk.org/~cary
"To me boxing is like ballet, except that there's no music, no choreography,
and the dancers hit eachother." -- Jack Handy