[ptx] Hugin Patches for GCC 3.4.1

Emmanuel Favre-Nicolin emmanuel at favre-nicolin.net
Tue Jul 6 07:09:30 BST 2004


Le mardi 6 Juillet 2004 06:23, Douglas Wilkins a écrit :
> On Tue, 2004-07-06 at 00:17 +0200, Emmanuel Favre-Nicolin wrote:
> [snip]
>
> > I used http://hugin.sourceforge.net/snapshots/hugin_2004_07_03-17_50.tgz
> > and updated to CVS of 5 July 2004 (in the evening). I applied patches 03,
> > 04, 05 and 06.
> > during make install there are some errors :
> >
> >     ---- Compiling UniversalCursor.cpp (C++)
> > g++ -I. -I../include -Wall -O2 -I/usr/lib/wx/include/gtk2-2.4
>
>                                                        ^^^^^^^^
>
> > -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> > -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
>
>                  ^^^^^^^
>
> > -I/usr/X11R6/include -I../  -I../foreign  -c -o .obj/UniversalCursor.o
>
> It seems that you are using wxwindows for gtk2 with the gtk-1.2 library?
> perhaps you could check this?

Humm !

gtk-config --libs --cflags
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 
-lm

I've got (have to with mandrake 10.0) a mixture of libgtk 1.2 and 2.0. 
What should I change?

rpm -qa|grep gtk
libgtk+1.2-1.2.10-38mdk
libgtksourceview-1.0_0-0.7.0-1mdk
libwxgtk2.4-devel-2.4.2-1mdk
ocaml-lablgtk-1.2.6-1mdk
libgtkmm2.0_1-2.2.9-1mdk
libgtk+-x11-2.0_0-2.2.4-9mdk
gtk+2.0-2.2.4-9mdk
gtkdialogs-2.1-1mdk
libgtkhtml2_0-2.4.1-2mdk
pygtk2.0-2.0.0-2mdk
gtk-engines2-2.2.0-5mdk
gtk-engines-0.12-8mdk
libgtkhtml-3.0_4-3.0.10-1mdk
pygtk-0.6.11-4mdk
libgtkglarea2.0-1.99.0-7mdk
libgtk+2.0_0-devel-2.2.4-9mdk
libwxgtk2.4-2.4.2-1mdk
libgtk+2.0_0-2.2.4-9mdk
gtksourceview-0.7.0-1mdk
pygtk2.0-wrapper-2.0.0-2mdk
gtk-themes-1.0-10mdk
gtkhtml3.0-3.0.10-1mdk
libwxgtkgl2.4-2.4.2-1mdk
libgtk+1.2-devel-1.2.10-38mdk
libwxgtk2.5-2.5.0-0.cvs20030817.1mdk

> > I hope I did it well, I will also try the one patch version.
>
> If these are the only errors you got, then the patches applied just fine

I hope but I haven't been looking at every single line during the processing 
of make .. (do you use a king of automatic way to catch errors during 
building?)

Regards,
Emmanuel


More information about the ptX mailing list