Re: [PHP4BETA] Compile Failure
| From: | Sascha Schumann | Date: | Thu, 04 May 2000 12:23:58 +0000 |
| Subject: | Re: [PHP4BETA] Compile Failure | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14457@lists.php.net to get a copy of this message | ||
> The machine is SCO Openserver 5.0.4 (+Dev system - Linker & Libraries), gcc
> 2.95.2pl1 & gmake 3.78.1. I think the problem is that I seem to be the only
> one so far trying to compile PHP4 on a SCO box. Quite a few people have
> asked my advice regarding PHP3 so I'm sure that they will follow to 4.
The current PHP 4.0 CVS compiles cleanly on UnixWare 7.1.1 with
native tools. The dev kit is the same for OpenServer 5 (at least
the CDROM reads "UnixWare and OpenServer Development Kit").
> PHP4 Version: php4-200005040145 (I've been trying at least once a day
> since beta)
>
> LDFLAGS="-L/lib -L/usr/lib" \
> CPPFLAGS="-I/usr/include" \
> ./configure --without-mysql \
> --enable-track_vars
>
> I'm not 100% sure about the LD / CPP Flags vars.
Get rid of them -- the system paths should always come at the
end. The compiler will automatically do the right thing.
What happens if you configure PHP without these flags?
- Sascha