|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2015-07-04 01:23 UTC] mah at everybody dot org
Description: ------------ The test for gmp.h only tests $i/include/gmp.h exists. Instead it should test for that OR $i/gmp.h. Failure to do so results in issues like this one: http://stackoverflow.com/questions/19894168/build-php5-3-8-on-ubuntu-get-error-configure-error-unable-to-locate-gmp-h I was going to compile php7 and ran into the same problem. Attached patch fixes this. Patchesgmp-h-find-fix (last revision 2015-07-04 01:24 UTC by mah at everybody dot org)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 19:00:01 2025 UTC |
On a 64bit Debian Jessie libgmp-devel installs gmp.h in /usr/include/x86_64-linux-gnu/, and so it's not possible to configure successfully. The supplied patch fixes the issue so that one can do ./configure --disable-all --enable-cli --with-gmp=/usr/include/x86_64-linux-gnu However, that looks fishy to me.