Subject: Re: help building package.
To: Jeremy C. Reed <reed@reedmedia.net>
From: FC <qqa-1a89@myamail.com>
List: netbsd-help
Date: 02/24/2005 18:21:00
To compile packages with gnu gettext instead of the default one you can 
put this into your mk.conf file USE_BUILTIN.gettext= no

or just do $> make USE_GNU_GETTEXT=yes

Fred


On Feb 24, 2005, at 5:51 PM, Jeremy C. Reed wrote:

> ***
> This message was sent to your KasMail disposable email address:
> FC qqa-1a89@myamail.com
> ***
>
> On Thu, 24 Feb 2005, FC wrote:
>
>> Can someone help me the get the package php-gettext to work ?
>>
>> By default php-gettext module is liked with /usr/lib/libintl.so.0 The
>> verion of gettext in this library doesn't work because the lookup
>> function is not written yet and just return NULL.
>
> What NetBSD release are you using?
>
> Maybe pkgsrc/devel/php-gettext/Makefile needs to list the specific 
> version
> of gettext it needs?
>
>> So I try to compile php-gettext package with gnu gettext. I have set
>> the environment variable to LD_RUN_PATH, I have added
>> --with-gettext=/usr/pkg, I have also tryed a lot bunch of stuff and 
>> ldd
>> give me always the same answer
>> work/php-5.0.3/ext/gettext/modules/gettext.so:
>> 	-lintl.0 => /usr/lib/libintl.so.0
>>
>> How can I get this nodule to be linked with /usr/pkg/lib/libintl.so.2
>> insted.
>
> Maybe you can set
>   PREFER_PKGSRC+=	gettext
> in your mk.conf as a work-around for now.
>
>  Jeremy C. Reed
>
>  	  	 	 technical support & remote administration
> 	  	 	 http://www.pugetsoundtechnology.com/
>
>