Hello,
I am trying to add GD support to my PHP on a FreeBSD 7.5 server. However.. I am getting strange and not very helpful messages... I've looked all over google but still cannot find a solution, so I'm turning to the community for help!
Here's what I get during the configure:
config.logchecking for XpmFreeXpmImage in -lXpm... no
configure: error: Problem with libXpm.(a|so) or libX11.(a|so). Please check config.log for more information.
!! './configure --disable-pdo --enable-bcmath --enable-calendar --enable-ftp --enable-libxml --enable-magic-quotes --enable-mbstring --enable-sockets --prefix=/usr/local --with-apxs2=/usr/local/apache/bin/apxs --with-curl=/opt/curlssl/ --with-gd --with-gettext --with-imap=/opt/php_with_imap_client/ --with-imap-ssl=/usr/local --with-jpeg-dir=/usr/local --with-libxml-dir=/opt/xml2/ --with-mysql=/usr/local --with-mysql-sock=/tmp/mysql.sock --with-png-dir=/usr/local --with-xpm-dir=/usr/local --with-zlib --with-zlib-dir=/usr' failed with exit code '256' !!
!! Restoring original working apache !!
!! Executing '/scripts/initsslhttpd' !!
!! Restarting 'httpd' ... !!
!! 'httpd' restart complete. !!
!! Executing '/scripts/initfpsuexec' !!
!! Executing '/scripts/initsslhttpd' !!
Compiling report...
Sending report (738 bytes)...
!! If you want to create a support ticket with cPanel regarding this please reference 'BuildAP Report Id': '2675077' !!
Anybody has a clue what the hell is going on with this?configure:36469: checking for XpmFreeXpmImage in -lXpm
configure:36488: gcc -o conftest -g -O2 -lstdc++ -R/opt/xml2/lib -L/opt/xml2/lib -R/opt/curlssl/lib -L/opt/curlssl/
lib -R/opt/curlssl//lib -L/opt/curlssl//lib -lX11 conftest.c -lXpm -lpng -lz -ljpeg -lcurl -lz -lm -lxml2 -lz -lico
nv -lm -lcurl -lidn -lssl -lcrypto -lz -lxml2 -lz -liconv -lm -L/usr/local/lib 1>&5
/usr/local/lib/libX11.so: undefined reference to `shmctl@FBSD_1.1'
configure: failed program was:
#line 36477 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char XpmFreeXpmImage();
int main() {
XpmFreeXpmImage()
; return 0; }
Thanks in advance



LinkBack URL
About LinkBacks
Reply With Quote









