HELP! php 4.0.6 apache 1.3.20 mandrake linux 8.1 install

From: Date: Sat, 03 Nov 2001 10:48:21 +0000
Subject: HELP! php 4.0.6 apache 1.3.20 mandrake linux 8.1 install
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-4833@lists.php.net to get a copy of this message
I previously ran php 4.0.6 with Windows ME with no install or config problems. I have now set up a 'proper' server and installed mandrake linux 8.1 Apache was installed and worked first time. I am now trying to get php installed. I am a Linux newbie. I downloaded the source and checked that mod_so is enabled. I then followed these instructions: $ gunzip -c php-4.0.6.tar.gz | tar xf - $ cd php-4.0.6 $ ./configure --with-mysql --with-pgsql --with-apxs The configure fails. Here is the log: =================================================== This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:1359: checking for a BSD compatible install configure:1412: checking whether build environment is sane configure:1469: checking whether make sets ${MAKE} configure:1508: checking for working aclocal configure:1521: checking for working autoconf configure:1534: checking for working automake configure:1547: checking for working autoheader configure:1560: checking for working makeinfo configure:1590: checking whether to enable maintainer-specific portions of Makefiles configure:1619: checking host system type configure:1647: checking for gawk configure:1681: checking for bison configure:1681: checking for byacc configure:1728: checking for gcc configure:1841: checking whether the C compiler (gcc ) works configure:1857: gcc -o conftest conftest.c 1>&5 configure:1883: checking whether the C compiler (gcc ) is a cross-compiler configure:1888: checking whether we are using GNU C configure:1897: gcc -E conftest.c configure:1916: checking whether gcc accepts -g configure:1948: checking how to run the C preprocessor configure:1969: gcc -E conftest.c >/dev/null 2>conftest.out configure:2028: checking for AIX configure:2076: checking for gcc option to accept ANSI C configure:2129: gcc -c -g -O2 conftest.c 1>&5 configure:2156: checking for ranlib configure:2185: checking whether gcc and cc understand -c and -o together configure:2200: gcc -c conftest.c -o conftest.o 1>&5 configure:2201: gcc -c conftest.c -o conftest.o 1>&5 configure:2206: cc -c conftest.c 1>&5 configure:2208: cc -c conftest.c -o conftest.o 1>&5 configure:2209: cc -c conftest.c -o conftest.o 1>&5 configure:2236: checking whether ln -s works configure:2260: checking for flex configure:2294: checking for yywrap in -ll configure:2313: gcc -o conftest -g -O2 conftest.c -ll 1>&5 /usr/bin/ld: cannot find -ll collect2: ld returned 1 exit status configure: failed program was: #line 2302 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char yywrap(); int main() { yywrap() ; return 0; } configure:2337: checking lex output file root ================================================ HELP! What can be wrong with my configuration ? Is it because I am not starting with the .gz file in the right place? I just put it in a download directory and uncompressed it there. Any help would be appreciated. Tony : wordwrap web development : tel. +44 131 555 3535 : fax. +44 8701 353656 : mob. +44 7768 626588

« previous php.install (#4833) next »