php.net |  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
Votes:1
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
 [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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-08 21:39 UTC] alan_k@php.net
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.







 [2003-11-17 18:18 UTC] sniper@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC