"error: possibly undefined macro: AC_PROG_LIBTOOL" from autogen.sh

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

"error: possibly undefined macro: AC_PROG_LIBTOOL" from autogen.sh

Winston Guo
All,

Downloaded quantlib 0.8.1 and get everything (examples and test-suited) compiled and run.

But I could not get autogen.sh work, here is the complete error message:

********************************************************************************
$ ./autogen.sh
configure.ac:63: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /ms/user/w/wguo/autoconf-2.61/bin/autoconf failed with exit status: 1

Run the command ./configure --help for information on options
that can change the behavior of the library.
********************************************************************************

I am using automake(1.9.6)/autoconf(2.61)/libtool(1.5.22) as shown here:
$ automake --version
automake (GNU automake) 1.9.6

$ autoconf --version
autoconf (GNU Autoconf) 2.61

$ libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)


Anything I may miss?

Thanks a lot in advance!
- Winston


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: "error: possibly undefined macro: AC_PROG_LIBTOOL" from autogen.sh

Luigi Ballabio

On Sep 10, 2007, at 8:23 PM, Winston Guo wrote:
> Downloaded quantlib 0.8.1 and get everything (examples and
> test-suited) compiled and run.
>
> But I could not get autogen.sh work, here is the complete error
> message:
>
> Anything I may miss?

aclocal might not know where to find libtool.m4.  You might have to set
a path variable.

However, if you downloaded the released QuantLib 0.8.1 tarball, you
don't need the autogen step; that's only needed when you check out the
sources from Subversion.
You can run ./configure right away.

Luigi



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: "error: possibly undefined macro: AC_PROG_LIBTOOL" from autogen.sh

Winston Guo
Thanks, Luigi!

It works. I did it by creating my local aclocal, which is
$fullPath/aclocal -I $pathWithLibtool.m4InIt

- Winston

-----Original Message-----
From: Luigi Ballabio [mailto:[hidden email]]
Sent: Monday, September 10, 2007 4:35 PM
To: Guo, Winston (IT)
Cc: [hidden email]
Subject: Re: [Quantlib-users] "error: possibly undefined macro:
AC_PROG_LIBTOOL" from autogen.sh


On Sep 10, 2007, at 8:23 PM, Winston Guo wrote:
> Downloaded quantlib 0.8.1 and get everything (examples and
> test-suited) compiled and run.
>
> But I could not get autogen.sh work, here is the complete error
> message:
>
> Anything I may miss?

aclocal might not know where to find libtool.m4.  You might have to set
a path variable.

However, if you downloaded the released QuantLib 0.8.1 tarball, you
don't need the autogen step; that's only needed when you check out the
sources from Subversion.
You can run ./configure right away.

Luigi
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users