print("hello world!");
when i'm triing to "make" php (4.2.3 patched by the patch on boutell to
accept the gdlib 2.0.8), php says me :
In file included from php_odbc.c:37:
php_odbc.h:120:17: sql.h: No such file or directory
php_odbc.h:121:20: sqlext.h: No such file or directory
make[3]: *** [php_odbc.slo] Error 1
make[3]: Leaving directory `/root/php-4.2.3/ext/odbc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.2.3/ext/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.2.3/ext'
make: *** [all-recursive] Error 1

what happened ?
i've already a distrib installed via a rpm by my hoster (rackshack) but
without a gd>2 which i will uninstall when i'll have installed this (did i
must uninstall the other first ?)
(i've the same problem when trying to install php-4.3-0RC1)
thanks to help me (i just need gdlib 2 or > to use imagecreatetruecolor())
(i'm a french linux newbie, so sorry for my bad english)
thanks again


my compiling options (red hat 7.2) :
./configure
i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbind
ir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/includ
e --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --shareds
tatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --prefix=
/usr --with-config-file-path=/etc --enable-force-cgi-redirect --disable-debu
g --enable-pic --disable-rpath --enable-inline-optimization --with-bz2 --wit
h-db3 --with-curl --with-dom=/usr --with-exec-dir=/usr/bin --with-freetype-d
ir=/usr --with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --wi
th-gdbm --with-gettext=shared --with-ncurses --with-gmp --with-iconv --with-
jpeg-dir=/usr --with-openssl --with-pear --with-png --with-pspell --with-reg
ex=system --with-expat-dir=/usr --with-zlib --with-layout=GNU --enable-bcmat
h --enable-debugger --enable-exif --enable-ftp=shared --enable-magic-quotes
--enable-safe-mode --enable-sockets --enable-sysvsem=shared --enable-sysvshm
=shared --enable-discard-path --enable-track-vars --enable-trans-sid --enabl
e-yp --enable-wddx --without-oci8 --with-kerberos=/usr/kerberos --with-ldap=
shared --with-mysql=shared,/usr --with-pgsql=shared --with-unixODBC=shared -
-enable-memory-limit --enable-bcmath --enable-shmop --enable-versioning --en
able-calendar --enable-dbx --enable-dio --enable-mcal --enable-mbstring --en
able-mbstr-enc-trans --disable-experimental-zts --with-apxs=/usr/sbin/apxs


Vincent Courcelle,
http://www.france-jeunes.net et http://www.tubededentifrice.com
 

Reply via email to