My guess is that it's something to do with the =shared. In your phpinfo()
output, there should be a table about half way down which says

 GetText Support enabled

When I compiled (bsd so it may be different for you) I
used --with-gettext=/usr/local/ the gettext binary is in /usr/local/bin and
the lib is in /usr/local/lib - find out where gettext is on your setup and
adjust the config option accordingly.

HTH

Danny.

----- Original Message -----
From: "Bram van Leur" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 16, 2002 6:38 PM
Subject: [PHP] Gettext and PHP4.2.0?


> Hi everyone,
>
> I've recently (for once in my life!) succesfully compiled PHP4.2.0 using
> the following configure command-line:
> './configure' '--prefix=/usr' '--with-config-file-path=/etc'
> '--disable-debug' '--enable-pic' '--enable-inline-optimization'
> '--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin'
> '--with-regex=system' '--with-gettext=shared' '--with-zlib'
> '--with-gdbm' '--with-layout=GNU' '--enable-debugger'
> '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem=shared'
> '--enable-sysvshm=shared' '--enable-track-vars' '--enable-yp'
> '--enable-ftp' '--enable-wddx' '--without-unixODBC' '--without-oracle'
> '--without-oci8' '--with-mysql=/usr' '--with-gd-dir=/usr' '--with-flex'
> '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-ttf'
>
> As you can see it contains "--with-gettext" so I'd expect a function
> like bindtextdomain() is availible. However, Horde (chora, actually)
> reports:
> Fatal error: Call to undefined function: bindtextdomain() in
> /home/virtual/site4/fst/var/www/html/horde/lib/Lang.php on line 91
>
> What could have gone wrong and how can I fix it?
>
> Thanks in advance
>
> --
> Bram v. Leur
> The Netherlands
>
> Proud to PHP!
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to