[rrd-users] Re: problem building rrdtool-1.1.x
Tobias Oetiker
oetiker at ee.ethz.ch
Wed Jan 21 08:08:28 MET 2004
Hi Eric,
try replacing the -I/usr/pack/libtool-1.5-to/share/aclocal with a
path to wherever your installation of libtool sits ... it may also
be that automake 1.8 is the problem ...
have you tried the snapshot off the beta directory ?
cheers
tobi
Yesterday Eric Ho wrote:
> Hi,
>
> Just wondering if anyone has had problems in building rrdtool-1.1.x
>
> I got this error while building it.
>
> Did I do something wrong ?
>
> I got my copy of rrdtool-1.1.x via:
>
> =============================
>
> cvs -d :pserver:anonymous at cvs.ee.ethz.ch:/usr/cvs/rrdtool checkout program
>
> ==============================
>
> erich at gofish-{3:59pm 909 /home/erich/tmp/program}: ./MakeMakefile
> libtool --version = 1.5 (expected 1.5)
> automake --version = 1.8 (expected 1.7.9)
> autoconf --version = 2.59 (expected 2.58)
> + find+ xargs . rm -name -f Makefile
>
> + find .+ xargs -name rm *.la -f
>
> + find .+ xargs -name rm Makefile.in -f
>
> + find+ xargs . rm -name -r .libs
>
> + find+ xargs . rm -name -r .debs
>
> + rm -rf config
> + mkdir config
> + libtoolize --copy --force
> You should add the contents of `/usr/local/share/aclocal/libtool.m4' to `aclocal.m4'.
> Putting files in AC_CONFIG_AUX_DIR, `config'.
> + aclocal -I /usr/pack/libtool-1.5-to/share/aclocal
> acinclude.m4:6: warning: underquoted definition of INCLUDED_LIB
> run info '(automake)Extending aclocal'
> or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
> aclocal: couldn't open directory `/usr/pack/libtool-1.5-to/share/aclocal': No such file or directory
> + automake --foreign --add-missing --force-missing --copy --warnings=all
> configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
> configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
> configure.ac: that aclocal.m4 is present in the top-level directory,
> configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
> configure.ac: installing `config/install-sh'
> configure.ac: installing `config/missing'
> bindings/Makefile.am:4: shell for A in perl-*; do cat $$A/MANIFEST | sed -e s,^,$$A/, ; done: non-POSIX variable name
> bindings/Makefile.am:4: (probably a GNU make extension)
> bindings/tcl/Makefile.am:21: COMP_TCL does not appear in AM_CONDITIONAL
> doc/Makefile.am:43: Inference rules can have only one target before the colon (POSIX).
> doc/Makefile.am:52: Inference rules can have only one target before the colon (POSIX).
> doc/Makefile.am:68: user target `html' defined here...
> automake: ... overrides Automake target `html' defined here
> doc/Makefile.am:68: consider using html-local instead of html
> doc/Makefile.am:72: user target `pdf' defined here...
> automake: ... overrides Automake target `pdf' defined here
> doc/Makefile.am:72: consider using pdf-local instead of pdf
> src/Makefile.am:7: shell date: non-POSIX variable name
> src/Makefile.am:7: (probably a GNU make extension)
> src/Makefile.am:45: Libtool library used but `LIBTOOL' is undefined
> src/Makefile.am:45:
> src/Makefile.am:45: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
> src/Makefile.am:45: to `configure.ac' and run `aclocal' and `autoconf' again.
> src/Makefile.am: installing `config/depcomp'
> /usr/local/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
> bindings/Makefile.am:4: shell for A in perl-*; do cat $$A/MANIFEST | sed -e s,^,$$A/, ; done: non-POSIX variable name
> bindings/Makefile.am:4: (probably a GNU make extension)
> bindings/tcl/Makefile.am:21: COMP_TCL does not appear in AM_CONDITIONAL
> doc/Makefile.am:43: Inference rules can have only one target before the colon (POSIX).
> doc/Makefile.am:52: Inference rules can have only one target before the colon (POSIX).
> doc/Makefile.am:68: user target `html' defined here...
> automake: ... overrides Automake target `html' defined here
> doc/Makefile.am:68: consider using html-local instead of html
> doc/Makefile.am:72: user target `pdf' defined here...
> automake: ... overrides Automake target `pdf' defined here
> doc/Makefile.am:72: consider using pdf-local instead of pdf
> src/Makefile.am:7: shell date: non-POSIX variable name
> src/Makefile.am:7: (probably a GNU make extension)
> /usr/local/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
> /usr/local/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
> + autoconf --warnings=all --force
> configure.ac:266: warning: The macro `AC_TRY_COMPILE' is obsolete.
> configure.ac:266: You should run autoupdate.
> autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
> autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
> autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
> configure.ac:266: the top level
> configure.ac:298: warning: The macro `AC_TRY_LINK' is obsolete.
> configure.ac:298: You should run autoupdate.
> autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
> autoconf/functions.m4:74: AC_CHECK_FUNC is expanded from...
> autoconf/functions.m4:89: AC_CHECK_FUNCS is expanded from...
> configure.ac:298: the top level
> configure.ac:304: warning: The macro `AC_TRY_LINK' is obsolete.
> configure.ac:304: You should run autoupdate.
> configure.ac:304: the top level
> configure.ac:309: warning: The macro `AC_TRY_LINK' is obsolete.
> configure.ac:309: You should run autoupdate.
> configure.ac:309: the top level
> configure.ac:321: warning: The macro `AC_TRY_RUN' is obsolete.
> configure.ac:321: You should run autoupdate.
> autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
> configure.ac:321: the top level
> configure.ac:404: warning: The macro `AC_TRY_RUN' is obsolete.
> configure.ac:404: You should run autoupdate.
> configure.ac:404: the top level
> configure.ac:12: error: possibly undefined macro: AM_INIT_AUTOMAKE
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.ac:13: error: possibly undefined macro: AM_CONFIG_HEADER
> configure.ac:143: error: possibly undefined macro: AC_PROG_LIBTOOL
> configure.ac:242: error: possibly undefined macro: AM_CONDITIONAL
> + rm config.h.in
> rm: config.h.in: No such file or directory
> + autoheader --warnings=all --force
> autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
> erich at gofish-{DING! 910 /home/erich/tmp/program}: ls ..
> CRICKET/ cricket.out rrdfiles/
> SNMP_Session-1.00/ foo/ rrdtool-1.0.46/
> autoconf-2.59/ imap-2002e/ rrfw-0.1.4bf2/
> automake-1.8/ libtool-1.5/
> cgilib-0.5/ program/
> erich at gofish-{4:01pm 911 /home/erich/tmp/program}: ./configure
> checking build system type... i386-unknown-freebsd4.3
> checking host system type... i386-unknown-freebsd4.3
> checking target system type... i386-unknown-freebsd4.3
> ./configure: line 1407: syntax error near unexpected token `AM_INIT_AUTOMAKE(rrdtool,'
> ./configure: line 1407: `AM_INIT_AUTOMAKE(rrdtool, 1.1.0)'
> erich at gofish-{5:01pm 912 /home/erich/tmp/program}:
>
>
>
> --
> Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
> Archive http://www.ee.ethz.ch/~slist/rrd-users
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
--
______ __ _
/_ __/_ / / (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich
/ // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/ http://people.ee.ethz.ch/~oetiker +41(0)1-632-5286
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list