QuantLibAddinCalc.idl

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

QuantLibAddinCalc.idl

Patrick McEvoy-3
Hello,

When I try to make QuantLibAddin-0.9.7 on a Fedora 10 box with the --enable-addin-calc the compile fails with the following error:

make[1]: *** No rule to make target `QuantLibAddinCalc.idl', needed by `QuantLibAddinCalc.urd'.  Stop.
make[1]: Leaving directory `/mnt/nfs/192.168.1.2/home/pmcevoy/Download/Quantlib/QuantLibAddin-0.9.7/Addins/Calc'
make: *** [all-recursive] Error 1

Without the --enable-addin-calc flage the compile works fine.  I am looking to use QuantLibAddinCalc with openoffice.org 3.0 on a linux box and I can't find QuantLibAddinCalc.idl to use to make the libQuantLibAddinCalc-0.9.7.so file for openoffice.  Any help you could give me would be greatly appreciated.

Thanks,

Patrick
--

Patrick McEvoy
System Administrator
Silva Capital Management, LLC
625 N. Michigan Ave, Suite 412
Chicago, IL 60611
Office: 312-397-0400, Fax: 312-397-0404
Cell: 773-517-1287
[hidden email]

Silva Capital Management, LLC


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

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: QuantLibAddinCalc.idl

Eric Ehlers-2
Hi Patrick,

Quoting Patrick McEvoy <[hidden email]>:

> Hello,
>
> When I try to make QuantLibAddin-0.9.7 on a Fedora 10 box with the
> --enable-addin-calc the compile fails with the following error:
>
> make[1]: *** No rule to make target `QuantLibAddinCalc.idl', needed by
> `QuantLibAddinCalc.urd'.  Stop.
> make[1]: Leaving directory
> `/mnt/nfs/192.168.1.2/home/pmcevoy/Download/Quantlib/QuantLibAddin-0.9.7/Addins/Calc'
> make: *** [all-recursive] Error 1
>
> Without the --enable-addin-calc flage the compile works fine.  I am
> looking to use QuantLibAddinCalc with openoffice.org 3.0 on a linux box
> and I can't find QuantLibAddinCalc.idl to use to make the
> libQuantLibAddinCalc-0.9.7.so file for openoffice.  Any help you could
> give me would be greatly appreciated.

Please try

     cd QuantLibAddin/gensrc
     make clean;make

Thanks,
Eric


------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: QuantLibAddinCalc.idl

McCraic
Hello Eric,

I followed "cd QuantLibAddin/gensrc" and then "make clean;make".  When it gets to the point of generating Calc I get the following error

begin generating Calc...
>
> gensrc has encountered a fatal error.
>
> >>>>>>>>>> BEGIN STACK TRACE >>>>>>>>>>
>
>   File "/Download/Quantlib/gensrc-0.9.7/gensrc.py", line 125, in <module>
>     addinList.generate()
>   File "/Download/Quantlib/gensrc-0.9.7/gensrc/addins/addinlist.py", line 74, in generate
>     self.generateCode()
>   File "/Download/Quantlib/gensrc-0.9.7/gensrc/addins/addinlist.py", line 83, in generateCode
>     addin.generate(self.categoryList_, self.enumerationList_)
>   File "/Download/Quantlib/gensrc-0.9.7/gensrc/addins/calc.py", line 64, in generate
>     self.generateFuncMap()
>   File "/Download/Quantlib/gensrc-0.9.7/gensrc/addins/calc.py", line 84, in generateFuncMap
>     buf2 = self.bufferMap_.text() % {
>   File "/Download/Quantlib/gensrc-0.9.7/gensrc/utilities/buffer.py", line 57, in text
>     return self.buffer_
>
> <<<<<<<<<<  END STACK TRACE  <<<<<<<<<<
>
> gensrc error:
> 'Buffer' object has no attribute 'buffer_'
>
> make[1]: *** [.time-stamp] Error 1
make[1]: Leaving directory `/Download/Quantlib/QuantLibAddin-0.9.7/gensrc'
make: *** [all-recursive] Error 1

Again, thanks for the help.

Patrick

Eric Ehlers-2 wrote
Hi Patrick,

Quoting Patrick McEvoy <pmcevoy@silvacapitalmgmt.com>:

> Hello,
>
> When I try to make QuantLibAddin-0.9.7 on a Fedora 10 box with the
> --enable-addin-calc the compile fails with the following error:
>
> make[1]: *** No rule to make target `QuantLibAddinCalc.idl', needed by
> `QuantLibAddinCalc.urd'.  Stop.
> make[1]: Leaving directory
> `/mnt/nfs/192.168.1.2/home/pmcevoy/Download/Quantlib/QuantLibAddin-0.9.7/Addins/Calc'
> make: *** [all-recursive] Error 1
>
> Without the --enable-addin-calc flage the compile works fine.  I am
> looking to use QuantLibAddinCalc with openoffice.org 3.0 on a linux box
> and I can't find QuantLibAddinCalc.idl to use to make the
> libQuantLibAddinCalc-0.9.7.so file for openoffice.  Any help you could
> give me would be greatly appreciated.

Please try

     cd QuantLibAddin/gensrc
     make clean;make

Thanks,
Eric


------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
QuantLib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/quantlib-users