Bug #66007 [NEW]: Cannot compile PHP shared modules in FreeBSD 10 due to detection of freebsd1*
| From: | alexyam at live dot com | Date: | Wed, 30 Oct 2013 23:28:43 +0000 |
| Subject: | Bug #66007 [NEW]: Cannot compile PHP shared modules in FreeBSD 10 due to detection of freebsd1* | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-182508@lists.php.net to get a copy of this message | ||
From: alexyam at live dot com
Operating system: FreeBSD 10
PHP version: 5.5.5
Package: *Compile Issues
Bug Type: Bug
Bug description:Cannot compile PHP shared modules in FreeBSD 10 due to detection of freebsd1*
Description:
------------
Tested PHP 5.5.5 on a FreeBSD 10 Beta 2 box. Turned out all php modules
were compiled static only.
Traced problem to the configure script:
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
Solution: Edit 3 files to remove checks for freebsd1* (which was
supposed to check FreeBSD version 1.*)
------------------------------------------
aclocal.m4 line 4549:
------------------------------------------
freebsd1*)
dynamic_linker=no
;;
------------------------------------------
aclocal.m4 line 8860:
------------------------------------------
freebsd1*)
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
------------------------------------------
configure line 108005:
------------------------------------------
freebsd1*)
ld_shlibs=no
;;
------------------------------------------
configure line 108654:
------------------------------------------
freebsd1*)
dynamic_linker=no
;;
------------------------------------------
configure line 112291:
------------------------------------------
freebsd1*)
dynamic_linker=no
;;
------------------------------------------
/build/libtool.m4 line 1535:
------------------------------------------
freebsd1*)
dynamic_linker=no
;;
------------------------------------------
/build/libtool.m4 line 5846:
------------------------------------------
freebsd1*)
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
------------------------------------------
git diff patch included.
Test script:
---------------
./configure
Expected result:
----------------
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
Actual result:
--------------
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
--
Edit bug report at https://bugs.php.net/bug.php?id=66007&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66007&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66007&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66007&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66007&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66007&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66007&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66007&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66007&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66007&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66007&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66007&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66007&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66007&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66007&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66007&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66007&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66007&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66007&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66007&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66007&r=mysqlcfg