New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rebuildconf failure php7 and imagick 3.4.rc2 #128
Comments
@lastsamurai26 can you recommend a slim vagrant box for Debian 8.3 ? I can't repro this on centos which is what I normally dev on.
Someone cocked up the PHP conf files in one of the 7.0.0 RC versions.....because RC releases are great times to be experimenting with autoconf make files. :-P |
i have 2 Root server and one vserver i can test it on the Vserver, if you mean that. if i use this patch https://gist.github.com/reeze/89fd045f1d0960d2add3#file-more-compatible-patch-diff then it works but what you mean with to experimenting the autoconf make files |
Actually, why are you doing buildconf --force? Try just doing:
or |
~/php-7.0.0 # phpize php-7.0.0/ext/imagick # phpize |
and then |
i don't now what you mean? if a do make install in php-7.0.0/ext/imagick |
Okay, unless you really, really need it to be built statically, I recommend compile Imagick separately. So just compile PHP by itself first, and then do the below to compile Imagick.
It should copy the imagick.so file generated into the the correct directory, and then you just need to add |
ok, you mean. I've already made and that works well but I wanted to conserve my work :). That's why I've always compile with PHP together, but if this is not work more readily I'll compile separated it |
I will try and get it compiling like how you're trying, but it will should be working again in 7.0.1 anyway, as a bug fix has been applied to the 7.0 branch, just not in time for the release of 7.0.0 |
That means that as of version 7.0.1 php this works again as I compile it? thx :) |
You should be able to. The branch that will become the 7.0.1 version is https://github.com/php/php-src/tree/PHP-7.0 and it should have the fix in, so you could test against that branch now, to see if the alleged fix does work. |
:) the Fix works thx for the help |
Could you try using this branch https://github.com/mkoppanen/imagick/tree/m4_refactoring for 7.0.0? It should be able to be compiled statically as an extension.....I think. Maybe? Autoconf files really confuse me tbh..... |
works :) with php7 (stable) |
This should be fixed in release 3.4.0RC3 |
:) I think I need to write anything
https://bugs.php.net/bug.php?id=70899
used Version
php 7.0.0
wget http://de2.php.net/get/php-7.0.0.tar.gz/from/this/mirror -O php-7.0.0.tar.gz
imagick 3.4.0RC2
wget http://pecl.php.net/get/imagick-3.4.0RC2.tgz
tar xvzf php-7.0.0.tar.gz
tar xvzf imagick-3.4.0RC2.tgz
mv imagick-3.4.0RC2 imagick
cp imagick php-7.0.0/ext
cd..
rm configure
./buildconf --force
Output
Forcing buildconf
Removing configure caches
buildconf: checking installation...
buildconf: autoconf version 2.69 (ok)
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 directoryautom4te: /usr/bin/m4 failed with exit status: 1
autoheader: '/usr/bin/autom4te' failed with exit status: 1
i Don't know why but this version of imagick works with php-5.6
The text was updated successfully, but these errors were encountered: