PHP 4.0 Bug #8838: Compilation gives error after successfull configure with gw, t1
| From: | m dot heydeman at nhl dot nl | Date: | Mon, 22 Jan 2001 13:47:59 +0000 |
| Subject: | PHP 4.0 Bug #8838: Compilation gives error after successfull configure with gw, t1 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44708@lists.php.net to get a copy of this message | ||
From: m.heydeman@nhl.nl
Operating system: Linux version 2.2.17 (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2
release))
PHP version: 4.0.4pl1
PHP Bug Type: *Install and Config
Bug description: Compilation gives error after successfull configure with gw, t1
With programs and versions :
T1-1.0.1/
apache_1.3.14/
gd-1.8.3/
jpeg-6b/
libpng-1.0.8/
mod_ssl-2.7.1-1.3.14/
openssl-0.9.6/
php-4.0.3pl1/
xpm-3.4k/
we ran configure succesfull parameters:
--with-with-mysql --with-xml --with-apche=../apache_1.3.14/ --enable-track-vars --with-gd
--with-t1lib=../T1-1.0.1 --with-jpeg-dir --with-imap --with-xpm-dir=../xpm-3.4k
we got this error message after make ran:
make[1]: Entering directory `/usr/src/httpd/php-4.0.3pl1'
gcc -I. -I/usr/src/httpd/php-4.0.3pl1/ -I/usr/src/httpd/php-4.0.3pl1
-I/usr/src/httpd/php-4.0.3pl1/main -I/usr/src/httpd/php-4.0.3pl1/Zend -I/usr/src/httpd/php-4.0.3pl1
-I/usr/local/include -I/usr/src/httpd/php-4.0.3pl1/ext/mysql/libmysql
-I/usr/src/httpd/php-4.0.3pl1/ext/xml/expat/xmltok
-I/usr/src/httpd/php-4.0.3pl1/ext/xml/expat/xmlparse -I/usr/src/httpd/php-4.0.3pl1/TSRM
-DXML_BYTE_ORDER=12 -g -O2 -c stub.c && touch stub.lo
/bin/sh /usr/src/httpd/php-4.0.3pl1/libtool --silent --mode=link gcc -I.
-I/usr/src/httpd/php-4.0.3pl1/ -I/usr/src/httpd/php-4.0.3pl1 -I/usr/src/httpd/php-4.0.3pl1/main
-I/usr/src/httpd/php-4.0.3pl1/Zend -I/usr/src/httpd/php-4.0.3pl1 -I/usr/local/include
-I/usr/src/httpd/php-4.0.3pl1/ext/mysql/libmysql -I/usr/src/httpd/php-4.0.3pl1/ext/xml/expat/xmltok
-I/usr/src/httpd/php-4.0.3pl1/ext/xml/expat/xmlparse -I/usr/src/httpd/php-4.0.3pl1/TSRM
-DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath /usr/src/httpd/php-4.0.3pl1/libs -L/usr/local/lib
-L/usr/src/httpd/xpm-3.4k/lib -R /usr/local/lib -R /usr/src/httpd/xpm-3.4k/lib stub.lo
Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la regex/libregex.la ext/gd/libgd.la
ext/imap/libimap.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la
ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lc-client
-ldl -lX11 -lXpm -ljpeg -lz -lpng -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv -L/usr/local/lib
-ljpeg -L../xpm-3.4k/lib -lXpm -lX11
/bin/sh /usr/src/httpd/php-4.0.3pl1/libtool --silent --mode=link gcc -I.
-I/usr/src/httpd/php-4.0.3pl1/ -I/usr/src/httpd/php-4.0.3pl1 -I/usr/src/httpd/php-4.0.3pl1/main
-I/usr/src/httpd/php-4.0.3pl1/Zend -I/usr/src/httpd/php-4.0.3pl1 -I/usr/local/include
-I/usr/src/httpd/php-4.0.3pl1/ext/mysql/libmysql -I/usr/src/httpd/php-4.0.3pl1/ext/xml/expat/xmltok
-I/usr/src/httpd/php-4.0.3pl1/ext/xml/expat/xmlparse -I/usr/src/httpd/php-4.0.3pl1/TSRM
-DXML_BYTE_ORDER=12 -g -O2 -o php -export-dynamic stub.lo libphp4.la
/usr/i386-slackware-linux/bin/ld: cannot open -lX11: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/usr/src/httpd/php-4.0.3pl1'
make: *** [all-recursive] Error 1
--
Edit Bug report at: http://bugs.php.net/?id=8838&edit=1