![]() |
|
Compiling php with gettext - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Compiling php with gettext (/thread-8103.html) |
Compiling php with gettext - Celcius - 2011-01-14 I am trying to install Zenphoto for the first time on my linux openSUSE box. In install.php, I am getting this error [code] PHP gettext() support [is not present] Warning! Localization of Zenphoto currently requires native PHP gettext() support [/code] I first used YAST to install gettext with [code] yast -t gettext [/code] it seems that installed some weird GPL version and not the GNU version PHP was looking for, so I downloaded and built the latest GNU gettext and then tried to configure it with PHP and every time I reconfigure PHP, it doesn't seem to find it. The configure statement I use is [code] --with-gettext=/usr/local/shared/gettext [/code] but when I configure php with and grep for gettext I get [code] checking for GNU gettext support... no [/code] I am using PHP 5.2.9, any ideas on how to get PHP compiled with gettext? PHP reference: http://www.php.net/manual/en/gettext.installation.php Compiling php with gettext - sbillard - 2011-01-15 Don't know about openSUSE, but for WAMP there is a PHP control panel that lets you check off modules to include. gettext() is normally not checked, but checking does solve the problem. Compiling php with gettext - Celcius - 2011-01-15 Yeah, with openSUSE (linux) there are no tic boxes, I only have a CLI available to me and thus PHP must be compiled with GNU gettext Compiling php with gettext - Celcius - 2011-01-15 Straight from my ./configure ` checking for the location of libjpeg... yes checking for jpeg_read_header in -ljpeg... (cached) yes ` Compiling php with gettext - acrylian - 2011-01-15 Sorry, at least I can't help. I never compiled anything on a server since my host does that naturally and my local server setup uses MAMP that is also preconfigured. |