Edit report at https://bugs.php.net/bug.php?id=70899&edit=1
ID: 70899
User updated by: admin at dunkleallianz dot net
Reported by: admin at dunkleallianz dot net
Summary: php 7 RC 7 buildconf failure
Status: Closed
Type: Bug
Package: Compile Failure
Operating System: Debian 8.3
PHP Version: 7.0.0RC7
Assigned To: bwoebi
Block user comment: N
Private report: N
New Comment:
do you forgot something in the rc8 ?
Previous Comments:
------------------------------------------------------------------------
[2015-11-17 20:08:17] bwoebi@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4dee0c4a14a00f353d982a470694f907aa7f5239
Log: Fixed bug #70899 (buildconf failure in extensions)
------------------------------------------------------------------------
[2015-11-17 20:07:46] bwoebi@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4dee0c4a14a00f353d982a470694f907aa7f5239
Log: Fixed bug #70899 (buildconf failure in extensions)
------------------------------------------------------------------------
[2015-11-13 10:36:53] laruence@php.net
@amind instead of waitting for final fix of php7, you can also fix this in imagick side by move
whole contents of imagemagick.m4 into config.m4 as it only define some AF_FUNCS, I don't think
it's necessary to keep it in a separted file.
thanks
------------------------------------------------------------------------
[2015-11-13 09:59:06] admin at dunkleallianz dot net
So i have test this patch https://gist.github.com/reeze/89fd045f1d0960d2add3#file-more-compatible-patch-diff
so i have test it
wget https://github.com/mkoppanen/imagick/archive/phpseven.zip
wget https://downloads.php.net/~ab/php-7.0.0RC7.tar.gz
tar xvf php-7.0.0RC7.tar.gz
unzip phpseven.zip
mv imagick-phpseven imagick
cp imagick php-7.0.0RC7/ext/
Edit patch the 2 files
rm php-7.0.0RC7/configure
./buildconf --force
./configure '--prefix=/usr/share/php7' '--datadir=/usr/share/php7'
'--mandir=/usr/share/man' '--bindir=/usr/bin/php7'
'--with-libdir=lib/x86_64-linux-gnu' '--includedir=/usr/include/php7'
'--sysconfdir=/etc/php7/apache2' '--with-config-file-path=/etc/php7/apache2'
'--with-config-file-scan-dir=/etc/php7/conf.d' '--enable-libxml'
'--enable-session' '--with-pcre-regex=/usr' '--enable-xml'
'--enable-simplexml' '--enable-filter' '--disable-debug'
'--enable-inline-optimization' '--disable-rpath' '--disable-static'
'--enable-shared' '--with-pic' '--with-gnu-ld' '--with-gd'
'--with-jpeg-dir' '--with-png-dir' '--with-xpm-dir'
'--enable-exif' '--with-zlib' '--with-bz2' '--with-curl'
'--with-ldap' '--with-freetype-dir' '--enable-soap'
'--enable-sockets' '--enable-calendar' '--enable-ftp'
'--enable-mbstring' '--enable-gd-native-ttf' '--enable-bcmath'
'--enable-zip' '--with-pear' '--with-openssl' '--with-imap'
'--with-imap-ssl' '--with-kerberos' '--enable-phar'
'--enable-pdo' '--with-mys!
qli' '--with-mysql-sock' '--with-mcrypt' '--with-pdo-mysql'
'--enable-mysqlnd' '--with-imagick'
now it works
------------------------------------------------------------------------
[2015-11-13 08:17:33] admin at dunkleallianz dot net
Do you have a link to the patch or I can simply load the https://github.com/php/php-src/tree/php-7.0.0RC7
again?
Currently I have reloaded the Branch.
same error
Forcing buildconf
Removing configure caches
buildconf: checking installation...
buildconf: autoconf version 2.69 (ok)
rebuilding aclocal.m4
rebuilding configure
/usr/bin/m4:ext/imagick/config.m4:14: cannot open `$config_m4_dir/imagemagick.m4': No such file
or directory
autom4te: /usr/bin/m4 failed with exit status: 1
rebuilding main/php_config.h.in
/usr/bin/m4:ext/imagick/config.m4:14: cannot open `$config_m4_dir/imagemagick.m4': No such file
or directory
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: '/usr/bin/autom4te' failed with exit status: 1
or something i do wrong ?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=70899
--
Edit this bug report at https://bugs.php.net/bug.php?id=70899&edit=1