ID: 35409
User updated by: sales at vivizi dot com
Reported By: sales at vivizi dot com
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Linux (RH 7.x)
PHP Version: 5.1.0
New Comment:
OK,
the problem here was the line:
--with-libdir=/usr/lib
(/usr also did not work).
I removed it and that seemed to work.
Then I ran into:
configure: error: --enable-versioning cannot be used with shared
modules
Removed that, then it worked.
Then, near the end, it gave me:
e -lncurses -laspell -lpspell -lpanel -lncurses -lmysqlclient -lm
-lcrypt -lpam -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lz -lssl
-lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2
-lz -lm -lcrypt -lxml2 -lz -lm -lcrypt -o sapi/cli/php
sapi/cli/.libs/php_cli_readline.o: In function `cli_code_completion':
sapi/cli/.libs/php_cli_readline.o(.text+0xab2): undefined reference to
`rl_completion_matches'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
So I removed --with-readline, and it worked...
However, these options worked just fine on 5.0.5, same box, _right now_
(read previous posts)
Previous Comments:
------------------------------------------------------------------------
[2005-11-28 00:41:07] [EMAIL PROTECTED]
Now just add those configure other options one by one..
------------------------------------------------------------------------
[2005-11-28 00:08:01] sales at vivizi dot com
That seems to work!
"Thank you for using PHP." (= success!)
------------------------------------------------------------------------
[2005-11-27 23:47:26] [EMAIL PROTECTED]
Try this:
# rm config.cache
# ./configure --disable-all --with-openssl
------------------------------------------------------------------------
[2005-11-27 20:20:25] sales at vivizi dot com
I already tried this. With openSSL it complained about evp.h
I reinstall openSSL completely (even upgraded too, also did not work),
then evp.h error disappeared.
Then I got what you get now (Can not find openSSL files, etc)...
Even when I specify all possible paths!
Same with libjpeg/png/gd! (--with-jpeg-dir=/usr, etc)
------------------------------------------------------------------------
[2005-11-27 20:17:19] [EMAIL PROTECTED]
Well, I don't see any changes that can cause it, except for the 64bit
support that was added in 5.1.
And no, I can't reproduce it.
So try to see where ./configure seeks for those files and what makes it
to fail.
------------------------------------------------------------------------
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/35409
--
Edit this bug report at http://bugs.php.net/?id=35409&edit=1