i've done everything here
http://www.php.net/manual/en/install.wi ... ilding.php
up until
Building PHP using the new build system [PHP >=5 only]
now. i've built everything and i've gotten alot of it to work. and it's sexy. i've built that damned resolv.lib that took me a day to figure out lol. i've installed the Product SDK from microsoft and that thing is 1GB in size. that got quite a few errors out of the way in order to make that stupid lib.
my folder looks exactly like this on my C: Drive in XP:Home:
Code: Select all
+--C:\work
+--bindlib_w32
+--php-5.x.x
| +--win32
+--win32build
so i go into php-5.x.x -> and open up php5.dsw. or rather i double click on it. it asks me to convert TSRM.dsp file. it's a project file of some sort i think. TSRM is where that MACRO is that defines your PHP Functions (PHP_FUNCION(args)). same for zend.dsp and php5.dsp and php5dll.dsp
then i get the TSRM error
and then i get a corrupt project file error (TSRM i assume)
it asks me if i want to remove projects from file and i say no just so you can see what i have next:
alright. that is where i get stuck with VSC++
i also don't know the command line for this either. in the link i gave above i can build from cmd line but i have no idea how to do that or where to start. so i opted to try visual studio c++. *arg* i'm tearing my hair out
now, this is trying to get teh php5.dsw to load and work. the php5_ts.dws loads but takes F-O-R-E-V-E-R to compile. longer than it ever should IMO
------------------
ok, i'm compiling one thing at a time instead of all
remember, these are all for php5ts.dsw. i want to use php5 but i don't understand why i can't. ANYWAYS, onto the errors
[error] fatal error C1083: Cannot open include file: 'httpd.h': No such file or directory c:\work\php-5.1.6\sapi\apache\php_apache_http.h
[error] error BK1506 : cannot open file '.\debug_ts\php_apache.sbr': No such file or directory BSCMAKE
[error] fatal error C1083: Cannot open include file: 'apr_strings.h': No such file or directory c:\work\php-5.1.6\sapi\apache2handler\php_functions.c
[error] fatal error C1083: Cannot open include file: 'timelib_config.h': No such file or directory c:\work\php-5.1.6\ext\date\lib\timelib_structs.h
[error] fatal error C1083: Cannot open include file: 'libxml/parser.h': No such file or directory c:\work\php-5.1.6\ext\dom\php_dom.h 33
[error] fatal error C1083: Cannot open include file: 'PiAPI.h': No such file or directory c:\work\php-5.1.6\sapi\pi3web\pi3web_sapi.c 39
[error] BK1506 : cannot open file '.\debug_ts\pi3web_sapi.sbr': No such file or directory BSCMAKE
cannot allocate an aray of constant size. *arg* why me?