Re: Re: cvs ./gen problems

Laura Vance <[email protected]>
Newsgroups gmane.network.instant-messaging.ayttm.user
Organization Software Engineer
Message-ID <[email protected]>
Stephan Dahl wrote:

> Hi,
>
> 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.


When I tried to modify the line, the list of errors shrunk to a very 
small list.  When I looked into the directory "/usr/share/aclocal/" I 
didn't see an "autoconf.m4" file at all.  I also looked into the other 
aclocal directory and didn't see the autoconf.m4 file.

Mine didn't like the "autoheader" at the end of the modified line; 
however, it does have a smaller error list.  I'm going to go ahead and 
try what Phillip was talking about with the versions of automake and 
autoconf.

Thanks for the suggestion though.

-Laura



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
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.