Fix for GtkScintilla2
| From: | Fernando Correa da Conceição | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Fix for GtkScintilla2 | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-7510@lists.php.net to get a copy of this message | ||
GtkScintilla2.0.1.0 has a bug which it compiles but the php-gtk with it
enabled do not work, at least for me on ubuntu 6.06, so I can not use
the GtkScintilla on it, which is bad :)
When you try to use it, there is a undefined reference to g_thread_init,
the fix is simple: Open the make file file for GtkScintilla2, in the line
LDFLAGS_PRE = $(shell pkg-config --libs gtk+-2.0) -DGTK2
Change it to:
LDFLAGS_PRE = $(shell pkg-config --libs gtk+-2.0 gthread-2.0) -DGTK2
--
Fernando Correa da Conceição
fernandoc@php.net
icq: 168518047 msn: fernandocphp@hotmail.com
http://manualphp.sf.net
Participe da tradução do manual do PHP