Re: cvs ./gen problems

Stephan Dahl <sdahl-yrwVVJnAJyJ/[email protected]>
Newsgroups gmane.network.instant-messaging.ayttm.user
Message-ID <[email protected]>
Hi,

ayttm-users-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote:
> Date: Sat, 12 Jun 2004 13:05:25 +0530 (IST)
> From: Philip Tellis <[email protected]>
> To: [email protected]
> Subject: Re: [Ayttm-users] cvs ./gen problems
> 
> Sometime Today, Laura Vance assembled some asciibets to say:
> 
> 
>># ./gen
>>ls: libltdl/*: No such file or directory
> 
> 
> hmm, what happens if you run libtoolize --copy --force --ltdl --automake
> 
> 
> 
>>acinclude.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
>>  run info '(automake)Extending aclocal'
> 
> 
> i think just downgrade automake.  i came across the same issues.  i
> think just use the exact version of automake mentioned in configure.ac
> (you'll have to look at the source to find out).
> 
> just a thought.  what does automake --version say?  do you have multiple
> versions of automake installed?  "rpm -qa | grep automake" will tell
> you.
> 
> 
>>aclocal: configure.ac: 28: macro `AM_PROG_LIBTOOL' not found in library
>>aclocal: configure.ac: 167: macro `AM_PATH_GLIB' not found in library
>>aclocal: configure.ac: 169: macro `AM_PATH_GTK' not found in library
> 
> 
> I think aclocal is part of automake, so solving one will solve the
> other.
> 
> You will also need to install the gtk+-devel, glib-devel and gdk-devel
> packages before you can compile ayttm from source.  gdk-pixbuf-devel for
> webcam viewing support.
> 
> 
>>autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
> 
> 
> autoheader --version
> autoconf --version
> 
> do you have multiple versions installed?  "rpm -qa | grep autoconf" will
> tell you.
> 
> all the errors point to version differences in autotools.

When I went through this excercise in order to start working from CVS, I 
remember having problems because the distro (SuSE 7.3) kept some .m4 
files that autoconf needed in /usr/share/aclocal, whereas the default 
installation of autoconf targeted /usr/local/share/aclocal.

I eventually changed the gen script to explicitly include the paths to 
aclocal - here's a patch:

Index: gen
===================================================================
RCS file: /cvsroot/ayttm/ayttm/gen,v
retrieving revision 1.7
diff -u -r1.7 gen
--- gen 9 Jan 2004 19:10:09 -0000       1.7
+++ gen 13 Jun 2004 10:39:43 -0000
@@ -50,7 +50,7 @@
  libtoolize --copy --force --ltdl --automake
  check_gettext
  aclocal=`which aclocal-1.7 2>/dev/null` || aclocal=`which aclocal-1.6 
2>/dev/null` || aclocal='aclocal'
-$aclocal -I m4 $ACLOCAL_FLAGS
+$aclocal -I m4 -I /usr/local/share/aclocal -I /usr/share/aclocal 
$ACLOCAL_FLAGS autoheader
  automake=`which automake-1.7 2>/dev/null` || automake=`which 
automake-1.6 2>/dev/null` || automake='automake'
  $automake -a -c

It may work for you too.


Regards,
-- 
Stephan (sdahl-yrwVVJnAJyJ/[email protected])
Any stone in your boot always migrates against the pressure gradient to
exactly the point of most pressure.
		-- Milt Barber
smime.p7s (application/x-pkcs7-signature, 3.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.