Can´t compile QuantLib on Ubuntu

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

Can´t compile QuantLib on Ubuntu

Piter Dias-3
People,

I am trying to compile QuantLib on Ubuntu 6.06 can´t use autogen.sh without
errors.
Could you please help me?
Find attached error message.

Regards,

Piter Dias
[hidden email]

UbuntuError.JPG (73K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can´t compile QuantLib on Ubuntu

Dirk Eddelbuettel

On 3 September 2006 at 21:03, Piter Dias wrote:
| I am trying to compile QuantLib on Ubuntu 6.06 can´t use autogen.sh without
| errors.
| Could you please help me?

How about

$ sudo apt-get install libquantlib0-dev

which gets you the pre-built one as well as its headers as the Debian
packages I maintain are being rebuilt, just like everything else, on Ubuntu.

Dirk

--
Hell, there are no rules here - we're trying to accomplish something.
                                                  -- Thomas A. Edison


Reply | Threaded
Open this post in threaded view
|

Re: Can´t compile QuantLib on Ubuntu

Piter Dias-3
In reply to this post by Piter Dias-3
Luigi,

I had checked those items you told me yesterday (thanks god there is Google
:-D).
I still have a problem regarding some expected files. They are in QuantLib
release pack but could not find in CVS.
Look above error messages from autogen.sh. If I get missing files from
QuantLib release (0.3.13) and copy to my checked out folder it works.

I would like to understand how to compile from CVS so I can try your new
developments.

Thanks a lot.

Piter Dias
[hidden email]

############################################################################

Putting files in AC_CONFIG_AUX_DIR, `config'.
configure.ac: 8: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
cp: cannot create regular file `[config]/install-sh': No such file or directory
automake: configure.ac: installing `[config]/install-sh'
    error while copying

cp: cannot create regular file `[config]/mkinstalldirs': No such file or
directory
automake: configure.ac: installing `[config]/mkinstalldirs'
    error while copying

cp: cannot create regular file `[config]/missing': No such file or directory
automake: configure.ac: installing `[config]/missing'
    error while copying

configure.ac: 1151: required file `[config]/ltmain.sh' not found
cp: cannot create regular file `[config]/config.guess': No such file or
directory
configure.ac: 1151: installing `[config]/config.guess'
    error while copying

cp: cannot create regular file `[config]/config.sub': No such file or directory
configure.ac: 1151: installing `[config]/config.sub'
    error while copying

cp: cannot create regular file `[config]/config.guess': No such file or
directory
automake: configure.ac: installing `[config]/config.guess'
    error while copying

cp: cannot create regular file `[config]/config.sub': No such file or directory
automake: configure.ac: installing `[config]/config.sub'
    error while copying

automake: Makefile.am: installing `./INSTALL'
automake: Makefile.am: required file `./NEWS' not found
automake: Makefile.am: required file `./README' not found
automake: Makefile.am: installing `./COPYING'
automake: Makefile.am: required file `./AUTHORS' not found
automake: Makefile.am: required file `./ChangeLog' not found
configure.ac: 8: required file `./[ql/config.hpp].in' not found
configure.ac: 8: required file `./[ql/stamp-h.in' not found
Makefile.am:7: invalid variable `dist_lisp_LISP'
Makefile.am:11: invalid variable `dist_m4data_DATA'
automake: man/Makefile.am: warning: automake does not support EXTRA_DIST
being defined conditionally
Examples/BermudanSwaption/Makefile.am: BermudanSwaption_OBJECTS should not be
defined
Examples/ConvertibleBonds/Makefile.am: ConvertibleBonds_OBJECTS should not be
defined
Examples/DiscreteHedging/Makefile.am: DiscreteHedging_OBJECTS should not be
defined
Examples/EquityOption/Makefile.am: EquityOption_OBJECTS should not be defined
Examples/FRA/Makefile.am: FRA_OBJECTS should not be defined
Examples/Replication/Makefile.am: Replication_OBJECTS should not be defined
Examples/Repo/Makefile.am: Repo_OBJECTS should not be defined
Examples/Swap/Makefile.am: SwapValuation_OBJECTS should not be defined
automake: test-suite/Makefile.am: warning: automake does not support
EXTRA_DIST being defined conditionally
autoreconf2.50: automake failed with exit status: 1

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






Reply | Threaded
Open this post in threaded view
|

Re: Can´t compile QuantLib on Ubuntu

Luigi Ballabio
In reply to this post by Piter Dias-3

On 09/06/2006 02:38:30 AM, Piter Dias wrote:
> I still have a problem regarding some expected files. They are in
> QuantLib
> release pack but could not find in CVS.

They should be generated by autoconf/automake, but you get errors  
earlier on. It seems like you have an outdated version of one of the  
programs; try 'automake --version' and 'autoconf --version' to see what  
you have. I'm using automake 1.9.6 and autoconf 2.60, but automake  
1.8.x and autoconf 2.58 might be enough.

Later,
        Luigi


----------------------------------------

Age is an issue of mind over matter. If you don't mind, it doesn't  
matter.
-- Mark Twain