|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26164 build-error in generator/scheme.php
Submitted: 2003-11-07 14:48 UTC Modified: 2003-11-17 18:18 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: mike dot greubel at pro-entertain dot de Assigned:
Status: No Feedback Package: PHP-GTK related
PHP Version: 4.3.3 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mike dot greubel at pro-entertain dot de
New email:
PHP Version: OS:


 [2003-11-07 14:48 UTC] mike dot greubel at pro-entertain dot de
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:
$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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-08 21:39 UTC]
This doesnt look like a valid issue:
try cd {php-gtk-source}/generator

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.

 [2003-11-17 18:18 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Dec 02 05:03:34 2021 UTC