Posted by
McCraic on
Jan 06, 2009; 7:55pm
URL: http://quantlib.414.s1.nabble.com/QuantLibAddinCalc-idl-tp6977p6979.html
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