#24402 [Com]: Compile Failure using --with-gettext (v. 0.12.x)

From: Date: Wed, 23 Jul 2003 16:27:47 +0000
Subject: #24402 [Com]: Compile Failure using --with-gettext (v. 0.12.x)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-44585@lists.php.net to get a copy of this message
ID: 24402 Comment by: jh at twiddle dot com Reported By: beckett at beckettmw dot com Status: Open Bug Type: Gettext related Operating System: Mac OS X/Darwin PHP Version: 5.0.0b1 (beta1) New Comment: Meant the opposite ofcourse.. 's what you get if deprived from sleep. Just define _INTL_REDIRECT_INLINE for 0.12. (see libintl.h) Previous Comments: ------------------------------------------------------------------------ [2003-07-22 13:27:46] jh at twiddle dot com (stating the obvious, but nonetheless: that is, in gettext.c before including libintl.h) ------------------------------------------------------------------------ [2003-07-22 13:22:29] jh at twiddle dot com Perhaps the _INTL_REDIRECT_INLINE in libintl.h? If it's defined, try to undef it and see if it solves your problem. Best regards, Jeroen ------------------------------------------------------------------------ [2003-07-05 13:53:20] page at sca dot uqam dot ca Also, I tried the config.nice, and configure does its jobs correctly, and in the compilation, it fails with the same errors. Christian Pagé ------------------------------------------------------------------------ [2003-07-05 13:49:11] page at sca dot uqam dot ca I got: % grep LIBINTL main/php_config.h #define HAVE_LIBINTL 1 So everything seems fine for that variable in my case... Christian Pagé ------------------------------------------------------------------------ [2003-07-02 20:32:50] beckett at beckettmw dot com > Can you please post the output of > > grep LIBINTL main/php_config.h #define HAVE_LIBINTL 1 > If it does not say "#define HAVE_LIBINTL 1", can you > please try: > > export LDFLAGS="$LDFLAGS -lintl" > make distclean > ./config.nice Well, grep *did* return that line as expected, but trying this altenative didn't work. Configure gets this far: | checking host system type... powerpc-apple-darwin6.6 | checking for gcc... gcc | checking whether the C compiler (gcc -lintl) works... no | configure: error: installation or configuration problem: C compiler cannot create executables. Please let me know if I can run any further tests, or if you can suggest a way to narrow down the problem. Thanks for your time!! ------------------------------------------------------------------------ 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/24402 -- Edit this bug report at http://bugs.php.net/?id=24402&edit=1

« previous php.bugs (#44585) next »