From:
Operating system: OpenBSD (and possibly others)
PHP version: 5.4.1RC1
Package: Compile Failure
Bug Type: Bug
Bug description:Broken paths and missing include paths prevents compiling
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 bug report at https://bugs.php.net/bug.php?id=61592&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=61592&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=61592&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=61592&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=61592&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=61592&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=61592&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=61592&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=61592&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=61592&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=61592&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=61592&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=61592&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=61592&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=61592&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=61592&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61592&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=61592&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=61592&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=61592&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=61592&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=61592&r=mysqlcfg