Re: [gtk-list] Re: guile-gtk-0.14 problems with gtk+-1.2



Marius Vollmer wrote:
> 
> Ramses Morales <ramses@computer.org> writes:
> 
> > I'm having problems trying to compile guile-gtk with gtk 1.2.
> 
> Yes, that's a known problem.  Gregory McLean has already solved this
> in the GNOME CVS repo.  I'll look thru his changes and then release
> guile-gtk-0.15 which will work with gtk-1.2 (but not with 1.1).
> 
> > I changed the files configure and configure.in to work with gtk 1.2,
> > changing the test of minor version from 1 to 2, but make fails with...
> >
> > make: Circular aclocal.m4 <- aclocal.m4 dependency dropped.
> > cd. && aclocal -I .
> > aclocal: configure.in: 17: macrk `AM_PATH_GTK' not found in library
> > make: *** [aclocal.m4] Error 1
> 
> I think this is not a 1.2 problem.  Looks like you have a messed up
> automake/gtk installation.  Did you install the two packages with the
> same prefix?  If not, you might want to
> 

I installed automake from the RPM in the extra-src/ dir in gnome-ftp.

To install gtk and glib (1.2) I just did:
under glib 1.1.16 and then gtk src dir:
#make uninstall

under glib src dir:
#CC=egcs CFLAGS="-O6 -mpentium -malign-loops=2 -malign-jumps=2
-malign-functions=2" ./configure --disable-static; make ; make install;
make clean ; ldconfig -v

under gtk src dir:
#CC=egcs CFLAGS="-O6 -mpentium -malign-loops=2 -malign-jumps=2
-malign-functions=2" ./configure --disable-static --disable-xim; make ;
make install; make clean ; ldconfig -v


>   % cp <pfx-of-gtk>/share/aclocal/gtk.m4 <pfx-of-automake>/share/aclocal
>
 
gtk is under /usr/local (tarball install) and automake under /usr (RPM
install). They didn't need the same prefix before.

> or find a more elegant solution to make aclocal find the file gtk.m4
> 
> - Marius
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]