Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PHP and gettext
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
stimpy
n00b
n00b


Joined: 18 Apr 2002
Posts: 49
Location: NZ

PostPosted: Wed Jul 03, 2002 12:32 am    Post subject: PHP and gettext Reply with quote

Is it just me, my system, (or the phase of the moon :-)) but is the ebuild script for PHP broken with respect to nls and gettext?

4.2.1-r1 (and the others I've looked at) dosn't seem to work in the manner it was intended. It assumes that gettext is compiled in by default, and only configures the build without-gettext when nls isn't present.

However the php configure then doesn't use gettext by default. Thus it doesn't get compiled in. (My <?phpinfo()?> output confirms no gettext)
If I change the ebuild script thus
Code:
<       use nls && myconf="${myconf} --with-gettext"
---
>       use nls || myconf="${myconf} --without-gettext"


it works.

Am I right? Should the ebuild be changed? Will the world be a better place with nls support in my php build?...
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jul 03, 2002 5:55 am    Post subject: Reply with quote

You're probably right. File a bug report stating the package (dev-lang/php-4.2.1-r1), the problem (USE variable -> configure options borked), and the solution (change from positive to negative).
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum