Re: Compile Error with slrn 0.9.8.lpl2?

Troy Piggins <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
* Thomas Wiegner is quoted & my replies are inline below :
> * Andrew Strong ([email protected]) wrote [Fri, 070713 11:18]:
> 
> >  I am trying to compile the following file:
> 
> > slrn_0.9.8.1pl2~cvs20070125.orig.tar.gz
> 
> > from the Debian ftp site:
> 
> > ftp://ftp.debian.org/debian/pool/main/s/slrn/
> 
> > But I get the following errors in compile.log:
> 
> > configure:1826: error: cannot find install-sh or install.sh in
> > autoconf "."/autoconf
> 
> > This using GNU Autoconf 2.61. My apologies if I am pointing out an
> > error in my setup rather than a problem with this slrn source package
> > :-)
> 
> No, it's a bug in the slrn_0.9.8.1pl2~cvs20070125.orig.tar.gz
> package, take a look in the autoconf subdirectory, the problem is
> related to *automake* rather than *autoconf*.
> 
> There are some soft links to /usr/share/automake-1.10/ which of
> course only work if you've got automake 1.10 installed on your
> machine. You should either install automake 1.10 or replace the
> links with appropriate /usr/share directory of your installed
> automake version.

I'm trying to install the cvs version, saw this email and thought it might
solve problems I'm having.  However I couldn't find the soft links you refer
to:

$ pwd
/home/troy/downloads/slrn/cvs/slrn
$ grep -r automake *
autogen.sh:(automake --version) < /dev/null > /dev/null 2>&1 || {
autogen.sh:     echo "You must have automake installed to compile slrn";
autogen.sh:automake --foreign --add-missing;
changes.txt:  * Upgrade to more recent versions of gettext, automake and
autoconf.
changes.txt:3. Switched to automake to generate Unix Makefiles (which required
renaming
doc/Makefile.am:## Process this file with automake to produce Makefile.in -*-
sh -*-
doc/tm/Makefile.am:## Process this file with automake to produce Makefile.in
-*- sh -*-
doc/tm/Makefile.am:## Based on the Makefile by John E. Davis, adapted to
automake.
Makefile.am:## Process this file with automake to produce Makefile.in -*- sh
-*-
Makefile.am:## Use aclocal -I autoconf/ && automake --foreign
src/Makefile.am:## Process this file with automake to produce Makefile.in -*-
sh -*-

I am using automake 1.10 anyway.

$ ./autogen.sh
[snip]
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
configure.in:10: error: Autoconf version 2.60 or higher is required
/usr/local/share/aclocal-1.10/init.m4:103: AM_INIT_AUTOMAKE is expanded from...
configure.in:10: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: autom4te failed with exit status: 63
autoheader: error: AC_CONFIG_HEADERS not found in configure.in
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
src/Makefile.am: installing `autoconf/depcomp'
/usr/local/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear in
AM_CONDITIONAL
/usr/local/share/automake-1.10/am/depend2.am:   The usual way to define
`am__fastdepCC' is to add `AC_PROG_CC'
/usr/local/share/automake-1.10/am/depend2.am:   to `configure.in' and run
`aclocal' and `autoconf' again.
/usr/local/share/automake-1.10/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/local/share/automake-1.10/am/depend2.am:   The usual way to define `AMDEP'
is to add one of the compiler tests
/usr/local/share/automake-1.10/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX,
AC_PROG_CXX, AC_PROG_OBJC,
/usr/local/share/automake-1.10/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ,
AM_PROG_UPC
/usr/local/share/automake-1.10/am/depend2.am:   to `configure.in' and run
`aclocal' and `autoconf' again.
src/Makefile.am: C source seen but `CC' is undefined
src/Makefile.am:   The usual way to define `CC' is to add `AC_PROG_CC'
src/Makefile.am:   to `configure.in' and run `autoconf' again.
configure.in:7: error: possibly undefined macro: AM_MAINTAINER_MODE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:10: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.in:54: error: possibly undefined macro: AM_GNU_GETTEXT
configure.in:55: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
configure.in:411: error: possibly undefined macro: AM_CONFIG_HEADER
configure: error: cannot find install-sh or install.sh in autoconf ./autoconf

-- 
Troy Piggins | http://piggo.com/~troy                             
                                            ___  |   __   __    ,-O   (o-    O 
slrn macros and howto:                     |___  | |/   |/  |  O   )  //\     O
http://piggo.com/~troy/slrn                 ___| | |    |   |   `-O   V_/_  OOO

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
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.