ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-Dev
php-Dev
[PHP-DEV] Bug #14394: Problem with line 1457 "archive_cmds"
by other posts by this author
Dec 9 2001 4:33PM messages near this date
[PHP-DEV] php.ini missing entries for mssql | Bug #14394 Updated: Problem with line 1457 "archive_cmds"
From:             paul@[...].com
Operating system: Mac OSX 10.1
PHP version:      4.0.6
PHP Bug Type:     Compile Failure
Bug description:  Problem with line 1457 "archive_cmds"

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 bug report at: http://bugs.php.net/?id=14394&edit=1


-- 
PHP Development Mailing List <http://www.php.net/> 
To unsubscribe, e-mail: php-dev-unsubscribe@[...].net
For additional commands, e-mail: php-dev-help@[...].net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
Thread:







Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved