Re: Quantlib-dev digest, Vol 1 #354 - 1 msg

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

Re: Quantlib-dev digest, Vol 1 #354 - 1 msg

Aurelien Chanudet
Hi Jeff,

I did experiment this kind of error in the past. Mac OS X is shipping
with default versions of autoconf/automake which are not the latest
ones. I upgraded to autoconf 2.59 and automake 1.9.5 using Fink. This
solved the problem :

-bash2.05b /tmp/QuantLib $ fink list | grep auto
        autobook        1.3-2   GNU Autobook for autotools
        autoconf        2.13-4  System for generating configure scripts, v2.13
 i      autoconf2.5     2.59-6  System for generating configure scripts
        autoconf2.54    2.54-3  System for generating configure scripts
        autocutsel      0.6.2-11        Merges two X11 cut buffers
        autogen 5.4.2-2 Tool for automated text generation from templates
        autogen-dev     5.4.2-2 Development files for AutoOpts and snprintfv
        autogen-shlibs  5.4.2-2 Autogen shared libaries
        automake1.4     1.4-4   Tool for generating GNU
Standards-compliant Makefiles
        automake1.5     1.5-5   Tool for generating GNU
Standards-compliant Makefiles
        automake1.6     1.6.3-5 Tool for generating GNU
Standards-compliant Makefiles
        automake1.7     1.7.6-5 Tool for generating GNU
Standards-compliant Makefiles
        automake1.8     1.8.5-2 Tool for generating GNU
Standards-compliant Makefiles
 i      automake1.9     1.9.5-1 Tool for generating GNU
Standards-compliant Makefiles
 p      automaken               [virtual package]
        autoproject     0.17-1  Create a skeleton source package for a
new program
        autossh 1.2f-1  Restarts SSH sessions and tunnels
        autotrace       0.31.1-14       Converts bitmap to vector graphics
        autotrace-bin   0.31.1-14       autotrace binary
        autotrace-shlibs        0.31.1-14       Shared libraries for autotrace
        cgi-compress-gzip-pm581 0.20-1  CGI with automatically compressed output
        cgi-compress-gzip-pm581-man     0.20-1  CGI with automatically
compressed output
        cgi-compress-gzip-pm584 0.20-1  CGI with automatically compressed output
        cgi-compress-gzip-pm584-man     0.20-1  CGI with automatically
compressed output
        cgi-compress-gzip-pm586 0.20-1  CGI with automatically compressed output
        cgi-compress-gzip-pm586-man     0.20-1  CGI with automatically
compressed output
        class-accessor-pm       0.19-1  Perl module, automated
accessor generation
        class-autouse-pm581     1.17-2  Perl run-time for class loading
        class-autouse-pm584     1.17-2  Perl run-time for class loading
        class-autouse-pm586     1.17-2  Perl run-time for class loading
        devel-autoprofiler-pm581        1.200-3 Profile subroutine
calls in a perl program
        devel-autoprofiler-pm586        1.200-3 Profile subroutine
calls in a perl program
        expect  5.41.0-1        Tool for automatic interactive applications
        expect-dev      5.41.0-1        Tool for automatic interactive
applications
        expect-simple-pm581     0.02-12 Simple module for automating interaction
        expect-simple-pm584     0.02-12 Simple module for automating interaction
        expect-simple-pm586     0.02-12 Simple module for automating interaction
        frontline       0.5.4-13        GUI frontend for autotrace
        frontline-gimp-plugin   0.5.4-13        autotrace plugin for the gimp
        kmousetool      3.4.0-21        KDE - automatically click when
mouse idles
        text-autoformat-pm      1.12-1  Perl module for text wrapping
and reformating
        unsermake       0.3-0.20040815.1        automake replacement
        xml-autowriter-pm581    0.38-2  Perl module, DOCTYPE based XML output
        xml-autowriter-pm584    0.38-2  Perl module, DOCTYPE based XML output
        xml-autowriter-pm586    0.38-2  Perl module, DOCTYPE based XML output
        xml2ag  5.4.2-2 Convert XML files to autogen templates
-bash2.05b /tmp/QuantLib $ fink list | grep libtool
        libtool 1.3.5-23        Shared library build helper, v1.3.5
        libtool-shlibs  1.3.5-23        Shared libraries for libtool, v1.3.5
(i)     libtool14       1.5.18-1        Shared library build helper, v1.5
(i)     libtool14-shlibs        1.5.18-1        Shared libraries for
libtool, v1.5
-bash2.05b /tmp/QuantLib $ automake --version
automake (GNU automake) 1.9.5
Written by Tom Tromey <[hidden email]>.

Copyright 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-bash2.05b /tmp/QuantLib $ autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

For my information, where did you get your boost package from : Fink,
boost homepage ? Thanks.

Aurelien

> Message: 1
> To: [hidden email]
> From: Jeff Sargent <[hidden email]>
> Date: Thu, 1 Sep 2005 22:04:40 -0500
> Subject: [Quantlib-dev] problems with autoreconf on OS X
>
> Greetings all,
>
> I've been building Boost  and Quantlib 0.3.10 successfully under Mac
> OS X 10.4.2 with gcc 4.0.0 that comes with the XCode 2.1 development
> kit.   Builds fine, and the test suite runs without error.   Excellent!
>
> When I bring down the latest from the CVS repository and start the
> configuration bootstrap process, I start having some issues:
>
>  >> sh ./autogen.sh
>  >> Can't exec "libtoolize": No such file or directory at /usr/share/
> autoconf/Autom4te/FileUtils.pm line 288, <GEN3> line 4.
>  >> autoreconf: failed to run libtoolize: No such file or directory
>
> on OS X there is "glibtoolize", so I set the environment variable
> LIBTOOLIZE=glibtoolize and that gets me further until:
>
>  >> configure.ac:8: `automake requires `AM_CONFIG_HEADER', not
> `AC_CONFIG_HEADER'
>  >> functions/ql/Functions/Makefile.am:19: variable `PACKAGE_VERSION'
> not defined
>  >> ql/Makefile.am:94: variable `PACKAGE_VERSION' not defined
>  >> autoreconf: automake failed with exit status: 1
>
> I'm definitely a rookie with respect to autoreconf, so thought I'd
> ask here to make sure I'm not missing something obvious.
> If anyone else is building under OS X and has overcome some of these
> issues please drop me a note!
>
> Thanks!
> - Jeff


Reply | Threaded
Open this post in threaded view
|

Re: Quantlib-dev digest, Vol 1 #354 - 1 msg

Jeff Sargent
Hi Aurelien,

ah I see -- OS X is shipping with:
sargent% automake --version
automake (GNU automake) 1.6.3

which is a ways behind.   I will give that a try tonight.

R.e. Boost - I picked up Boost 1.33 from the boost site.  Had to make  
a couple very minor modifications to some .jam files to get it to  
build, but seemed fine after that.

Thank you!
- Jeff


On Sep 2, 2005, at 12:08 AM, Aurelien Chanudet wrote:

> Hi Jeff,
>
> I did experiment this kind of error in the past. Mac OS X is shipping
> with default versions of autoconf/automake which are not the latest
> ones. I upgraded to autoconf 2.59 and automake 1.9.5 using Fink. This
> solved the problem :
>
> -bash2.05b /tmp/QuantLib $ fink list | grep auto
>         autobook        1.3-2   GNU Autobook for autotools
>         autoconf        2.13-4  System for generating configure  
> scripts, v2.13
>  i      autoconf2.5     2.59-6  System for generating configure  
> scripts
>         autoconf2.54    2.54-3  System for generating configure  
> scripts
>         autocutsel      0.6.2-11        Merges two X11 cut buffers
>         autogen 5.4.2-2 Tool for automated text generation from  
> templates
>         autogen-dev     5.4.2-2 Development files for AutoOpts and  
> snprintfv
>         autogen-shlibs  5.4.2-2 Autogen shared libaries
>         automake1.4     1.4-4   Tool for generating GNU
> Standards-compliant Makefiles
>         automake1.5     1.5-5   Tool for generating GNU
> Standards-compliant Makefiles
>         automake1.6     1.6.3-5 Tool for generating GNU
> Standards-compliant Makefiles
>         automake1.7     1.7.6-5 Tool for generating GNU
> Standards-compliant Makefiles
>         automake1.8     1.8.5-2 Tool for generating GNU
> Standards-compliant Makefiles
>  i      automake1.9     1.9.5-1 Tool for generating GNU
> Standards-compliant Makefiles
>  p      automaken               [virtual package]
>         autoproject     0.17-1  Create a skeleton source package for a
> new program
>         autossh 1.2f-1  Restarts SSH sessions and tunnels
>         autotrace       0.31.1-14       Converts bitmap to vector  
> graphics
>         autotrace-bin   0.31.1-14       autotrace binary
>         autotrace-shlibs        0.31.1-14       Shared libraries  
> for autotrace
>         cgi-compress-gzip-pm581 0.20-1  CGI with automatically  
> compressed output
>         cgi-compress-gzip-pm581-man     0.20-1  CGI with automatically
> compressed output
>         cgi-compress-gzip-pm584 0.20-1  CGI with automatically  
> compressed output
>         cgi-compress-gzip-pm584-man     0.20-1  CGI with automatically
> compressed output
>         cgi-compress-gzip-pm586 0.20-1  CGI with automatically  
> compressed output
>         cgi-compress-gzip-pm586-man     0.20-1  CGI with automatically
> compressed output
>         class-accessor-pm       0.19-1  Perl module, automated
> accessor generation
>         class-autouse-pm581     1.17-2  Perl run-time for class  
> loading
>         class-autouse-pm584     1.17-2  Perl run-time for class  
> loading
>         class-autouse-pm586     1.17-2  Perl run-time for class  
> loading
>         devel-autoprofiler-pm581        1.200-3 Profile subroutine
> calls in a perl program
>         devel-autoprofiler-pm586        1.200-3 Profile subroutine
> calls in a perl program
>         expect  5.41.0-1        Tool for automatic interactive  
> applications
>         expect-dev      5.41.0-1        Tool for automatic interactive
> applications
>         expect-simple-pm581     0.02-12 Simple module for  
> automating interaction
>         expect-simple-pm584     0.02-12 Simple module for  
> automating interaction
>         expect-simple-pm586     0.02-12 Simple module for  
> automating interaction
>         frontline       0.5.4-13        GUI frontend for autotrace
>         frontline-gimp-plugin   0.5.4-13        autotrace plugin  
> for the gimp
>         kmousetool      3.4.0-21        KDE - automatically click when
> mouse idles
>         text-autoformat-pm      1.12-1  Perl module for text wrapping
> and reformating
>         unsermake       0.3-0.20040815.1        automake replacement
>         xml-autowriter-pm581    0.38-2  Perl module, DOCTYPE based  
> XML output
>         xml-autowriter-pm584    0.38-2  Perl module, DOCTYPE based  
> XML output
>         xml-autowriter-pm586    0.38-2  Perl module, DOCTYPE based  
> XML output
>         xml2ag  5.4.2-2 Convert XML files to autogen templates
> -bash2.05b /tmp/QuantLib $ fink list | grep libtool
>         libtool 1.3.5-23        Shared library build helper, v1.3.5
>         libtool-shlibs  1.3.5-23        Shared libraries for  
> libtool, v1.3.5
> (i)     libtool14       1.5.18-1        Shared library build  
> helper, v1.5
> (i)     libtool14-shlibs        1.5.18-1        Shared libraries for
> libtool, v1.5
> -bash2.05b /tmp/QuantLib $ automake --version
> automake (GNU automake) 1.9.5
> Written by Tom Tromey <[hidden email]>.
>
> Copyright 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  
> There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
> PURPOSE.
> -bash2.05b /tmp/QuantLib $ autoconf --version
> autoconf (GNU Autoconf) 2.59
> Written by David J. MacKenzie and Akim Demaille.
>
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  
> There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
> PURPOSE.
>
> For my information, where did you get your boost package from : Fink,
> boost homepage ? Thanks.
>
> Aurelien
>
>
>> Message: 1
>> To: [hidden email]
>> From: Jeff Sargent <[hidden email]>
>> Date: Thu, 1 Sep 2005 22:04:40 -0500
>> Subject: [Quantlib-dev] problems with autoreconf on OS X
>>
>> Greetings all,
>>
>> I've been building Boost  and Quantlib 0.3.10 successfully under Mac
>> OS X 10.4.2 with gcc 4.0.0 that comes with the XCode 2.1 development
>> kit.   Builds fine, and the test suite runs without error.    
>> Excellent!
>>
>> When I bring down the latest from the CVS repository and start the
>> configuration bootstrap process, I start having some issues:
>>
>>
>>>> sh ./autogen.sh
>>>> Can't exec "libtoolize": No such file or directory at /usr/share/
>>>>
>> autoconf/Autom4te/FileUtils.pm line 288, <GEN3> line 4.
>>
>>>> autoreconf: failed to run libtoolize: No such file or directory
>>>>
>>
>> on OS X there is "glibtoolize", so I set the environment variable
>> LIBTOOLIZE=glibtoolize and that gets me further until:
>>
>>
>>>> configure.ac:8: `automake requires `AM_CONFIG_HEADER', not
>>>>
>> `AC_CONFIG_HEADER'
>>
>>>> functions/ql/Functions/Makefile.am:19: variable `PACKAGE_VERSION'
>>>>
>> not defined
>>
>>>> ql/Makefile.am:94: variable `PACKAGE_VERSION' not defined
>>>> autoreconf: automake failed with exit status: 1
>>>>
>>
>> I'm definitely a rookie with respect to autoreconf, so thought I'd
>> ask here to make sure I'm not missing something obvious.
>> If anyone else is building under OS X and has overcome some of these
>> issues please drop me a note!
>>
>> Thanks!
>> - Jeff
>>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle  
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams *  
> Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/ 
> bsce5sf
> _______________________________________________
> Quantlib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>