Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21351 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64142 invoked by uid 1010); 29 Dec 2005 13:53:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 64127 invoked from network); 29 Dec 2005 13:53:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Dec 2005 13:53:15 -0000 X-Host-Fingerprint: 194.244.21.114 ns1.sys-net.it Linux 2.4 in cluster Received: from ([194.244.21.114:59842] helo=mail.sys-net.it) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id BE/20-28258-54AE3B34 for ; Thu, 29 Dec 2005 08:53:10 -0500 Received: from ando.intra.sys-net.it (dossi.sys-net.it [81.74.43.82]) (authenticated bits=0) by mail.sys-net.it (8.13.3/8.13.3) with ESMTP id jBTDqYsu003578 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Thu, 29 Dec 2005 14:52:35 +0100 To: internals@lists.php.net Content-Type: multipart/mixed; boundary="=-b3ItLyfeD4hsNTA/qkg4" Date: Thu, 29 Dec 2005 14:59:35 +0100 Message-ID: <1135864775.3346.38.camel@ando> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-22) X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.1 (mail.sys-net.it [194.244.21.114]); Thu, 29 Dec 2005 14:52:35 +0100 (CET) X-SysNet-MailScanner-Information: postmaster@sys-net.it X-SysNet-MailScanner: X-MailScanner-From: ando@sys-net.it Subject: Problem compiling sapi/cgi stuff in HEAD From: ando@sys-net.it (Pierangelo Masarati) --=-b3ItLyfeD4hsNTA/qkg4 Content-Type: text/plain Content-Transfer-Encoding: 7bit Recently, I had problems compiling stuff in sapi/cgi because of the change between 1.18 and 1.19 of sapi/cgi/config9.m4 which results in expanding a libtool command line into something like "gcc ''", where gcc (correctly) complains about the impossibility to compile a file named ''. I've worked things around with the attached patch, reported below since it's a one-liner. p. --- o --- o --- o --- Index: sapi/cgi/config9.m4 =================================================================== RCS file: /repository/php-src/sapi/cgi/config9.m4,v retrieving revision 1.19 diff -u -r1.19 config9.m4 --- sapi/cgi/config9.m4 25 Dec 2005 12:45:01 -0000 1.19 +++ sapi/cgi/config9.m4 29 Dec 2005 13:47:12 -0000 @@ -85,7 +85,7 @@ PHP_TEST_WRITE_STDOUT INSTALL_IT="@echo \"Installing PHP CGI into: \$(INSTALL_ROOT)\$(bindir)/\"; \$(INSTALL) -m 0755 \$(SAPI_CGI_PATH) \$(INSTALL_ROOT)\$(bindir)/\$(program_prefix)php\$(program_suffix)\$(EXEEXT)" - PHP_SELECT_SAPI(cgi, program, fastcgi.c cgi_main.c getopt.c, '', '$(SAPI_CGI_PATH)') + PHP_SELECT_SAPI(cgi, program, fastcgi.c cgi_main.c getopt.c, , '$(SAPI_CGI_PATH)') case $host_alias in *aix*) Ing. Pierangelo Masarati Responsabile Open Solution OpenLDAP Core Team SysNet s.n.c. Via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ------------------------------------------ Office: +39.02.23998309 Mobile: +39.333.4963172 Email: pierangelo.masarati@sys-net.it ------------------------------------------ --=-b3ItLyfeD4hsNTA/qkg4 Content-Disposition: attachment; filename=cgi.patch Content-Type: text/x-patch; name=cgi.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: sapi/cgi/config9.m4 =================================================================== RCS file: /repository/php-src/sapi/cgi/config9.m4,v retrieving revision 1.19 diff -u -r1.19 config9.m4 --- sapi/cgi/config9.m4 25 Dec 2005 12:45:01 -0000 1.19 +++ sapi/cgi/config9.m4 29 Dec 2005 13:47:12 -0000 @@ -85,7 +85,7 @@ PHP_TEST_WRITE_STDOUT INSTALL_IT="@echo \"Installing PHP CGI into: \$(INSTALL_ROOT)\$(bindir)/\"; \$(INSTALL) -m 0755 \$(SAPI_CGI_PATH) \$(INSTALL_ROOT)\$(bindir)/\$(program_prefix)php\$(program_suffix)\$(EXEEXT)" - PHP_SELECT_SAPI(cgi, program, fastcgi.c cgi_main.c getopt.c, '', '$(SAPI_CGI_PATH)') + PHP_SELECT_SAPI(cgi, program, fastcgi.c cgi_main.c getopt.c, , '$(SAPI_CGI_PATH)') case $host_alias in *aix*) --=-b3ItLyfeD4hsNTA/qkg4--