Build problem on Solaris 8

From: Date: Tue, 30 Apr 2002 02:02:20 +0000
Subject: Build problem on Solaris 8
Groups: php.dev 
Request: Send a blank email to php-dev+get-83504@lists.php.net to get a copy of this message
Hi, I tried the install list with no luck and thought perhaps someone on this list could lend some insight. Platform = Solaris 8 Shell = bash 2.05 Compiler = GCC 3.0.3 PHP version = 4.2.0 MySQL version = 3.23.45 configured with --with-mysql --with-apsx My build was failing as it ran libtool on libmysql.c. It was complaining about m_string.h on the pre-processor expression: #if SIZEOF_LONG == SIZEOF_LONG_LONG. "operator '==' has no right operand" I chased it down and found that SIZEOF_LONG_LONG was being defined in php_config.h, but was not assigned a value: #define SIZEOF_LONG_LONG I checked out the configure script and found where it is trying to determine the size of 'long long': I don't see how ac_cv_sizeof_long_long could be initialed to nothing?? In m_string.h I initialized SIZEOF_LONG_LONG to 0 and the build works, but I'm not sure that it will work given that 0 is not the size of a long long on my platform. Can someone lend me some insight into the problem? Do you think I can set SIZEOF_LONG_LONG to 8 without a problem? Or is there something I can do with the configure script to ensure it works as it is supposed to? thanks in advance, --dk

« previous php.dev (#83504) next »