php-install Digest 17 Sep 2001 00:49:05 -0000 Issue 461

Topics (messages 4309 through 4312):

compile problem 4.0.6
        4309 by: Holger van Koll

mm compile failure
        4310 by: David Norman

failed compile
        4311 by: Data Driven Design
        4312 by: Jani Taskinen

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


Hello,

I configured php4.0.6 with

./configure --with-mysql=/usr/local/mysql/ --with-apxs=/usr/local/apache/bin/apxs 
--enable-force-cgi-redirect

(output looked fine) and the make fails with

/bin/sh /root/sw/php-4.0.6/libtool --silent --mode=compile gcc  -I. 
-I/root/sw/php-4.0.6/main -I/root/sw/php-4.0.6/main
-I/root/sw/php-4.0.6 -I/usr/local/apache/include -I/root/sw/php-4.0.6/Zend 
-I/usr/local/mysql//include/mysql
-I/root/sw/php-4.0.6/ext/xml/expat/xmltok -I/root/sw/php-4.0.6/ext/xml/expat/xmlparse 
-I/root/sw/php-4.0.6/TSRM 
-DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c 
rfc1867.c
/root/sw/php-4.0.6/libtool: Can't reopen pipe to command substitution (fd 7): No child 
processes
/root/sw/php-4.0.6/libtool: -I.: command not found
make[2]: *** [rfc1867.lo] Error 1
make[2]: Leaving directory `/root/sw/php-4.0.6/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/sw/php-4.0.6/main'
make: *** [all-recursive] Error 1


RedHat Linux 6.2; Apache 1.3.20.

What I found in config.log:

configure:5888: sys/sysexits.h: No such file or directory
configure: failed program was:
#line 5887 "configure"
-----------------
configure:5888: sys/varargs.h: No such file or directory
configure: failed program was:
#line 5887 "configure"
#include "confdefs.h"
--------------------
configure:5888: unix.h: No such file or directory
configure: failed program was:
#line 5887 "configure"
-----------------
configure:6666: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT  
conftest.c -lresolv -lm -ldl -lnsl 
-lresolv 1>&5
/tmp/ccVsZpUo.o: In function `main':
/root/sw/php-4.0.6/configure:6660: undefined reference to `std_syslog'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6643 "configure"
-----------------
configure:6755: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT  
conftest.c -lresolv -lm -ldl -lnsl 
-lresolv 1>&5
/tmp/ccW6nZrM.o: In function `main':
/root/sw/php-4.0.6/configure:6749: undefined reference to `strlcat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6732 "configure"
-----------------
configure:6727: checking for strlcpy
configure:6755: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT  
conftest.c -lresolv -lm -ldl -lnsl 
-lresolv 1>&5
/tmp/cckSpuZn.o: In function `main':
/root/sw/php-4.0.6/configure:6749: undefined reference to `strlcpy'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6732 "configure"
-----------------

Tell me if I should post the whole file.

Any hints?

Regards,

Holger




I downloaded php 4.0.7RC2 and get a compile failure
when it gets to compiling in mm 1.1.3 during "make"
when I use --with-mm. Has anyone else come across
this? Sniper marked my bug report "bogus".

__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/




I've been writing PHP for over 2 years but I'm just starting with Linux, I
have mandrake 8.0 set up with mysql and postgresql. This is the outpout from
a failed ./configure

[root@localhost php-4.0.6]# ./configure \
> --with-mysql \
> --with-pgsql \
> --enable-ftp \
> --with-apache
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i586-pc-linux-gnu
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP
parsers.
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up
[root@localhost php-4.0.6]#

I get a similar failure if I use --with-apxs, is there a tutorial I should
look at someplace?

Data Driven Design
1506 Tuscaloosa Ave
Holly Hill, Florida 32117

http://www.datadrivendesign.com
Phone: (386) 226-8979

Websites That WORK For You






Just install the flex rpm.

--Jani


On Sun, 16 Sep 2001, Data Driven Design wrote:

>I've been writing PHP for over 2 years but I'm just starting with Linux, I
>have mandrake 8.0 set up with mysql and postgresql. This is the outpout from
>a failed ./configure
>
>[root@localhost php-4.0.6]# ./configure \
>> --with-mysql \
>> --with-pgsql \
>> --enable-ftp \
>> --with-apache
>loading cache ./config.cache
>checking for a BSD compatible install... /usr/bin/install -c
>checking whether build environment is sane... yes
>checking whether make sets ${MAKE}... yes
>checking for working aclocal... found
>checking for working autoconf... found
>checking for working automake... found
>checking for working autoheader... found
>checking for working makeinfo... found
>checking whether to enable maintainer-specific portions of Makefiles... no
>checking host system type... i586-pc-linux-gnu
>checking for gawk... gawk
>checking for bison... no
>checking for byacc... no
>configure: warning: You will need bison if you want to regenerate the PHP
>parsers.
>checking for gcc... gcc
>checking whether the C compiler (gcc  ) works... yes
>checking whether the C compiler (gcc  ) is a cross-compiler... no
>checking whether we are using GNU C... yes
>checking whether gcc accepts -g... yes
>checking how to run the C preprocessor... gcc -E
>checking for AIX... no
>checking for gcc option to accept ANSI C... none needed
>checking for ranlib... ranlib
>checking whether gcc and cc understand -c and -o together... yes
>checking whether ln -s works... yes
>checking for flex... lex
>checking for yywrap in -ll... no
>checking lex output file root... ./configure: lex: command not found
>configure: error: cannot find output from lex; giving up
>[root@localhost php-4.0.6]#
>
>I get a similar failure if I use --with-apxs, is there a tutorial I should
>look at someplace?
>
>Data Driven Design
>1506 Tuscaloosa Ave
>Holly Hill, Florida 32117
>
>http://www.datadrivendesign.com
>Phone: (386) 226-8979
>
>Websites That WORK For You
>
>
>



Reply via email to