RE: [PHP-DEV] Build problem on Solaris 8
| From: | David Knox | Date: | Tue, 30 Apr 2002 15:14:51 +0000 |
| Subject: | RE: [PHP-DEV] Build problem on Solaris 8 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83523@lists.php.net to get a copy of this message | ||
Thanks,
Will autoconf 2.13 or greater work? I already have 2.53.
--dk
> -----Original Message-----
> From: jani@localhost.localdomain [mailto:jani@localhost.localdomain]On
> Behalf Of Jani Taskinen
> Sent: Tuesday, April 30, 2002 4:44 AM
> To: David Knox
> Cc: Php-Dev
> Subject: Re: [PHP-DEV] Build problem on Solaris 8
>
>
>
> Just rebuild the configure with autoconf 2.13 and this
> should be 'fixed' then.
>
> --Jani
>
>
> On Mon, 29 Apr 2002, David Knox wrote:
>
> >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
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
> --
>
>