|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-11-07 14:48 UTC] mike dot greubel at pro-entertain dot de
Description: ------------ After times of trying to compile php-gtk I learned, that generator/scheme.php has an error on line 101 (filemtime). In my php (in fact all versions I tried) 4.3.3 only works filemtime with full path to the file I want to check. So I patched scheme parameter to > Line 101: Add $current_dir = getcwd(); $cache_file = "$current_dir/$defs_file.cache"; Now the cachefile is found. But there's a check for $defs_file, too. This file is definitly not on my system. I tried in php-gtk-directory: find -name -- and find -name "\-\-" - no results. There's no chance for me to compile it? Greetings Mike PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 06:00:02 2025 UTC |
This doesnt look like a valid issue: try cd {php-gtk-source}/generator then php -r 'var_dump(filemtime("../configure"));' you should see that relative paths work ok.. do a make dist clean, then ./configure/make, look at the make output to see what it sends to the generator: php ../generator/generator.php ................ and run that manually at the command prompt.