ID:               21339
 Comment by:       sjsobol at justthe dot net
 Reported By:      gobbers at faw dot uni-ulm dot de
 Status:           Bogus
 Bug Type:         Gettext related
 Operating System: Solaris 8
 PHP Version:      4.3.0
 New Comment:

Hey now. Some of us work for a living :P :)

Seriously: I finally chalked it up to a problem using a Mandrake RPM on
Red Hat (although usually I have no problems doing so). I grabbed
another source RPM (the build source is listed as "Unknown", but I know
it is not Mandrake) and made my tweaks to it. It compiled just fine,
including ming, pdflib and gettext. (I was encountering the same
problem with ming and some of the other PHP modules that I was with
gettext, so it was not specifically the gettext module that was having
an issue. 

I imagine Mandrake's spec file is heavily customized to work with their
distro, which normally not a problem as I have many customized Mandrake
RPMS on my server, but something was causing major issues with this
particular RPM.

Anyhow, I don't think this is a PHP issue. I think it's a
package-specific issue.


Previous Comments:
------------------------------------------------------------------------

[2003-02-10 12:43:41] [EMAIL PROTECTED]

Works fine here, user has more important issues to deal with and can't
provide feedback, and this most likely is some user error anyway.


------------------------------------------------------------------------

[2003-02-04 17:52:11] sjsobol at justthe dot net

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.)

------------------------------------------------------------------------

[2003-02-04 16:39:14] sjsobol at justthe dot 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 at faw dot uni-ulm dot 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 at justthe dot 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).

------------------------------------------------------------------------

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

Reply via email to