Re: gCvs on AMD64 not picking up correct automake

Richard Wirth <[email protected]> Thu, 30 Dec 2004 13:39:04 +0100
Newsgroups gmane.comp.version-control.cvs.gui.devel
Organization Ing.Büro Richard Wirth
Message-ID <[email protected]>
Hello Guy,

Thursday, December 30, 2004, 3:18:52 AM, you wrote:


GR> I'm working on the gtk2 build for gcvs.  Starting with a fresh extract
GR> from cvs, I get this error during autogen:

GR> aclocal: configure.in: 230: macro `AM_PATH_PYTHON' not found in library
GR> aclocal: macro `AM_PATH_PYTHON' required but not defined

GR> I figured out that this is happening because the /usr/bin/aclocal
GR> wrapper is defaulting to version 1.4, which is too old to resolve this
GR> macro.  Here is what the top of that wrapper says:

GR> # - defaults to automake-1.4
GR> # - runs automake-1.8 if it exists and...
GR> #   - envvar WANT_AUTOMAKE is set to `1.8'
GR> #     -or-
GR> #   - `Makefile.in' was generated by automake-1.8 or superior, which
GR> #     specifically needs automake-1.8
GR> #     -or_
GR> #   - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of
GR> 1.8

GR> It goes on to say similar things for 1.7, 1.6 and 1.5 (though not
GR> exactly the same for each.)  I'd like to submit a fix for this but don't
GR> really know the correct approach; I temporarily just set
GR> WANT_AUTOMAKE=1.8 and exported it at the top of am_macros/autogen.sh.
GR> By trial and error, it looks like versions 1.6 and later all work.
GR> Where is the correct place to specify this minimum required version?

I think the whole am_macros/autogen.sh is not the perfect solution. I
would like to get work by the simple 'configure - make - make install'
paradigm.
But we are in alpha stage at the moment.
So for the moment I'm using the sequence:
cd source_dir
rm -f ltmain.sh ltconfig config.guess config.sub
aclocal -I./am_macros
autoheader
automake
autoconf

cd ../build_dir
../source_dir/configure [options...]
make


for my x86_64 build the configure options are:
--with-gnu-ld
--libdir=/usr/local/lib64
--with-tcllib=/usr/lib64
--with-pylib=/usr/lib64/python2.3/config
--with-pyinclude=/usr/include/python
CFLAGS="-gdwarf-2 -O0 -Wall"
CXXFLAGS="-gdwarf-2 -O0 -Wall"

Versions I'm using on x86_64:
automake 1.9.1
libtool 1.5.8
autoconf 2.59



(on some platforms it may be usefull to call libtoolize after
automake)

-- 
Best regards,
 Richard                            mailto:[email protected]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/NhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cvsgui-dev/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/