I'm having a terrible time trying to update PHP on my server. First I tried
to update it to 4.0.6, then I tried 4.1.2. Neither worked. I'm new to this
so it's probably my ignorance of something that's causing the errors I'm
getting.

My server is a Cobalt RaQ4i with Red Hat Linux and Apache - it came with PHP
4.0.3 installed, and MySQL 32.23.10 was installed by my web host (it's a
dedicated server).

When I try to configure PHP, I get the error "configure: error: unable to
find required gettext library". Then after I remove "--with-gettext" from
the configure command, I get the error "error: cannot find header files
under /usr/sbin/mysqld". Then after I remove "--with-mysql", I get this
message "Something is likely to be messed up here, because the configure
script was not able to detect a simple feature on your platform. This is
often caused by incorrect configuration parameters".

Here is the debug.log:

CONFIGURE:   './configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs'
'--with-gd' '--enable-safe-mode' '--with-config-file-path=/etc/httpd'
'--with-exec-dir=/usr/bin' '--with-zlib' '--enable-magic-quotes'
'--with-regex=system' '--with-ttf=/usr/lib/libttf.so' '--enable-track-vars'
'--enable-xml' '--disable-debug' '--with-db' '--with-interbase=shared'
'--with-pgsql=shared' '--with-ldap' '--with-imap' '--with-imap-ssl'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -DLINUX=22 -DMOD_SSL=208104 -DMOD_PERL -DUSE_PERL_SSI -Dbool=ch
ar -DHAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED
CXX:
CXXFLAGS:
INCLUDES:    -I/usr/include/apache  -I$(top_builddir)/Zend  -I/usr/include/f
reetype -I/usr/include/imap -I/usr/interbase/include -I/usr/local/src/php-4.
1.2/ext/mysql/libmysql
LDFLAGS:
LIBS:       -lldap -llber -lcrypt -lgd -lttf -lz -lcrypt -lresolv -lm -ldl -
lnsl  -lresolv -lcrypt
DLIBS:      -lcrypto -lssl -lc-client
SAPI:       apache
PHP_RPATHS:
uname -a:   Linux admin.host.lshd.com 2.2.16C28_III #1 Mon Jul 30 22:07:58
PDT 2001 i586 unknown

gcc -o
conftest -g -O2  -DLINUX=22 -DMOD_SSL=208104 -DMOD_PERL -DUSE_PERL_SSI -Dboo
l=char -DHAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED

conftest.c -lldap -llber -lcrypt -lgd -lttf -lz -lcrypt -lresolv -lm -ldl -l
nsl  -lresolv -lcrypt 1>&5
/usr/bin/ld: cannot find -lgd
collect2: ld returned 1 exit status


I'm very frustrated. Can someone please help? Thanks!

 --Bronwen Hodgkinson



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

Reply via email to