RE: [PHP-DEV] compile issues on Solaris

2004-05-07 Thread Wez Furlong
> Oki, second attempt. Perhaps att better solution: > > #define _XOPEN_SOURCE > #define _BSD_SOURCE > > #define __EXTENSIONS__ > #include > > #include "php.h" > #include > #include > [...] > > compiles on both Solaris and Linux. (at least when I try it > at home) :) > I have only tried it o

Re: [PHP-DEV] compile issues on Solaris

2004-05-07 Thread Daniel Fahlgren
On Fri, May 07, 2004 at 08:12:54PM +0100, Wez Furlong wrote: > Any help would be appreciated; essentially you need to find a way to get > ulong defined with the _XOPEN_SOURCE and _BSD_SOURCE symbols defined. > > You might find that you need to specify a numeric value (the year or > revision number

RE: [PHP-DEV] compile issues on Solaris

2004-05-07 Thread Jay Smith
Wez Furlong wrote: > > Hey Jay, > > That would be great; I tried to reach the box when I discovered the bug, > but it wasn't there :-) > > If the login and port are still the same, I'll try it over the weekend. > > Thanks, > > --Wez. > Everything should be as it was before. That box went d

RE: [PHP-DEV] compile issues on Solaris

2004-05-07 Thread Uwe Schindler
I have Solaris 9 X86 in a VMWARE and a Solaris 9 Sparc Server... Could help with this. At 21:48 07.05.2004, Wez Furlong wrote: Hey Jay, That would be great; I tried to reach the box when I discovered the bug, but it wasn't there :-) If the login and port are still the same, I'll try it over the

RE: [PHP-DEV] compile issues on Solaris

2004-05-07 Thread Wez Furlong
Hey Jay, That would be great; I tried to reach the box when I discovered the bug, but it wasn't there :-) If the login and port are still the same, I'll try it over the weekend. Thanks, --Wez. > Hey Wez, > > Conincidentally enough, just yesterday I ressurrected my > Solaris box, so if > yo

RE: [PHP-DEV] compile issues on Solaris

2004-05-07 Thread Jay Smith
Wez Furlong wrote: > This is a known issue (search bugs.php.net). > > Unfortunately, the workaround you (and the others) suggest will cause a > similar problem on Linux systems :-/ > > We need to find a way to set those _XOPEN_SOURCE style defines up so that > the build succeeds on your system.

RE: [PHP-DEV] compile issues on Solaris

2004-05-07 Thread Wez Furlong
> Well. A simple solution that should keep the build on Linux > (and others) > intact is > > #ifdef __sun__ > #include > #endif > > Perhaps not the neatest one, but then it should compile on > Solaris using > gcc.. Better then not compile at all :) Better to do it the right way, which is why I

Re: [PHP-DEV] compile issues on Solaris

2004-05-07 Thread Daniel Fahlgren
On Fri, May 07, 2004 at 02:00:31PM +0100, Wez Furlong wrote: > This is a known issue (search bugs.php.net). > > Unfortunately, the workaround you (and the others) suggest will cause a > similar problem on Linux systems :-/ > > We need to find a way to set those _XOPEN_SOURCE style defines up so t

RE: [PHP-DEV] compile issues on Solaris

2004-05-07 Thread Wez Furlong
This is a known issue (search bugs.php.net). Unfortunately, the workaround you (and the others) suggest will cause a similar problem on Linux systems :-/ We need to find a way to set those _XOPEN_SOURCE style defines up so that the build succeeds on your system. However, I don't have access to a