PHP4 compilation problem
Hello list
I'm trying to compile PHP4.06 on a Potato machine. In fact, I got it
working, but now I want to add imap support.
The configure script works well and gives me no warning. But when I 'make',
I have this error:
make[1]: Entre dans le répertoire `/usr/local/src/php-4.0.6'
/bin/sh /usr/local/src/php-4.0.6/libtool --silent --mode=link gcc -I.
-I/usr/local/src/php-4.0.6/ -I/usr/local/src/php-4.0.6/main
-I/usr/local/src/php-4.0.6 -I/usr/local/apache/include
-I/usr/local/src/php-4.0.6/Zend -I/usr/include/c-client
-I/usr/local/src/php-4.0.6/ext/xml/expat/xmltok
-I/usr/local/src/php-4.0.6/ext/xml/expat/xmlparse
-I/usr/local/src/php-4.0.6/TSRM -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath
/usr/local/src/php-4.0.6/libs -avoid-version -L/usr/local/pgsql/lib -R
/usr/local/pgsql/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la
main/libmain.la regex/libregex.la ext/calendar/libcalendar.la
ext/imap/libimap.la ext/pcre/libpcre.la ext/pgsql/libpgsql.la
ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la
ext/xml/libxml.la TSRM/libtsrm.la -limap -ldl -lpq -lcrypt -lresolv -lm -ldl
-lnsl -lresolv
/usr/bin/ld: cannot find -limap
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Erreur 1
make[1]: Quitte le répertoire `/usr/local/src/php-4.0.6'
make: *** [all-recursive] Erreur 1
Well, I searched a solution to this for hours, and now I'm quite lost !
Any advice or experience will be greatly appreciated...
TIA
Francois
PS Before telling me to apt-get any apache+php package, please note that I'm
limited to a few apache versions only because of the use of Chilisoft ASP !
Reply to: