Re: Re: Proposal for a PHP-BASED Make facility

From: Date: Fri, 16 May 2008 15:14:46 +0000
Subject: Re: Re: Proposal for a PHP-BASED Make facility
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-37679@lists.php.net to get a copy of this message
El 15/05/2008, a las 12:17, Johannes Schlüter escribió:
Hi, On Thu, 2008-05-15 at 04:21 -0400, Hector Santos wrote:
On Thu, 2008-05-15 at 00:49 -0400, Hector Santos wrote:
- All that is needed with a source distribution or as a
    separate distribution, is a PHPMAKE package that
    might include a root folder:
    phpmake/bin     minimum php binaries for the platform
                    i.e, php.exe, php5ts.dll for windows
That's a hen and egg problem then - one would need PHP to build PHP and we don't have the infrastructure to provide binaries for all the platforms we support (there's more than Linux and Windows)
That's what I thought too, but you still still have the same (chicken/egg) issues of PHP being dependent on what OS the AutoTools/CMake facility works on. The basic requirement of being able to port the minimal set of PHP files for an OS would still need to required in either case. If the porting is simpler for autotools/cmake than raw PHP, then I can see that as a plus.
Well the difference ist: For an own build system _we_ do to have it our own and verify it on each platform, autotools/cmake are used by lots of other projects with many many more contributors which keeps the things running. Additional most OS packagers add these tool to their packages themselves as they are essentially for compiling basically anything. Without autotools you can't compile many stuff PHP depends on on the platform so the autotools have to be ported anyways before PHP can be build there....
+1 Take other path is shoot yourself in the foot. Autotools and CMake are very mature and take care of many problems across differents architectures. Regards, -- Alejandro Leiva

« previous php.internals (#37679) next »