#26164 [Opn->Fbk]: build-error in generator/scheme.php

From: Date: Sun, 09 Nov 2003 02:39:15 +0000
Subject: #26164 [Opn->Fbk]: build-error in generator/scheme.php
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-557@lists.php.net to get a copy of this message
ID: 26164 Updated by: alan_k@php.net Reported By: mike dot greubel at pro-entertain dot de -Status: Open +Status: Feedback Bug Type: PHP-GTK related Operating System: Linux PHP Version: 4.3.3 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2003-11-07 14:48:59] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26164&edit=1

« previous php.gtk.dev (#557) next »