|
|
 |
php-Dev
Bug #14394 Updated: Problem with line 1457 "archive_cmds"
by other posts by this author
Mar 10 2002 5:53PM messages near this date
Bug #14394 Updated: Problem with line 1457 "archive_cmds"
|
Bug #14394 Updated: Problem with line 1457 "archive_cmds"
ID: 14394
Updated by: markonen@[...].net
-Summary: Problem with line 1457 "archive_cmds"
Reported By: paul@[...].com
-Status: Analyzed
+Status: Duplicate
Bug Type: Compile Failure
Operating System: Mac OSX 10.1
PHP Version: 4.1.0
Assigned To: kalowsky
New Comment:
This bug has been superceded by bugs 15986 and 15987.
Please follow those bugs for information regarding the
forthcoming fixes for the issue you've reported.
Previous Comments:
------------------------------------------------------------------------
[2002-03-03 02:12:57] kalowsky@[...].net
assigning to myself
------------------------------------------------------------------------
[2002-03-03 00:01:51] kalowsky@[...].net
this is actually a known bug. It's more a bug with libtool and not
really a bug of PHP. This is supposedly fixed in libtool 1.4.2 but it
doesn't seem to be really (at least not for me locally).
There is a libtool 1.3.5 patch that supposedly fixes this for v1.3
libtools. If you're feeling bold, try applying that patch and seeing
how things go.
------------------------------------------------------------------------
[2001-12-11 22:02:11] paul@[...].com
Problem also exists in 4.1
------------------------------------------------------------------------
[2001-12-09 11:33:47] paul@[...].com
When compiling PHP on MacOSX 10.1 you must update line 1457
of the ltconfig file. Trying to compile the source code
from php.net as is results in this error:
/usr/bin/ld: -undefined error must be used when -
twolevel_namespace is in effect
make[1]: *** [libphp4.la] Error 1
make: *** [all-recursive] Error 1
Original source line# 1457 of ltconfig downloaded from
php.net:
archive_cmds='$CC -bundle -undefined suppress -o $lib
$libobjs $deplibs $linkopts'
What must be used on line 1457 of ltconfig to successfully
compile:
archive_cmds='$CC -force_flat_namespace -bundle -undefined
suppress -o $lib $libobjs $deplibs $linkopts'
It took me a long time to find the answer for this problem.
There is an article on the Apple developer pages that gave
me the change, but they have the wrong line number listed
[maybe the source has been updated]
Article that told me how to fix it:
http://developer.apple.com/internet/macosx/php.html
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14394&edit=1
Thread:
|
|
|
 |
|