5.0.4 won't compile as per your instructions

php.internals

Jeff Beidler

21 years ago
Hello, I have been trying to compile PHP 5.0.4 (downloaded fresh today) and have been following your instructions at http://www.php.net/manual/en/install.windows.building.php to the letter. I always end up with the same thing when trying to compile... 3 errors and a bunch of warnings. I have attached the output from the compiler (Visual C++ 6.0) for reference. One other thing of note (I don't know whether this relates to my problem or not) is that when opening the workspace, VC++ also wants the path to "php5activescript.dsp", which is nowhere to be found in the php-5.0.4 tree. Would you please be so kind as to take a look at the errors I'm getting and steer me in the right direction? Many thanks, Jeff Beidler jeffb@videx.com

Uwe Schindler

21 years ago
PHP 5 has a new Unix-Like build system. The DSP files are not longer maintained. To compile you have to configure first and then compile at the command line. You need Windows Scripting (for JavaScript configure script) and a Microsoft Compiler to start the configure.js script and then nmake. At 00:12 06.04.2005, Jeff Beidler wrote:
>Hello, > >I have been trying to compile PHP 5.0.4 (downloaded fresh today) and have >been following your instructions at >http://www.php.net/manual/en/install.windows.building.php to the >letter. I always end up with the same thing when trying to compile... 3 >errors and a bunch of warnings. I have attached the output from the >compiler (Visual C++ 6.0) for reference. > >One other thing of note (I don't know whether this relates to my problem >or not) is that when opening the workspace, VC++ also wants the path to >"php5activescript.dsp", which is nowhere to be found in the php-5.0.4 tree. > >Would you please be so kind as to take a look at the errors I'm getting >and steer me in the right direction? > >Many thanks, > >Jeff Beidler >jeffb@videx.com > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de - http://www.schindlers-software.de eMails: uwe@thetaphi.de (private); info@schindlers-software.de (company) Tel./Fax: +49 700 PCLATEIN (+49 700 72528346) Schindlers Software - Home of Schindlers PC-LATEIN 3.10 DIE Software zum Lateinlernen!

Steph

21 years ago
erm - when was the decision to no longer maintain the .dsp files made? Did I go to sleep? ----- Original Message ----- From: "Uwe Schindler" <uwe@thetaphi.de> To: "Jeff Beidler" <jeffb@videx.com>; <internals@lists.php.net> Cc: "Jeff Beidler" <jeffb@videx.com> Sent: Tuesday, April 05, 2005 11:38 PM Subject: Re: [PHP-DEV] 5.0.4 won't compile as per your instructions
> PHP 5 has a new Unix-Like build system. The DSP files are not longer > maintained. To compile you have to configure first and then compile at the > command line. You need Windows Scripting (for JavaScript configure script) > and a Microsoft Compiler to start the configure.js script and then nmake. > > At 00:12 06.04.2005, Jeff Beidler wrote: > > >Hello, > > > >I have been trying to compile PHP 5.0.4 (downloaded fresh today) and have > >been following your instructions at > >http://www.php.net/manual/en/install.windows.building.php to the > >letter. I always end up with the same thing when trying to compile... 3 > >errors and a bunch of warnings. I have attached the output from the > >compiler (Visual C++ 6.0) for reference. > > > >One other thing of note (I don't know whether this relates to my problem > >or not) is that when opening the workspace, VC++ also wants the path to > >"php5activescript.dsp", which is nowhere to be found in the php-5.0.4
tree.

Derick Rethans

21 years ago
On Wed, 6 Apr 2005, Steph wrote:
> erm - when was the decision to no longer maintain the .dsp files made?
Nobody did, but why maintain something outdated? Feel free to fix them though... Derick
-- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org

Uwe Schindler

21 years ago
That was what I meant :). In the past I had more success when compiling PHP on windows when using the new build system, which is *better* maintained. At 09:10 06.04.2005, you wrote:
>On Wed, 6 Apr 2005, Steph wrote: > > > erm - when was the decision to no longer maintain the .dsp files made? > >Nobody did, but why maintain something outdated? Feel free to fix them >though... > >Derick > >-- >Derick Rethans >http://derickrethans.nl | http://ez.no | http://xdebug.org
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de - http://www.schindlers-software.de eMails: uwe@thetaphi.de (private); info@schindlers-software.de (company) Tel./Fax: +49 700 PCLATEIN (+49 700 72528346) Schindlers Software - Home of Schindlers PC-LATEIN 3.10 DIE Software zum Lateinlernen!

Steph

21 years ago
I seem to recall this discussion from days of yore. And the word was, 'nope, don't let the things wallow in historical mire, for many do use them'. I'll add it to the TODO (which is starting to look almost possible again).

Pauli

21 years ago
Derick Rethans wrote:
> On Wed, 6 Apr 2005, Steph wrote: > > >>erm - when was the decision to no longer maintain the .dsp files made? > > > Nobody did, but why maintain something outdated? Feel free to fix them > though... > > Derick >
I think it is better to give up with different build system for windows. It so much easier to maintain single build system with only little varianty for platforms. Most likely that single build sysmte doesn't require much platform depend changes after begin. Anyway 2nd build system will have problems to keep up with changes because only few people are going to update that. I think that official note that dps build system is to be removed from future versions of php could help windows development more than keeping it half updated around there. At least mozilla has been successful with single build system for all platforms. I agree that it makes problems for some windows developers because they need to go to command line which suxs in windows. I usually use cygwin as my command line replacement in windows because it offers so much more flexibility and features.

Andi Gutmans

21 years ago
At 09:10 AM 4/6/2005 +0200, Derick Rethans wrote:
>On Wed, 6 Apr 2005, Steph wrote: > > > erm - when was the decision to no longer maintain the .dsp files made? > >Nobody did, but why maintain something outdated? Feel free to fix them >though...
It's not outdated and should be kept in sync by the people who are making Windows changes. It's actually very useful for developing/debugging with Visual C++. Command line is good for building but not really for the rest :) Andi

David Kingma - Jool.nl

21 years ago
Hi Jeff,
> -----Original Message----- > From: Jeff Beidler [mailto:jeffb@videx.com] > Would you please be so kind as to take a look at the errors > I'm getting and steer me in the right direction?
The solution for error about SQLITE_NOTADB has passed the mailinglist before: http://www.mail-archive.com/internals@lists.php.net/msg13735.html Regards, David PS. http://www.google.nl/search?q=SQLITE_NOTADB first hit.