From: Maurice L. <mj...@ga...> - 2003-03-25 12:14:39
|
Can anyone tell me what versions of autoconf/automake/libtool etc are working for you? Today I tried a new checkout of plplot on Solaris and got a very long list of errors when running bootstrap.sh. E.g. tonga$ ./bootstrap.sh Running aclocal (GNU automake) 1.7...aclocal: couldn't open directory `/usr/share/libtool/libltdl': No such file or directory done Running autoheader (GNU Autoconf) 2.57... done Running automake (GNU automake) 1.7...configure.ac: `AM_INIT_AUTOMAKE' must be used automake: no proper implementation of AM_INIT_AUTOMAKE was found, automake: probably because aclocal.m4 is missing... automake: You should run aclocal to create this file, then automake: run automake again. configure.ac: installing `./install-sh' configure.ac: installing `./mkinstalldirs' configure.ac: installing `./missing' Makefile.am:24: enable_dyndrivers does not appear in AM_CONDITIONAL Makefile.am:31: required directory ./libltdl does not exist bindings/Makefile.am:26: enable_tcl does not appear in AM_CONDITIONAL bindings/Makefile.am:30: enable_tk does not appear in AM_CONDITIONAL bindings/Makefile.am:34: enable_tkwin does not appear in AM_CONDITIONAL ... Aside: the first error about looking under /usr/share/libtool/libltdl is really strange.. I run everything local to my account -- tonga$ which autoconf /home/mjl/local/SunOS/bin/autoconf tonga$ which automake /home/mjl/local/SunOS/bin/automake tonga$ which libtool /home/mjl/local/SunOS/bin/libtool I appear to be using: libtool-1.4.3 autoconf-2.57 automake-1.7 -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |
From: Maurice L. <mj...@ga...> - 2003-03-25 12:24:48
|
Maurice LeBrun writes: > Can anyone tell me what versions of autoconf/automake/libtool etc are > working for you? Today I tried a new checkout of plplot on Solaris > and got a very long list of errors when running bootstrap.sh. E.g. > > tonga$ ./bootstrap.sh > Running aclocal (GNU automake) 1.7...aclocal: couldn't open directory > `/usr/share/libtool/libltdl': No such file or directory > done > ... > Aside: the first error about looking under /usr/share/libtool/libltdl is > really strange.. I run everything local to my account -- Ahem. tonga$ fgrep /usr/share * bootstrap.sh: -I /usr/share/libtool/libltdl bootstrap.sh:aclocal_opts=${aclocal_opts:="-I /usr/share/libtool/libltdl"} Not cool. Surely there is a better way? -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |
From: Rafael L. <lab...@ps...> - 2003-03-25 14:03:53
|
* Maurice LeBrun <mj...@ga...> [2003-03-25 06:23]: > Maurice LeBrun writes: > > Can anyone tell me what versions of autoconf/automake/libtool etc are > > working for you? Today I tried a new checkout of plplot on Solaris > > and got a very long list of errors when running bootstrap.sh. E.g. > > > > tonga$ ./bootstrap.sh > > Running aclocal (GNU automake) 1.7...aclocal: couldn't open directory > > `/usr/share/libtool/libltdl': No such file or directory > > done > > ... > > Aside: the first error about looking under /usr/share/libtool/libltdl is > > really strange.. I run everything local to my account -- > > Ahem. > > tonga$ fgrep /usr/share * > bootstrap.sh: -I /usr/share/libtool/libltdl > bootstrap.sh:aclocal_opts=${aclocal_opts:="-I /usr/share/libtool/libltdl"} > > Not cool. Surely there is a better way? Sure, this is a hack. Even worse: not documented. Suggestions for improvement are welcome. For now, you can try: ./bootstrap.sh -I /home/mjl/local/SunOS/share/libtool/libltdl or something similar. -- Rafael |
From: Rafael L. <lab...@ps...> - 2003-03-25 15:11:41
|
* Rafael Laboissiere <lab...@ps...> [2003-03-25 15:02]: > * Maurice LeBrun <mj...@ga...> [2003-03-25 06:23]: > > > Maurice LeBrun writes: > > > Can anyone tell me what versions of autoconf/automake/libtool etc are > > > working for you? Today I tried a new checkout of plplot on Solaris > > > and got a very long list of errors when running bootstrap.sh. E.g. > > > > > > tonga$ ./bootstrap.sh > > > Running aclocal (GNU automake) 1.7...aclocal: couldn't open directory > > > `/usr/share/libtool/libltdl': No such file or directory > > > done > > > ... > > > Aside: the first error about looking under /usr/share/libtool/libltdl is > > > really strange.. I run everything local to my account -- > > > > Ahem. > > > > tonga$ fgrep /usr/share * > > bootstrap.sh: -I /usr/share/libtool/libltdl > > bootstrap.sh:aclocal_opts=${aclocal_opts:="-I /usr/share/libtool/libltdl"} > > > > Not cool. Surely there is a better way? > > Sure, this is a hack. Even worse: not documented. [...] I meant: not very well documented. Indeed: $ ./bootstrap.sh --help Usage: ./bootstrap.sh [OPTIONS] [ACLOCAL OPTIONS] Options: --version=VER --date-version --help aclocal options usually look like: -I /usr/share/libtool/libltdl -- Rafael |
From: Rafael L. <lab...@ps...> - 2003-03-25 14:04:00
|
* Maurice LeBrun <mj...@ga...> [2003-03-25 06:13]: > Can anyone tell me what versions of autoconf/automake/libtool etc are > working for you? Today I tried a new checkout of plplot on Solaris > and got a very long list of errors when running bootstrap.sh. E.g. Since you have access to a Solaris system, if you have not done it yet, could you please test the release-candidate tarball? > I appear to be using: > > libtool-1.4.3 > autoconf-2.57 > automake-1.7 These are the versions that Alan, Joao, and I are using. -- Rafael |
From: Alan W. I. <ir...@be...> - 2003-03-25 14:35:01
|
On Tue, 25 Mar 2003, Maurice LeBrun wrote: > Can anyone tell me what versions of autoconf/automake/libtool etc are > working for you? Today I tried a new checkout of plplot on Solaris > and got a very long list of errors when running bootstrap.sh. E.g. > [....]Aside: the first error about looking under /usr/share/libtool/libltdl is > really strange.. I run everything local to my account -- > > tonga$ which autoconf > /home/mjl/local/SunOS/bin/autoconf > tonga$ which automake > /home/mjl/local/SunOS/bin/automake > tonga$ which libtool > /home/mjl/local/SunOS/bin/libtool > > I appear to be using: > > libtool-1.4.3 > autoconf-2.57 > automake-1.7 Those versions should be fine (identical versions to mine). But you have to let bootstrap.sh know where a particular libltdl directory is (see ./bootstrap.sh --help). From the information above, I think you have to run ./bootstrap.sh -I /home/mjl/local/SunOS/share/libtool/libltdl/ but you should check that that directory exists and is filled with the correct files. On my system ls /home/software/autotools/install/share/libtool/libltdl/ COPYING.LIB Makefile.in acinclude.m4 config-h.in configure.in ltdl.h Makefile.am README aclocal.m4 configure* ltdl.c stamp-h.in Hope this information helps you get going with the latest PLplot, Maurice. Following up on Maurice's later comment: Rafael, would it be straightforward to supply a default for this -I option consisting of appending '../share/libtool/libltdl/' to the results of `which libtool`? I believe such a default would take care of most if not all of our needs so we would could simply invoke ./bootstrap.sh without parameters most of the time. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |
From: Rafael L. <lab...@ps...> - 2003-03-25 15:04:32
|
* Alan W. Irwin <ir...@be...> [2003-03-25 06:33]: > Following up on Maurice's later comment: Rafael, would it be straightforward > to supply a default for this -I option consisting of appending > '../share/libtool/libltdl/' to the results of `which libtool`? I believe > such a default would take care of most if not all of our needs so we would > could simply invoke ./bootstrap.sh without parameters most of the time. Please, tell me what this shell snippet gives for you: prefix=`which libtool | sed 's:/bin/libtool::'` if test -n "$prefix" ; then acdir=${prefix}/share/libtool/libltdl if test -d $acdir ; then if test -f ${acdir}/aclocal.m4 ; then aclocal_opts="-I $acdir" fi fi fi echo aclocal_opts: $aclocal_opts If this works, I will integrate it into bootstrap.sh. -- Rafael |
From: Alan W. I. <ir...@be...> - 2003-03-25 17:41:55
|
On Tue, 25 Mar 2003, Rafael Laboissiere wrote: > Please, tell me what this shell snippet gives for you: > > [....]If this works, I will integrate it into bootstrap.sh. Thanks, Rafael, for making this improved aclocal_opts detection possible. It works for me, and I like the fact that the user's choice is overridden for aclocal_opts only in the case when the correct aclocal_opts is positively detected for their libtool. Therefore, I committed it subject, of course, to any more tweaking you want to do. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |
From: Maurice L. <mj...@ga...> - 2003-03-25 19:23:39
|
Rafael Laboissiere writes: > * Alan W. Irwin <ir...@be...> [2003-03-25 06:33]: > > > Following up on Maurice's later comment: Rafael, would it be straightforward > > to supply a default for this -I option consisting of appending > > '../share/libtool/libltdl/' to the results of `which libtool`? I believe > > such a default would take care of most if not all of our needs so we would > > could simply invoke ./bootstrap.sh without parameters most of the time. > > Please, tell me what this shell snippet gives for you: > > prefix=`which libtool | sed 's:/bin/libtool::'` > if test -n "$prefix" ; then > acdir=${prefix}/share/libtool/libltdl > if test -d $acdir ; then > if test -f ${acdir}/aclocal.m4 ; then > aclocal_opts="-I $acdir" > fi > fi > fi > echo aclocal_opts: $aclocal_opts > > If this works, I will integrate it into bootstrap.sh. Works for me: aclocal_opts: -I /home/mjl/local/SunOS/share/libtool/libltdl -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |