Edit report at http://bugs.php.net/bug.php?id=49078&edit=1
ID: 49078
Comment by: codebudo at gmail dot com
Reported by: kdprice at baylou dot com
Summary: Make Failed sapi/cli/php Error 1
Status: No Feedback
Type: Bug
Package: Compile Failure
Operating System: CentOS 5
PHP Version: 5.3SVN-2009-07-27 (snap)
Block user comment: N
New Comment:
Same problem with php5.3.3 on OS X 10.6. (Darwin bugs.local 10.4.0
Darwin Kernel
Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010;
root:xnu-1504.7.4~1/RELEASE_I386
i386)
"-lresolv" was already in my EXTRA_LIB, but I still can't compile. This
is my
EXTRA_LIB:
EXTRA_LIBS = -lresolv -lmysqlclient -liconv -liconv -lpng -lz -lcurl -lz
-lm -
lxml2 -lz -licucore -lm -lssl -lcrypto -lz -lcurl -lxml2 -lz -licucore
-lm -
lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore
-lm -lxml2
-lz -licucore -lm -lxml2 -lz -licucore -lm
My configure line:
./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql
--with-gd --
with-zlib --with-mcrypt-dir=/opt/local/include --with-png --with-jpeg
--enable-
exif --with-xml --with-apxs2=/usr/local/apache/bin/apxs --with-curl
--with-
openssl --enable-soap --with-iconv
Previous Comments:
------------------------------------------------------------------------
[2010-08-16 22:57:47] flood at itnews-bg dot com
Actually, I just managed to get it working.
After adding "-lresolv" to the "EXTRA_LIBS" line of "Makefile" it
compiled successfully.
The line that worked for me was:
EXTRA_LIBS = -lresolv -lcrypt -lcrypt -lpq -lrt -lm -ldl -lnsl -lxml2
-lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz
-lm -lxml2 -lz -lm -lcrypt
Hope this helps somebody.
Sorry for the double post.
------------------------------------------------------------------------
[2010-08-16 22:49:28] flood at itnews-bg dot com
Have the same problem.
I'm trying to compile php 5.3.3 on Slackware 12.2 and I can't get it to
work.
This is the line I'm using
./configure --with-apxs2=/usr/local/apache-2.2.15/bin/apxs
--with-pgsql=/usr/local/pgsql/
The problem comes somewhere in "--with-pgsql". If I remove that line it
builds with no problems.
------------------------------------------------------------------------
[2010-07-12 13:27:23] smileyrecords at gmail dot com
same problem php 5.3.3rc2
------------------------------------------------------------------------
[2009-10-30 19:48:31] rofc at rofc dot com dot ar
Same problem here with FC5 on a x86_64 server.
------------------------------------------------------------------------
[2009-10-15 07:31:32] eric-delas at wanadoo dot fr
I got the same problem, on FedoraCore 9 and PHP 5.3.0
------------------------------------------------------------------------
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/bug.php?id=49078
--
Edit this bug report at http://bugs.php.net/bug.php?id=49078&edit=1