[wp-trac] [WordPress Trac] #5356: gettext cannot parse mo files on 64bit systems

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 14 22:37:37 GMT 2007


#5356: gettext cannot parse mo files on 64bit systems
--------------------+-------------------------------------------------------
 Reporter:  nyuwec  |       Owner:  anonymous     
     Type:  defect  |      Status:  new           
 Priority:  normal  |   Milestone:  2.3.2         
Component:  i18n    |     Version:  2.3.1         
 Severity:  normal  |    Keywords:  gettext, 64bit
--------------------+-------------------------------------------------------
 I was trying to use a hungarian localization on WP 2.3.1, but it does
 nothing. After some research I had found that If I overwrite the wp-
 includes/gettext.php and the wp-includes/streams.php with those in the
 latest PHP-gettext package, everything starts to work again.
 Only a minor effect occured in the Dashboard among the news results.
 Probably something that is needed the modified gettext.php version
 included in the WP install pack.

 I think the problem is in connection with ticket #1727, but it seems that
 in revisions [4003] and [4004] the PHP gettext is updated, so currently
 i'm clueless.

 Sadly, I can't provide any description how to reproduce the error. The
 only thing I can describe is the server:
 {{{
 Linux version 2.6.18-gentoo-r6-JiM-2 (root at localhost) (gcc version 4.1.1
 (Gentoo 4.1.1-r1))
 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ stepping 02
 PHP:
 './configure' '--prefix=....' '--host=x86_64-pc-linux-gnu' '--mandir=....'
 '--infodir=....' '--sysconfdir=/etc' '--cache-file=./config.cache'
 '--with-libdir=lib64' '--disable-cli' '--with-apxs2=....' '--with-config-
 file-path=....' '--with-config-file-scan-dir=....' '--without-pear'
 '--disable-bcmath' '--without-bz2' '--disable-calendar' '--with-curl'
 '--without-curlwrappers' '--disable-dbase' '--disable-exif' '--without-
 fbsql' '--without-fdftk' '--disable-filter' '--disable-ftp' '--with-
 gettext' '--without-gmp' '--disable-hash' '--disable-ipv6' '--disable-
 json' '--without-kerberos' '--enable-mbstring' '--with-mcrypt' '--without-
 mhash' '--without-msql' '--without-mssql' '--with-ncurses' '--with-
 openssl' '--with-openssl-dir=/usr' '--disable-pcntl' '--disable-pdo'
 '--with-pgsql' '--disable-posix' '--without-pspell' '--without-recode'
 '--disable-shmop' '--without-snmp' '--enable-soap' '--disable-sockets'
 '--without-sybase' '--without-sybase-ct' '--disable-sysvmsg' '--disable-
 sysvsem' '--disable-sysvshm' '--without-tidy' '--disable-tokenizer'
 '--disable-wddx' '--disable-xmlreader' '--disable-xmlwriter' '--with-
 xmlrpc' '--without-xsl' '--enable-zip' '--with-zlib' '--disable-debug'
 '--enable-dba' '--without-cdb' '--with-db4' '--without-flatfile' '--with-
 gdbm' '--without-inifile' '--without-qdbm' '--with-freetype-dir=/usr'
 '--with-t1lib=/usr' '--disable-gd-jis-conv' '--with-jpeg-dir=/usr'
 '--with-png-dir=/usr' '--without-xpm-dir' '--with-gd' '--with-mysql=/usr'
 '--with-mysql-sock=....' '--without-mysqli' '--with-readline' '--without-
 libedit' '--without-mm' '--without-sqlite'
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5356>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list