Re: Compiling rep-gtk on Slackware 12.0



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.

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?

Joel
-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109
Public key: http://pgp.mit.edu
http://www.unc.edu/~adamsonj

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.





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