Re: Trouble Installing
Hi Scott, On Wed, 13 Jun 2007 19:20:36 -0400 you wrote: Here's more context: gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\Gdk\ -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include /pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -DG_DISABLE_DEPRECATED -g -O2 -Wall -MT gdkkeynames.lo -MD -MP -MF .deps/gdkkey names.Tpo -c gdkkeynames.c -DPIC -o .libs/gdkkeynames.o /bin/sh ../libtool --mode=link gcc -DG_DISABLE_DEPRECATED -g -O2 -Wall -o lib gdk-win32-2.0.la -Wl,win32/rc/gdk-win32-res.o -export-symbols ./gdk.def -versio n-info 1000:9:1000 -export-dynamic -rpath /usr/lib -no-undefined -export-symbols ^^ -regex ^[^_].* gdk.lo gdkcairo.lo gdkcolor.lo gdkcursor.lo gdkdisplay.lo gdk dnd.lo gdkdraw.lo gdkevents.lo gdkfont.lo gdkgc.lo gdkglobals.lo gdkkeys.lo gdkk eyuni.lo gdkimage.lo gdkdisplaymanager.lo gdkpango.lo gdkpixbuf-drawable.lo gdkp ixbuf-render.lo gdkpixmap.lo gdkpolyreg-generic.lo gdkrgb.lo gdkrectangle.lo gdk region-generic.lo gdkscreen.lo gdkselection.lo gdkvisual.lo gdkwindow.lo gdkenum types.lo gdkkeynames.lo win32/libgdk-win32.la -lgdi32 -user32 -limm32 -lshell32 -lole32 -Wl,-luuid -L/usr/X11R6/lib -lpangowin32-1.0 -lpangocairo-1.0 -lcairo -l Xrender -lSM -lICE -lX11 -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lgmodule- 2.0 -lglib-2.0 -lintl -liconv -lfreetype -lfontconfig -lexpat -lpng12 -lz -lm .. /gdk-pixbuf/libgdk_pixbuf-2.0.la -lintl libtool: link: more than one -exported-symbols argument is not allowed Well, it's not wrong. The question is why the makefile has ended up giving that option twice. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble Installing
Thanks for bearing with me: I don't deal much with autotools/C so this is unfamiliar territory. So is that what you want to build then, GTK+ with the Win32 (GDI) backend? (But still as a Cygwin DLL?) I want to build with whatever backend will work. How do I specifically build for Win32? Any idea where do the -lfreetype -lfontconfig come from? What pango and cairo are you planning on using for the GTK+ you are building? I'm have no idea about -lfreetype or -lfontconfig. I've installed pango-1.16.4 and cairo-1.4.6. We need to see the full argument list, which means the full command rather than the truncated tail end. Given that -lintl appears twice in the snippet you have posted, I wonder what else appears twice in the bit you cut. Here's more context: gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\Gdk\ -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include /pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -DG_DISABLE_DEPRECATED -g -O2 -Wall -MT gdkkeynames.lo -MD -MP -MF .deps/gdkkey names.Tpo -c gdkkeynames.c -DPIC -o .libs/gdkkeynames.o /bin/sh ../libtool --mode=link gcc -DG_DISABLE_DEPRECATED -g -O2 -Wall -o lib gdk-win32-2.0.la -Wl,win32/rc/gdk-win32-res.o -export-symbols ./gdk.def -versio n-info 1000:9:1000 -export-dynamic -rpath /usr/lib -no-undefined -export-symbols -regex ^[^_].* gdk.lo gdkcairo.lo gdkcolor.lo gdkcursor.lo gdkdisplay.lo gdk dnd.lo gdkdraw.lo gdkevents.lo gdkfont.lo gdkgc.lo gdkglobals.lo gdkkeys.lo gdkk eyuni.lo gdkimage.lo gdkdisplaymanager.lo gdkpango.lo gdkpixbuf-drawable.lo gdkp ixbuf-render.lo gdkpixmap.lo gdkpolyreg-generic.lo gdkrgb.lo gdkrectangle.lo gdk region-generic.lo gdkscreen.lo gdkselection.lo gdkvisual.lo gdkwindow.lo gdkenum types.lo gdkkeynames.lo win32/libgdk-win32.la -lgdi32 -user32 -limm32 -lshell32 -lole32 -Wl,-luuid -L/usr/X11R6/lib -lpangowin32-1.0 -lpangocairo-1.0 -lcairo -l Xrender -lSM -lICE -lX11 -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lgmodule- 2.0 -lglib-2.0 -lintl -liconv -lfreetype -lfontconfig -lexpat -lpng12 -lz -lm .. /gdk-pixbuf/libgdk_pixbuf-2.0.la -lintl libtool: link: more than one -exported-symbols argument is not allowed make[4]: *** [libgdk-win32-2.0.la] Error 1 make[4]: Leaving directory `/home/Scott/downloads/gtk+-2.10.9/gdk' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/Scott/downloads/gtk+-2.10.9/gdk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/Scott/downloads/gtk+-2.10.9/gdk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Scott/downloads/gtk+-2.10.9' make: *** [all] Error 2 ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble Installing
On Wed, 6 Jun 2007 18:48:02 -0400 Scott Peterson [EMAIL PROTECTED] wrote: I'm building gtk+-2.10.9 on Cygwin and I've hit a bit of a snag. Here's the error: There's some potentially important information missing here - we've only got the tail end of whatever (libtool) command is failing. -lglib-2.0 -lintl -liconv -lfreetype -lfontconfig -lexpat -lpng12 -lz -lm ../gdk-pixbuf/libgdk_pixbuf-2.0.la -lintl The presence of two requests to link with the intl library looks suspicious (though not necessarily the cause of the error). libtool: link: more than one -exported-symbols argument is not allowed We need to see the full argument list, which means the full command rather than the truncated tail end. Given that -lintl appears twice in the snippet you have posted, I wonder what else appears twice in the bit you cut. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble Installing
I have Cygwin on Windows. I downloaded the 2.10.9 source. When I configured it, it said, target: win32. When I make, I get this error. On 6/7/07, Tor Lillqvist [EMAIL PROTECTED] wrote: Scott Peterson writes: I'm building gtk+-2.10.9 on Cygwin and I've hit a bit of a snag. -lglib-2.0 -lintl -liconv -lfreetype -lfontconfig -lexpat -lpng12 -lz -lm ../gdk-pixbuf/libgdk_pixbuf-2.0.la -lintl libtool: link: more than one -exported-symbols argument is not allowed make[4]: *** [libgdk-win32-2.0.la] Error 1 (Sorry, I don't know the reason for the more than one -exported-symbols error.) But, you are building for Cygwin, and you link with -lfreetype and -lfontconfig, but then what you are actually linking here is the libgdk-win32 library? Something is seriously confused here. Freetype and fontconfig are involved only in a GTK+ with the X11 backend. libgdk-win32 is GDK with the Win32 (GDI) backend. What is it actually that you are building? --tml -- Scott. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble Installing
Scott Peterson writes: I have Cygwin on Windows. I downloaded the 2.10.9 source. When I configured it, it said, target: win32. So is that what you want to build then, GTK+ with the Win32 (GDI) backend? (But still as a Cygwin DLL?) Any idea where do the -lfreetype -lfontconfig come from? What pango and cairo are you planning on using for the GTK+ you are building? --tml ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble Installing Pango
While trying to install pango 1.5.1 near the (seemingly) end of compilation I get the following errors: /home/mlake/pango-1.5.1/pango/.libs/libpangoft2-1.0.so: undefined reference to `g_type_instance_get_private' /home/mlake/pango-1.5.1/pango/.libs/libpangoft2-1.0.so: undefined reference to `g_type_class_add_private' /home/mlake/pango-1.5.1/pango/.libs/libpango-1.0.so: undefined reference to `g_unichar_get_mirror_char' These are GLib-2.4 things. You need GLib-2.4. I'm sure Pango README mentions this dependency. I successfully installed GLib-2.5 and I'm getting the same errors when trying to install pango 1.5.1. The GLib version doesn't have to be exactly 2.4, does it? What else could be causing the errors? -- Marshall Lake -- [EMAIL PROTECTED] -- http://mlake.net ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble Installing Pango
Hi, Marshall Lake [EMAIL PROTECTED] writes: While trying to install pango 1.5.1 near the (seemingly) end of compilation I get the following errors: /home/mlake/pango-1.5.1/pango/.libs/libpangoft2-1.0.so: undefined reference to `g_type_instance_get_private' /home/mlake/pango-1.5.1/pango/.libs/libpangoft2-1.0.so: undefined reference to `g_type_class_add_private' /home/mlake/pango-1.5.1/pango/.libs/libpango-1.0.so: undefined reference to `g_unichar_get_mirror_char' These are GLib-2.4 things. You need GLib-2.4. I'm sure Pango README mentions this dependency. I successfully installed GLib-2.5 and I'm getting the same errors when trying to install pango 1.5.1. The GLib version doesn't have to be exactly 2.4, does it? What else could be causing the errors? You may have glib = 2.4 installed but are you sure that it is also used by the linker? Your errors seem to indicate that an older version of glib is being used. Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble Installing Pango
Marshall Lake wrote: [undefined references] On my system (Slackware 9), the undefined references (started with 2.4) were due to libtool adding the older versions of the libraries (in /usr/lib) in front of the newer versions (in /usr/local/lib) as part of the link command. I fiddled with ld.so.config and libtool for days with no success, so I ended up editing the *.la files by hand to get everything to link to the proper libraries. There is a newer version of libtool out that may or may not fix the problem. -- --- Mark Leisher In a time of drastic change it is the Computing Research Lablearners who inherit the future. The New Mexico State University learned usually find themselves equipped Box 30001, Dept. 3CRL to live in a world that no longer exists. Las Cruces, NM 88003 -- Eric Hoffer ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble installing GTK+
Ian Allman wrote: I want to develop Graphical User Interfaces on the Linux Framebuffer. I have downloaded GTK+-2.4.4 and the necessary glib and pango requirements. I configure GTK with ./configure --with-gdktarget=linux-fb However the make command results in the following errors: gdkwindow-fb.c:1445: conflicting types for `gdk_window_set_background' ../../gdk/gdkwindow.h:435: previous declaration of `gdk_window_set_background' You need this patch: diff -Naur gtk+-2.4.4.orig/gdk/linux-fb/gdkwindow-fb.c gtk+-2.4.4/gdk/linux-fb/gdkwindow-fb.c --- gtk+-2.4.4.orig/gdk/linux-fb/gdkwindow-fb.c 2004-07-10 05:02:09.0 +0100 +++ gtk+-2.4.4/gdk/linux-fb/gdkwindow-fb.c 2004-07-15 12:14:05.0 +0100 @@ -1440,7 +1440,7 @@ } void -gdk_window_set_background (const GdkWindow *window, +gdk_window_set_background (GdkWindow *window, const GdkColor *color) { GdkWindowObject *private = (GdkWindowObject *)window; @@ -2342,3 +2342,10 @@ return (GdkWindow*) (anid); } + +void +_gdk_windowing_window_destroy_foreign (GdkWindow *window) +{ + +} + Best regards, José Gonçalves ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble Installing Pango
[undefined references] On my system (Slackware 9), the undefined references (started with 2.4) were due to libtool adding the older versions of the libraries (in /usr/lib) in front of the newer versions (in /usr/local/lib) as part of the link command. I fiddled with ld.so.config and libtool for days with no success, so I ended up editing the *.la files by hand to get everything to link to the proper libraries. There is a newer version of libtool out that may or may not fix the problem. I installed the latest version of libtool and that didn't help. So, then I changed the pertinent .la files (actually just copied over the newer ones) and all's well. Thanks for the push in the right direction. -- Marshall Lake -- [EMAIL PROTECTED] -- http://mlake.net ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble Installing Pango
On Tue, Jul 20, 2004 at 02:25:09PM -0400, Marshall Lake wrote: While trying to install pango 1.5.1 near the (seemingly) end of compilation I get the following errors: /home/mlake/pango-1.5.1/pango/.libs/libpangoft2-1.0.so: undefined reference to `g_type_instance_get_private' /home/mlake/pango-1.5.1/pango/.libs/libpangoft2-1.0.so: undefined reference to `g_type_class_add_private' /home/mlake/pango-1.5.1/pango/.libs/libpango-1.0.so: undefined reference to `g_unichar_get_mirror_char' These are GLib-2.4 things. You need GLib-2.4. I'm sure Pango README mentions this dependency. Yeti -- Do not use tab characters. Their effect is not predictable. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble installing GtkGlArea
I downloaded the GtkGlArea widget from: http://www.student.oulu.fi/~jlof/gtkglarea/index.html And, following the instructions, ran configure (worked fine), and then make, and got this error: gdkgl.c:33: GL/gl.h: No such file or directory gdkgl.c:34: GL/glx.h: No such file or directory make[1]: *** [gdkgl.lo] Error 1 You are probably missing the Mesa library which is a free implementation of OpenGL. You can grab it from mesa3d.sourceforge.net. Wolfgang ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble installing GtkGlArea
You are probably missing the Mesa library which is a free implementation of OpenGL. You can grab it from mesa3d.sourceforge.net. Wolfgang Thanks, I found the relevant files at mesa3d and it worked perfectly. :-) jca ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list