Bug #11853 Updated: unknown option -l-l
| From: | sniper@php.net | Date: | Sat, 04 Aug 2001 03:29:43 +0000 |
| Subject: | Bug #11853 Updated: unknown option -l-l | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-62042@lists.php.net to get a copy of this message | ||
ID: 11853
Updated by: sniper
Reported By: php@jammni.de
Old Status: Open
Status: Feedback
Bug Type: Compile Failure
Operating System: Suse Linux 7.0
PHP Version: 4.0.6
New Comment:
Is this still a problem?
If so, get the latest CVS snapshot from here: http://snaps.php.net/ and unpack it. Then do these steps:
# ./configure --with-apxs=/path/to/apxs
# make
Does it work?
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-07-04 17:04:28] php@jammni.de
look in line 2 of the last comment
--with apxs --with-mysql
php 4.0.5 compiled with these options
------------------------------------------------------------------------
[2001-07-04 07:38:02] derick@php.net
Again:
What is your configure line?
Like: ./configure --boo=far ....
Derick
------------------------------------------------------------------------
[2001-07-04 07:34:52] php@jammni.de
make-script compiled all sub-dirs and changes to php-4.0.6-dir. but nothing could be compiled.
(configure was started with --with-apxs --with-mysql, php4.0.5 compiled with these options)
output: /usr/bin/ld: cannot find -l-l
this is documented in debug.log too:
LIBS: -l -l -l -lcrypt -lresolv -lm -ldl -lnsl -lresolv
gcc -o conftest -g -O2 -DEAPI_MM -DLINUX2 -DMOD-SSL=206105 -DUSEHSREGEX -DEAPI -DUSE_EXPAT
-DSUPPORT_UTF8 conftest.c $LIBS
and the error-message from above
I tried to delete -l -l -l in configure.vars.mk, but it did'nt help.
Perhaps you have an idea.
Thanx
------------------------------------------------------------------------
[2001-07-03 05:55:43] derick@php.net
What is your configure line?
Derick
------------------------------------------------------------------------
[2001-07-03 05:53:58] php@jammni.de
make-script compiled all sub-dirs and changes to php-4.0.6. but nothing could be compiled - output:
/usr/bin/ld: cannot find -l-l
this is documented in debug.log too:
LIBS: -l -l -l -lcrypt -lresolv -lm -ldl -lnsl -lresolv
gcc -o conftest -g -O2 -DEAPI_MM -DLINUX2 -DMOD-SSL=206105 -DUSEHSREGEX -DEAPI -DUSE_EXPAT
-DSUPPORT_UTF8 conftest.c $LIBS
and the error-message from above
I tried to delete -l -l -l in configure.vars.mk, but it did'nt help.
Perhaps you have an idea.
Thanx
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11853&edit=1