Member
Member
Celcius   2011-01-14, 23:19
#1

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

Member
Member
sbillard   2011-01-15, 01:04
#2

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.

Member
Member
Celcius   2011-01-15, 01:35
#3

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

Member
Member
Celcius   2011-01-15, 01:36
#4

Straight from my ./configure

checking for the location of libjpeg... yes checking for jpeg_read_header in -ljpeg... (cached) yes

Administrator
Administrator
acrylian   2011-01-15, 10:39
#5

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.