Re: Compiling rep-gtk on Slackware 12.0



On Wed, Apr 30, 2008 at 09:41:33AM -0400, Joel J. Adamson wrote:
> Luis Rodrigo Gallardo Cruz <rodrigo nul-unu com> writes:
> 
> > On Tue, Apr 29, 2008 at 01:42:39PM -0400, Joel J. Adamson wrote:
> >> Hello Sawfish,
> >> 
> >> I've been trying for several weeks with different variables (versions,
> >> etc) to compile rep-gtk.  Hopefully you can help me with this error
> >> message.  Furthermore, if you're aware of a Slackware package or
> >> SlackBuild, that would be a more expedient solution.
> >> ============================================================
> >> /home/joel: ZShell> cd ~/SlackBuilds/rep-gtk/
> >> /home/joel/SlackBuilds/rep-gtk: ZShell>  svn co svn://svn.gnome.org/svn/rep-gtk/trunk rep-gtk
> >> A    rep-gtk/rep-gnome.h
> >> ... 
> >> A    rep-gtk/install-sh
> >>  U   rep-gtk
> >> Checked out revision 350.
> >> /home/joel/SlackBuilds/rep-gtk: ZShell> cd rep-gtk
> >> /home/joel/SlackBuilds/rep-gtk/rep-gtk: ZShell> aclocal; autoconf
> >> /usr/share/aclocal/speex.m4:10: warning: underquoted definition of XIPH_PATH_SPEEX
> >>   run info '(automake)Extending aclocal'
> >>   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
> >>
> >> [...]
> >
> > You seem to be missing automake macros. Look for them in -dev
> > packages and in auto* packages. It might be that slack installs them
> > outside aclocal's automatic paths, so you might need to add a -I
> > option somewhere.
> 
> Where would I add such an option?  All the macros (at least their
> corresponding files) listed with warnings were there in
> /usr/share/aclocal.

Your aclocal call. As the needed macros seem to be in the expected
dir, maybe try to see if you can tell aclocal to force regenerating
its output. Maybe some earlier output is blocking something.

 
> Update: if I copy the resulting command-line straight from the shell,
> and add --tag=CC, I get further:
> 
> mkdir gtk-2; /usr/libexec/rep/i486-slackware-linux-gnu/libtool --tag=CC \
> --mode=compile gcc -c  -DHAVE_CONFIG_H -I. -O2 -march=i486 -mtune=i686 \
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include \
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 \
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 \
> -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 \
> -I/usr/include/libpng12   -I/usr/include \
> -I/usr/libexec/rep/i486-slackware-linux-gnu     -I/usr/include/gtk-2.0 \
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   rep-types.c
> 
> =>
> 
> rep-types.c: In function 'sgtk_rep_to_list':
> rep-types.c:443: warning: ignoring return value of 'g_list_concat', declared with attribute warn_unused_result
> rep-types.c:464: warning: ignoring return value of 'g_list_concat',
> declared with attribute warn_unused_result
> 
> 
> /home/joel/SlackBuilds/rep-gtk/rep-gtk: ZShell> ls -l .libs/*.o
> -rw-r--r-- 1 joel users 9024 2008-04-30 09:40 .libs/rep-types.o
> 
> So that's progress, right?

It is :)

Try to look for the lines in the makefile that generate this
call. Another idea: The Makefile probably has a line defining
 LIBTOOL=libtool
If so, try changing that definition to 
 LIBTOOL=libtool --magic --options --you --find --about

-- 
Rodrigo Gallardo
GPG-Fingerprint: 7C81 E60C 442E 8FBC D975  2F49 0199 8318 ADC9 BC28

Attachment: signature.asc
Description: Digital signature



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