Re: [PHP] Re: PHP 4 on OSX 10.1.2

2002-01-19 Thread Andrew White

On Saturday, January 19, 2002, at 03:58  am, Ben Richardson wrote:

 this should give me Friday in Danish is Fredag but no matter
 what I set the languagecode to it always returns Friday

 Why?

Because locale support in libc on Mac OS X is broken. There isn't even a 
/usr/share/locale/da for starters and the locales that are there just have 
LC_MESSAGES, nothing else.

I guess not much attention has been paid to this bug since Mac OS X has 
its own method of localization and multi-lingual support which goes beyond 
what's available with setlocale.

Somebody did port libxpg4 from FreeBSD3.x but I'm not sure how you go 
about getting php to use that instead of the built in libc. See the 
following message for more details:

http://www.darwinfo.org/devlist.php3?number=9143

Andrew


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP 4.1.0 Compiling on OS X

2001-12-13 Thread Andrew White

On Thursday, December 13, 2001, at 07:36  am, Weston Houghton wrote:

So I'm experimenting trying to get PHP 4.1 running under MacOS 10.1.1,
running the following for configure:

I'm having problems here as well though not the same ones. I think the 
major problem is that PHP 4.1 has switched to GNU libtool 1.4 which doesn'
t know anything about Darwin (Mac OS X). Unfortunately upgrading to 
libtool 1.4.2 doesn't seem to cure all the problems.

There's also the issue of Mac OS X 10.1's two-level namespace. The libtool 
1.4.2 switches it off using -flat_namespace but when doing that I get lots 
of multiple definition errors during the link process. Apple's CVS server 
has a version of 4.0.6 which compiles cleanly on 10.1 and in that they've 
left the two-level namespace on and passed the executable to link against 
using '-bundle_loader /usr/bin/httpd'. If I try the same trick with 4.1 
then I get '-b' option not supported error from /usr/bin/libtool.

That last error is worrying, since Mac OS X has its own libtool which is 
not compatible with GNU libtool, which is installed as glibtool. This 
seems to indicate that the build process is somehow horribly broken under 
10.1

What you might be able to do is compile a DSO on 10.0.4 and then copy it 
to your 10.1 machine.

Andrew


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]