|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesuuid_version_check_fix.patch (last revision 2011-10-25 12:25 UTC by dominic dot benson at thirdlight dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-10-25 12:29 UTC] dominic dot benson at thirdlight dot com
[2015-04-04 05:26 UTC] remi@php.net
-Status: Open
+Status: Feedback
[2015-04-04 05:26 UTC] remi@php.net
[2015-04-12 04:22 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 10:00:01 2025 UTC |
Description: ------------ When compiling uuid with PHP (copy into ext dir and regenerate configure) configure fails: checking whether uuid is available... yes checking for uuid_type in -luuid... yes checking for uuid_variant in -luuid... yes checking for uuid/uuid.h... yes checking PHP version... configure: error: need at least PHP 4.0.0 The configure log shows: configure:95377: checking PHP version configure:95390: gcc -c -I/usr/include -g -O2 - fvisibility=hidden - I/home/magicaltux/projects/pinetd2/php/php- 5.3.2/ext/date/lib - I/home/magicaltux/projects/pinetd2/php/php- 5.3.2/ext/ereg/regex -I/usr/include/libxml2 - I/usr/include/imap - I/home/magicaltux/projects/pinetd2/php/php- 5.3.2/ext/mbstring/oniguruma - I/home/magicaltux/projects/pinetd2/php/php- 5.3.2/ext/mbstring/libmbfl - I/home/magicaltux/projects/pinetd2/php/php- 5.3.2/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql - I/home/magicaltux/projects/pinetd2/php/php- 5.3.2/ext/sqlite3/libsqlite -I/include -DHAVE_UUID conftest.c 1>&5 configure:95380:25: error: php_version.h: No such file or directory configure:95384:2: error: #error this extension requires at least PHP version 4.0.0 configure: failed program was: #line 95379 "configure" #include "confdefs.h" #include <php_version.h> int main() { #if PHP_VERSION_ID < 40000 #error this extension requires at least PHP version 4.0.0 #endif ; return 0; } I'd guess the php 4.0.0 check can be safely dropped.