Re: Relative paths in generator
| From: | Andrei Zmievski | Date: | Mon, 25 Apr 2005 16:24:08 +0000 |
| Subject: | Re: Relative paths in generator | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1123@lists.php.net to get a copy of this message | ||
Are you using CGI or CLI version of PHP? Are you configuring and running make in the php-gtk directory or from outside of it? Can you cut & paste the shell execution of generator? Mine is:
guest-111% make
( \
/usr/local/php5//bin/php /Users/andrei/dev/php-gtk/generator/generator.php \
-l ext/gtk+/gen_gdk.log \
-r ext/gtk+/atk-types.defs \
-r ext/gtk+/pango-types.defs \
-r ext/gtk+/gdk-types.defs \
-r ext/gtk+/gtk-types.defs \
-o ext/gtk+/gdk.overrides \
-p gdk \
-f ext/gtk+/gen_gdk.c ext/gtk+/gdk.defs \
&& grep -h "^PHP_GTK_EXPORT_CE" ext/gtk+/gen_gdk.c | sed -e "s!^!extern !" > ext/gtk+/gen_gdk.h \
)
^Cmake: *** [ext/gtk+/gen_gdk.c] Interrupt
guest-111% pwd
/Users/andrei/dev/php-gtk
-Andrei
On Apr 25, 2005, at 7:15 AM, Scott Mattocks wrote:
Hello, I am getting close to having a working PHP-GTK 2 but I am running into some troubles with generator.php and friends. The file paths (ext/gtk+/atk.overrides, etc...) are all relative but the script isn't changing directories when needed. I put a little check into overrides.php but other files are still complaining (scheme.php). Before I go crazy updating all of these scripts, is there something else I should be doing? Or is my set up wrong? Thanks, -- Scott Mattocks scott@crisscott.com http://www.crisscott.com -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php