image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old June 28th, 2002, 12:48 PM
Registered User
 
Join Date: Jun 2002
Location: Baltimore
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
spud is on a distinguished road
Unhappy PHP with gettext support

I was pleased to find a gettext package here, and happily installed it under OS X 10.1.5, hoping to use it for developing a PHP-based site with localization.

The gettext package installs fine, but PHP won't compile with the "--with-gettext=/usr/local" option. It finds gettext OK, but chokes looking for the related "bindtextdomain". I get

PHP Code:
checking for bindtextdomain in -lintl... no
checking 
for bindtextdomain in -lc... no
configure
errorUnable to find required gettext library 
...though libintl.h is properly(?) located in /usr/local/include/.

Any ideas? Frankly, I'm lost when trying to interpret stuff like

PHP Code:
AC_CHECK_LIB(intlbindtextdomain, [
        
GETTEXT_LIBS=intl
        GETTEXT_CHECK_IN_LIB
=intl
        
],
        
AC_CHECK_LIB(cbindtextdomain, [
                
GETTEXT_LIBS=
                
GETTEXT_CHECK_IN_LIB=c
        
],[
                
AC_MSG_ERROR(Unable to find required gettext library)
        ])
  ) 
in the PHP source code, so I don't even know how to begin troubleshooting this...

HELP?!?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enabling PHP in 10.2 Client sixthring Mac OS X System & Mac Software 2 October 28th, 2002 01:48 PM
.Mac home pages support PHP? twister Apple News, Rumors & Discussion 2 July 24th, 2002 06:15 PM
php with imap support ? dkearford Mac OS X System & Mac Software 0 November 25th, 2001 08:08 AM
10.1 killed PHP GD support influx Mac OS X System & Mac Software 1 October 3rd, 2001 05:23 PM


All times are GMT -5. The time now is 03:27 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.