AW: [PHP-INST] Re: PHP-4.0.6 compilation error
| From: | Stefan Siefert | Date: | Mon, 22 Oct 2001 14:02:20 +0000 |
| Subject: | AW: [PHP-INST] Re: PHP-4.0.6 compilation error | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4696@lists.php.net to get a copy of this message | ||
Hi,
you could try the following things: make a configure with the --without-gd
switch. Also make sure, that you deleted before the config.cache file (think
there could be a bug with overwriting it).
Hope this helps!
Stefan Siefert
-----Ursprüngliche Nachricht-----
Von: Paul [mailto:paul@thresholdmedia.com]
Gesendet: Montag, 22. Oktober 2001 15:56
An: php-install@lists.php.net
Betreff: [PHP-INST] Re: PHP-4.0.6 compilation error
somebody, anybody, please help :(
"Paul" <paul@thresholdmedia.com> wrote in message
news:20011019185852.44346.qmail@pb1.pair.com...
> Hi all,
>
> I'm trying to build php.4.0.6 from source and the first I get an error
while
> using the --with-gd switch so I took that out and it stopped complaining
> after I reconfigured. Then I did make and I get this error:
>
> /usr/bin/ld: cannot find -lgd
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make[1]: Leaving directory `/home/tuxpow3r/php-4.0.6'
> make: *** [all-recursive] Error 1
>
> My debug.log file is pasted below, please anyone have a look and hopefully
> you can help me. Thanks in advance.
>
> CONFIGURE: './configure' '--with-mysql'
> '--with-apxs=/usr/sbin/apxs'
'--en
> able-bcmath' '--enable-trans-sid' '--with-config-file-path=/etc'
> '--enable-magic-quotes'
> '--enable-track-vars' '--enable-ftp' '--enable-calendar'
> '--prefix=/usr'
> '--with-exec-d
> ir=/usr/bin'
> CC: gcc
> CFLAGS: -g -O2
> CPPFLAGS: -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DSUPPORT_UTF8
> CXX:
> CXXFLAGS:
>
INCLUDES: -I/var/www/include -I$(top_builddir)/Zend -I/home/tuxpow3r/php
> -4.0.6/ext/m
> ysql/libmysql
> LDFLAGS:
> LIBS: -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv
> DLIBS:
> SAPI: apache
> PHP_RPATHS:
> uname -a: Linux thresholdev 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001
> i586 unknown
>
> gcc -o
>
conftest -g -O2 -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DSUPPORT_UTF8
> con
> ftest.c -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv 1>&5
> /usr/bin/ld: cannot find -lgd
> collect2: ld returned 1 exit status
>
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
For additional commands, e-mail: php-install-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net