#21339 [Com]: cannot compile gettext support
| From: | sjsobol at justthe dot net | Date: | Tue, 04 Feb 2003 23:52:11 +0000 |
| Subject: | #21339 [Com]: cannot compile gettext support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32150@lists.php.net to get a copy of this message | ||
ID: 21339
Comment by: sjsobol@justthe.net
Reported By: gobbers@faw.uni-ulm.de
Status: Open
Bug Type: Gettext related
Operating System: Solaris 8
PHP Version: 4.3.0
New Comment:
Okay, now I'm really confused. I yanked the Configure command out of
the RPM. Here it is.
#!/bin/sh
EXTERNAL_MODULES="mysql pgsql gd imap ldap bcmath bz2 calendar com cpdf
crack curl cyrus db dba_bundle dbase dbx dio domxml dotnet exif fbsql
fdftk filepro fribidi gmp hwapi hyperwave iconv informix ingres_ii
interbase ircg java mcrypt mbstring mhash mime_magic ming mnogosearch
msession msql mssql ncurses notes oci8 odbc oracle ovrimos pcntl pdf
pfpro pspell qtdom readline recode rpc shmop snmp sockets swf sybase
sybase_ct sysvmsg wddx xml xmlrpc xslt yaz zip"
./configure \
--enable-discard-path \
--disable-force-cgi-redirect \
--enable-shared \
--disable-static \
--disable-debug \
--disable-rpath \
--enable-pic \
--enable-inline-optimization \
--enable-memory-limit \
--with-pear \
--enable-magic-quotes \
--enable-debugger \
--enable-track-vars \
--with-versioning \
--with-mod_charset \
--with-regex=php \
--enable-track-vars \
--enable-trans-sid \
--enable-safe-mode \
--with-ctype \
--with-ttf \
--with-zlib \
--enable-sysvsem \
--enable-sysvshm \
--enable-yp \
--enable-ftp \
--without-aspell \
--without-kerberos \
--with-gettext=/usr/local \
--without-dba \
--without-db2 \
--without-db3 \
--with-mysql=/usr/mysql \
`for i in $EXTERNAL_MODULES; do echo --without-${i} --disable-${i};
done` \
--without-gdbm
and that worked. (I got rid of --with-freetype because
right now I don't have freetype installed on my system.)
Previous Comments:
------------------------------------------------------------------------
[2003-02-04 16:39:14] sjsobol@justthe.net
More info... I am trying to rebuild a Mandrake RPM from the source RPM.
That's what has been failing, so I downloaded the December 27, 2002
tarball off the website earlier today (today is Tuesday, February 4th)
and built it.
Using --disable-all --with-gettext=/usr/local worked.
So now I've copied over the configure command from the
RPM's spec file and am going to try it.
At this point I suspect that one of the other configure options is
causing problems. Will post more info as soon
as I have it.
------------------------------------------------------------------------
[2003-02-04 05:40:12] gobbers@faw.uni-ulm.de
I've tried compiling it with
./configure --disable-all
--with-gettext=/path/to/gettext/install/prefix
but still failed. I've given up for now as I've other issues which are
more important...
------------------------------------------------------------------------
[2003-02-03 12:08:51] sjsobol@justthe.net
I have now experienced this problem too. Found this ticket via
groups.google.com and would like to point out the difference in OS: I'm
running Red Hat Linux 7.3 (i386) and compiling PHP 4.3.0 also, with the
same issue. I did try configure --disable-all --with-gettext and that
didn't work either. I may be confused about what is supposed to go into
--with-gettext=/blah - is 'blah' a pointer to the library directory (in
my case /usr/local/lib) or the source tree? Also, 'make install' (in
gettext) installs the gettext libs into /usr/local/lib, but oddly
enough, does not install the headers into /usr/local/include and I'm
wondering if that might be part of my problem. Configure params are as
follows,
./configure \
--enable-discard-path \
--disable-force-cgi-redirect \
--enable-shared \
--disable-static \
--disable-debug \
--disable-rpath \
--enable-pic \
--enable-inline-optimization \
--enable-memory-limit \
--enable-magic-quotes \
--enable-debugger \
--enable-track-vars \
--with-versioning \
--with-mod_charset \
--with-regex=php \
--enable-track-vars \
--enable-trans-sid \
--enable-safe-mode \
--with-ctype \
--with-ttf \
--with-zlib \
--enable-sysvsem \
--enable-sysvshm \
--enable-yp \
--enable-ftp \
--without-aspell \
--without-kerberos \
--with-gettext=/usr \
--without-dba \
--without-db2 \
--without-db3 \
--with-mysql=/usr/mysql \
--without-gdbm
(I suspect I'm pointing --with-gettext at the wrong place, but as
previously mentioned, --disable-all --with-gettext with no directory
didn't work either).
------------------------------------------------------------------------
[2003-01-27 22:32:10] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2003-01-14 19:19:45] sniper@php.net
Try this configure line:
./configure --disable-all
--with-gettext=/path/to/gettext/install/prefix
And if that causes the same problem, try this:
./configure --disable-all --with-gettext
This way we can rule out the possibility of other extensions
being the reason..
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21339
--
Edit this bug report at http://bugs.php.net/?id=21339&edit=1