brian betts <alertque <at> yahoo.com> writes:

> 
> This is fixed. I followed JF Mertens archived
> explanation from last year:
> 
> http://sourceforge.net/mailarchive/forum.php?
forum_id=3200&style=flat&viewday=23&viewmonth=200403
> 
> I renamed /sw/include/gal temporarily and gtkhtml3 was
> able to pick up header gnome-defs.h from gal2.0. 
> 
> Fight on!
> 
> --- brian betts <alertque <at> yahoo.com> wrote:
> 
> > Hi again.  I have the header in 
> > 
> > /sw/include/gnome-1.0/libgnome/gnome-defs.h
> > 
> > By the way, here is an archive link to a similar
> > problem, but not sure if its been resolver.  
> > 
> >
> http://sourceforge.net/mailarchive/forum.php?
forum_id=3200&style=flat&viewday=23&viewmonth=200403
<snip>

As a follow-up to the earlier discussion, I, too, have been having issues 
compiling gtkhtml3-3.0.10-10 on 10.4.

I had the following error, repeatedly:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I/sw/include -DORBIT2=1 -I/sw
/include/libgnomeui-2.0 -I/sw/include/libgnome-2.0 -I/sw/include
/libgnomecanvas-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libart-2.0 -I
/sw/include/gconf/2 -I/sw/include/libbonoboui-2.0 -I/sw/include
/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/orbit-2.0 -I/sw/include
/libbonobo-2.0 -I/sw/include/gnome-vfs-2.0 -I/sw/lib/gnome-vfs-2.0
/include -I/sw/include/bonobo-activation-2.0 -I/sw/include/pango-1.0
 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/lib/gtk-2.0
/include -I/sw/include/atk-1.0 -I/sw/include/libxml2 -I/sw/include 
-I/sw/include/libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2 -I
/sw/include/libglade-2.0 -I/sw/include/gal-2.0 -I/sw/include/soup-2.0
 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -DG_LOG_DOMAIN=
\"gtkhtml\" -DSRCDIR=\".\" -DPREFIX=\"/sw\" -no-cpp-precomp -I/sw
/include -DICONDIR=\"/sw/share/gtkhtml-3.0/icons\" -O3 -funroll-loops
 -fstrict-aliasing -c htmlcluealigned.c  -fno-common -DPIC -o .libs
/htmlcluealigned.o
htmlcluealigned.c:29: error: static declaration of 'html_cluealigned_class'
 follows non-static declaration
htmlcluealigned.h:41: error: previous declaration of
 'html_cluealigned_class' was here
make[2]: *** [htmlcluealigned.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### execution of glibtoolize failed, exit code 2

I fixed it by modifying the source as noted in the CVS patch notes on 
2005/02/03:

2005-02-03  Radek Doulik  <[EMAIL PROTECTED]>
<snip>
        * htmlcluealigned.h: removed declaration of html_cluealigned_class
        to fix compilation with gcc 4.0.0 (fix by amd)

And managed to sucessfully build and install the package.

Thanks!



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to