Edit report at https://bugs.php.net/bug.php?id=61592&edit=1

 ID:                 61592
 Updated by:         [email protected]
 Reported by:        stolen dot data dot net at gmail dot com
 Summary:            Broken paths and missing include paths prevents
                     compiling
-Status:             Open
+Status:             Duplicate
 Type:               Bug
 Package:            Compile Failure
 Operating System:   OpenBSD (and possibly others)
 PHP Version:        5.4.1RC1
 Block user comment: N
 Private report:     N

 New Comment:

Duplicate of #61234. Please don't open new bugs for bugs that simply haven't 
been 
dealt with yet.


Previous Comments:
------------------------------------------------------------------------
[2012-04-01 12:26:04] stolen dot data dot net at gmail dot com

Description:
------------
I reported about this one month ago for 5.4.0, but the issue seems to have gone 
by unnoticed and the problems remain in 5.4.1RC1:

./configure[21153]: cd: /usr/opt/php-5.4.1RC1/"ext/date" - No such file or 
directory
./configure[59467]: cd: /usr/opt/php-5.4.1RC1/"ext/mbstring" - No such file or 
directory
./configure[59467]: cd: /usr/opt/php-5.4.1RC1/"ext/mbstring" - No such file or 
directory
./configure[59467]: cd: /usr/opt/php-5.4.1RC1/"ext/mbstring/libmbfl" - No such 
file or directory

Workaround patch for solving the quoted path subcomponents in configure:

--- SNIP ---

--- configure.old       Sun Apr  1 15:51:01 2012
+++ configure   Sun Apr  1 15:23:43 2012
@@ -21130,7 +21130,7 @@
 
     ep_dir="`echo $ext_builddir/lib|$SED 's%/*[^/][^/]*/*$%%'`"
 
-    ep_realdir="`(cd \"$ep_dir\" && pwd)`"
+    ep_realdir="`(cd $ep_dir && pwd)`"
     ai_p="$ep_realdir/`basename \"$ext_builddir/lib\"`"
   fi
 
@@ -59317,7 +59317,7 @@
 
     ep_dir="`echo $ext_builddir/$dir|$SED 's%/*[^/][^/]*/*$%%'`"
 
-    ep_realdir="`(cd \"$ep_dir\" && pwd)`"
+    ep_realdir="`(cd $ep_dir && pwd)`"
     ai_p="$ep_realdir/`basename \"$ext_builddir/$dir\"`"
   fi

--- SNIP ---

Supply missing include paths to configure in order to prevent make from halting 
on error:

CFLAGS="-Iext/mbstring/oniguruma -Iext/mbstring/libmbfl/mbfl" CPPFLAGS="-
Iext/mbstring/oniguruma -Iext/mbstring/libmbfl/mbfl" ./configure --your-usual-
flags



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61592&edit=1

Reply via email to