Hi !

I am trying to install php-4.0.3pl1 with apache.
I failed at step:
./configure --with-mysql
--with-apxs=/PATH TO/www/bin/apxs

I have apache server 1.3.26 installed at /PATH TO/www

Following is the debug.log file contents:

----------------------------------
CONFIGURE:   './configure' '--with-mysql'
'--with-apxs=/PATH TO/www/bin/apxs'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES:    -I/PATH TO/www/include
-I$(top_builddir)/Zend
-I$(top_srcdir)
-I/PATH TO/php-4.0.3pl1/ext/mysql/libmysql
LDFLAGS:
LIBS:       -lpng -lz -lgd -lresolv -lm -ldl -lcrypt
-lnsl  -lresolv
DLIBS:
SAPI:       apache
PHP_RPATHS:
uname -a:   Linux MACHINENAME 2.4.9-31smp #1
SMP Tue
Feb 26 06:55:00 EST 2002 i686 unknown

gcc -o conftest -g -O2   conftest.c -lpng -lz -lgd
-lresolv -lm -ldl -lcrypt -lnsl  -lresolv 1>&5
/usr/bin/ld: cannot find -lpng
collect2: ld returned 1 exit status
----------------------------------


where /PATH TO/ is a shared area where I have r/w
permissions, and MACHINENAME is the qualified host name
from where I am trying to install.

Any help/suggestions would be appreciated.

Thanks

Abhishek


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to