#22556 [Bgs->Opn]: configure file reports bogus mkdir -p failure
| From: | john345 at earthlink dot net | Date: | Fri, 07 Mar 2003 22:54:52 +0000 |
| Subject: | #22556 [Bgs->Opn]: configure file reports bogus mkdir -p failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35082@lists.php.net to get a copy of this message | ||
ID: 22556
User updated by: john345 at earthlink dot net
Reported By: john345 at earthlink dot net
-Status: Bogus
+Status: Open
Bug Type: Compile Failure
Operating System: SCO OpenServer 5.0.6
PHP Version: 4.3.1
New Comment:
If it is done twice on purpose, then why do it at all?
Doing it twice will always make the test fail.
If the issue is the fact that mkdir -p complains when the directory
already exists, test for the directory before trying to make it or send
the error to dev/null.
Previous Comments:
------------------------------------------------------------------------
[2003-03-07 00:10:52] sniper@php.net
It's actually intentionally done twice.
Comment from acinclude.m4:
"`mkdir -p' must be quiet about creating existing directories"
------------------------------------------------------------------------
[2003-03-06 15:05:08] john345 at earthlink dot net
Tried php4-STABLE-latest.tar.gz and the duplicate line is still in the
configure file, just at a different line number, 83186.
------------------------------------------------------------------------
[2003-03-05 13:36:24] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
I think something like this was already fixed..
------------------------------------------------------------------------
[2003-03-05 13:29:41] john345 at earthlink dot net
configure --without-mysql --with-pgsql
--with-apxs=/usr/local/apache/bin
reports that mkdir -p does not work. This is because there are two
identical lines, one at line 82750 and one at 82751, that use mkdir -p
to make comftestdir/somedir. The first one succeeds; the second one
fails. The test to see if mkdir -p works is after the second line, so
configure reports a failure.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22556&edit=1