php-install@lists.php.net
| From: | Rodrigo Gonzalez | Date: | Fri, 26 Jul 2002 03:09:59 +0000 |
| Subject: | php-install@lists.php.net | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7903@lists.php.net to get a copy of this message | ||
im trying to install the php but send me this error:
CONFIGURE: './configure' '--with-apxs=/usr/local/sbin/apxs'
'--with-config-file-path=/usr/local/etc' '--enable-versioning'
'--with-system-regex' '--disable- debug' '--enable-track-vars'
'--with-gd' '--with-gd-dir=/usr/local' '--without-mysql'
'--with-zlib' '--with-mysql=/usr/local' '--prefix=/usr/local'
'i386--freebsd4.5' '- -enable-exif' '--with-jpeg'
'--with-png=/usr/local' '--with-ftp' '--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr/local' '--with-freetype-dir=/usr/local/freetype2'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DHARD_SERVER_LIMIT=1024 -DDOCUMENT_LOCATION="/usr/local/www/data/"
-DDEFAULT_PATH="/bin:/usr/bin:/usr/local/bin" - DACCEPT_FILTER_NAME="httpready"
-DUSE_EXPAT
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/include/apache -I$(top_builddir)/Zend
-I/usr/local/include/freetype2/freetype -I/usr/local/include/mysql
LDFLAGS: -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib/mysql -L/usr/local/lib/mysql
LIBS: -lmysqlclient -lz -lgd -lfreetype -lpng -lz -ljpeg -lz -lcrypt -lm -lcrypt
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/lib /usr/local/lib/mysql
uname -a: FreeBSD laxded018.autson.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT
2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386
gcc -o conftest -g -O2 -DHARD_SERVER_LIMIT=1024
-DDOCUMENT_LOCATION="/usr/local/www/data/" -DDEFAULT_PATH="/bin:/usr/bin:/usr/local/
bin" -DACCEPT_FILTER_NAME="httpready" -DUSE_EXPAT -R/usr/local/lib -L/usr/local/lib
-R/usr/local/lib/mysql -L/usr/local/lib/mysql conftest.c - lmysqlclient -lz -lgd -lfreetype -lpng
-lz -ljpeg -lz -lcrypt -lm -lcrypt 1>&5
/usr/libexec/elf/ld: warning: libX11.so.6, needed by /usr/local/lib/libgd.so, not found (try using
-rpath or -rpath-link)
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XDefaultScreen'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XCreateImage'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XDefaultVisual'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XFreeGC'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XUngrabServer'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XGetImage'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XFreeColors'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XParseColor'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XGrabServer'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XQueryColors'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XAllocColor'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XGetGeometry'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XDefaultColormap'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XDefaultDepth'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XPutImage'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XCreatePixmap'
/usr/X11R6/lib/libXpm.so.4: undefined reference to `XCreateGC'
and when i compile put this error:
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/include/gd_io.h:18: previous declaration of `gdIOCtx'
*** Error code 1
Stop in /usr/home/sites/php-4.1.2/ext/gd.
*** Error code 1
Stop in /usr/home/sites/php-4.1.2/ext/gd.
*** Error code 1
Stop in /usr/home/sites/php-4.1.2/ext.
*** Error code 1
Stop in /usr/home/sites/php-4.1.2.
hope you can help me
thank in advance
Rodrigo Gonzalez
--
Saludos,
Rodrigo Glz.
rodrigo.gonzalez@recursoweb.com
icq 158188671
tel: (442) 260-07-25