Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » PHP on OS X with gettext pkg

UBBFriend: Email this page to someone!    
Author Topic: PHP on OS X with gettext pkg
a.h.s. boy
Junior Member
Member # 458

posted June 28, 2002 09:36 AM      Profile for a.h.s. boy   Email a.h.s. boy   Send New Private Message      Edit/Delete Post  Reply With Quote 
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

code:
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... no
configure: error: Unable 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

code:
  AC_CHECK_LIB(intl, bindtextdomain, [
GETTEXT_LIBS=intl
GETTEXT_CHECK_IN_LIB=intl
],
AC_CHECK_LIB(c, bindtextdomain, [
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?!?


Posts: 1 | From: Baltimore | Registered: Jun 2002  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2