#20229 [Fbk->Bgs]: PHP4 Compile errors with mysql module
| From: | iliaa@php.net | Date: | Tue, 12 Nov 2002 17:04:08 +0000 |
| Subject: | #20229 [Fbk->Bgs]: PHP4 Compile errors with mysql module | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24716@lists.php.net to get a copy of this message | ||
ID: 20229
Updated by: iliaa@php.net
Reported By: idave@idave.it
-Status: Feedback
+Status: Bogus
Bug Type: Compile Failure
Operating System: RedHat Linux 8.0
PHP Version: 4CVS-2002-11-03
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
user reports that the problem was fixed by specifying the correct
location of the X11 librar(y|ies).
Previous Comments:
------------------------------------------------------------------------
[2002-11-12 10:59:51] idave@idave.it
IT WORKED!!!! Yesssss ;-)))
------------------------------------------------------------------------
[2002-11-12 10:38:37] sniper@php.net
You can also try adding '--with-xpm-dir=/usr/X11' to your configure
line. That mysql problem is caused by the fault
in GD stuff..
------------------------------------------------------------------------
[2002-11-12 07:34:58] idave@idave.it
hmmm... I need GD ;-/
------------------------------------------------------------------------
[2002-11-11 18:19:49] sniper@php.net
Try drop the gd stuff out of your configure line and try again. (use
fresh sources!)
------------------------------------------------------------------------
[2002-11-11 16:51:33] idave@idave.it
[root@idave main]# grep -A25 'checking size of long long'
/root/build/php4/config.log
configure:45449: checking size of long long
configure:45613: /usr/local/gcc2/bin/gcc -o conftest -g -O2 -DLINUX=22
-DMOD_SSL=208112 -DUSE_HSREGEX -DEAPI -Wl,-rpath,/usr/local/ssl/lib
-L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib
-Wl,-rpath,/usr/local/gd/lib -L/usr/local/gd/lib
-Wl,-rpath,/usr/local/mcal/lib -L/usr/local/mcal/lib conftest.c -lmhash
-lgmp -lgd -lfreetype -lpng -lz -ljpeg -lz -lgdbm -lcurl -lbz2 -lz
-lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcrypt -lcurl -lz
-lssl -lcrypto -ldl
-lz -lxml2 -lz -lm >&5
/usr/local/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure:45616: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 45597 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
[root@idave main]#
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20229
--
Edit this bug report at http://bugs.php.net/?id=20229&edit=1