[horde] fatal error = not due to missing gettext as described in FAQ 5.1.18

"Markus K. Schäffauer" Markus.K.Schaeffauer at gmx.de
Mon Feb 10 15:05:32 PST 2003


Hi,

when running HORDE 2.1 with a LAMPP-Server, I get the error message 
described in 5.1.18 of the general FAQ:


            5.1.18 "Call to undefined function: _( )" [Horde 2.0]

    Horde 2.0]: This error occurs when PHP is not compiled with gettext
    support. As of version Horde 2.0, PHP needs to be compiled with
    gettext support. Rebuild PHP with the --with-gettext option to
    configure, or if using RPM's install the php-gettext RPM. (_() is a
    synonym for gettext() in PHP.)

But I could verify at ../horde/test.php that there is running a PHP4 
with gettext support. The problem must be another one.

Can anybody give me any hint?
Abavor the messages I get at the text.php.

Thank you!
Markus


  Horde Versions

    * Horde: 2.1
    * IMP: 3.1 (run IMP tests
      <http://192.168.0.2/horde/imp/test.php?PHPSESSID=0c6714b9e228498d42e5b37cffdad012>)
    * Turba: 1.1
    * Kronolith: 1.0
    * Nag: 1.1


  PHP Version

    * View phpinfo() screen
      <http://192.168.0.2/horde/test.php?mode=phpinfo&PHPSESSID=0c6714b9e228498d42e5b37cffdad012>
    * PHP Version: 4.1.0
    * PHP Major Version: 4.1
    * PHP Minor Version: 0
    * PHP Version Classification: release
    * You are running a supported version of PHP.
    * This version of PHP contains a serious security vulnerability in
      its upload code. You should apply the patch or upgrade to 4.1.2 or
      later as soon as possible.


  PHP Module Capabilities

    * FTP Support: Yes
    * Gettext Support: Yes
    * IMAP Support: Yes
    * LDAP Support: Yes
    * MCAL Support: Yes
    * Mcrypt Support: Yes
    * MySQL Support: Yes
    * PostgreSQL Support: Yes
    * XML Support: Yes


  Miscellaneous PHP Settings

    * short_open_tag enabled: Yes
    * magic_quotes_runtime set to Off: Yes
    * file_uploads enabled: Yes


  PHP Sessions

    * Session counter: 1
    * To unregister the session: click here
      <http://192.168.0.2/horde/test.php?mode=unregister&PHPSESSID=0c6714b9e228498d42e5b37cffdad012>


  PEAR

    * PEAR - Yes
    * Recent PEAR - Yes
    * Mail::RFC822 - Yes
    * Log - Yes
    * DB - Yes


Configure Command
 './configure' '--prefix=/usr/share' '--datadir=/usr/share/php' 
'--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' 
'--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' 
'--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype' 
'--enable-dbase' '--enable-discard-path' '--enable-exif' 
'--enable-filepro' '--enable-force-cgi-redirect' '--enable-ftp' 
'--enable-gd-imgstrttf' '--enable-gd-native-ttf' 
'--enable-inline-optimization' '--enable-magic-quotes' 
'--enable-mbstr-enc-trans' '--enable-mbstring' '--enable-memory-limit' 
'--enable-safe-mode' '--enable-shmop' '--enable-sigchild' 
'--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' 
'--enable-trans-sid' '--enable-versioning' '--enable-wddx' '--enable-yp' 
'--with-bz2' '--with-dom=/usr/include/libxml2' '--with-ftp' 
'--with-gdbm' '--with-gettext' '--with-gmp' '--with-imap=yes' 
'--with-iodbc' '--with-jpeg-dir=/usr' '--with-ldap=yes' 
'--with-mcal=/usr' '--with-mcrypt' '--with-mysql=/usr' '--with-ndbm' 
'--with-pgsql=/usr' '--with-png-dir=/usr' '--with-qtdom=/usr/lib/qt2' 
'--with-snmp' '--with-t1lib' '--with-tiff-dir=/usr' '--with-ttf' 
'--with-freetype-dir=yes' '--with-xml' '--with-xpm-dir=/usr/X11R6' 
'--with-zlib=yes' '--with-openssl' '--with-curl' '--with-swf=./dist/' 
'--with-imap-ssl' '--with-gd=yes' '--enable-xslt' '--with-xslt-sablot' 
'--with-mm' '--with-apxs=/usr/sbin/apxs' 'i386-suse-linux'


    gettext

GetText Support enabled





More information about the horde mailing list