Re: Getting PHP-GTK 2 from CVS
| From: | Christopher Logan | Date: | Wed, 06 Jul 2005 15:57:04 +0000 |
| Subject: | Re: Getting PHP-GTK 2 from CVS | ||
| References: | 1 2 3 4 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1430@lists.php.net to get a copy of this message | ||
Ok got libglade and libglade-devel ./configure worked all the way through with no problems that I see typed make and get a bunch of errors from glib2 I have to be missing something but have checked and can't find anything:
/usr/include/glib-2.0/gobject/gparam.h:30: error: syntax error before 'G_BEGIN_DECLS'
/usr/include/glib-2.0/gobject/gparam.h:49: error: syntax error before 'typedef'
/usr/include/glib-2.0/gobject/gparam.h:141: error: syntax error before 'gchar'
/usr/include/glib-2.0/gobject/gparam.h:142: error: syntax error before 'gchar'
/usr/include/glib-2.0/gobject/gparam.h:143: error: syntax error before 'gchar'
/usr/include/glib-2.0/gobject/gsourceclosure.h:28: error: syntax error before 'G_BEGIN_DECLS'
/usr/include/glib-2.0/gobject/gsourceclosure.h:30: error: syntax error before 'void'
/usr/include/glib-2.0/gobject/gsourceclosure.h:30: error: syntax error before '*' token
In file included from /usr/include/glib-2.0/glib-object.h:33,
from /root/php-gtk/main/php_gtk.h:56,
from /root/php-gtk/./ext/gtk+/php_gtk+.c:23:
/root/php-gtk/./ext/gtk+/php_gtk+.c:162: warning: assignment makes pointer
from integer without a cast
make: *** [ext/gtk+/php_gtk+.lo] Error 1
Any ideas on what this is? I think I remember reading that it would
compile with the newest version of GCC or Make would that be the problem?
I'm running Fedora Core 4 with Make 3.80 and GCC 4.0.
Running ./buildconf a second time fixed the problem. Just got to get libglade now and I should have it.Ok next issue, when I got the source from: cvs -d :pserver:cvsread@cvs.php.net:/repository co php-gtk Which is hopefully right, I do ./buildconf but the configure comes back as a blank file. So I thought that my download could of be bad so redownloaded it from cvs. Still same problem am I doing something wrong?-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpDon't use any branches. PHP-GTK 2 stuff is on HEAD. On Jul 5, 2005, at 2:56 PM, Christopher Logan wrote:-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpWhat is the address to get PHP-GTK 2 from cvs? I finally got PHP 5.1 installed it was the development package of libxml2. I tried cvs -d :pserver:cvsread@cvs.php.net:/repository co -r PHP_GTK_1 php-gtk but thats PHP-GTK 1 and I tried cvs -d :pserver:cvsread@cvs.php.net:/repository co -r PHP_GTK_2 php-gtk I also tried to login with cvs -d :pserver:cvsread@cvs.php.net:/repository login password: phpfi but with no luck. -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php