Hi
I have attempted to install QuantLibAddin for OpenOffice Calc on Fedora 8. All went all right until make install ended up like this: cp -f .libs/QuantLibAddinCalc.rdb cp: missing destination file operand after `.libs/QuantLibAddinCalc.rdb' Try `cp --help' for more information. make[4]: *** [install-exec-hook] Error 1 Shared libraries were installed into /usr/local/lib. Please advise me on how to finish installation/registration with OpenOffice. Thanks. |
Hello,
> I have attempted to install QuantLibAddin for OpenOffice Calc on Fedora 8. > All went all right until make install ended up like this: > cp -f .libs/QuantLibAddinCalc.rdb > cp: missing destination file operand after `.libs/QuantLibAddinCalc.rdb' You need to set environment variable OFFICE_PROGRAM_PATH equal to the location of the OOo program directory. The correct value of the variable depends on which linux distro you're using and the command to set the variable depends on which shell you're using. My machine is FC8 64 bit bash and in file ~/.bashrc I have export OFFICE_PROGRAM_PATH=/usr/lib64/openoffice.org/program Regards, Eric ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
In reply to this post by JanFishar
Hello,
I apologize for bringing it up again, but I still dont see QuantLib functions in Openoffice calc. I added the line you suggested to my bashrc and make install then finished without error. My machine is Fedora 8 on 64 X2 processor. Now I have shared libraries in usr/local/lib and QuantLibAddinCalc.rdb, libQuantLibAddinCalc.so and libQuantLibAddinCalc-0.9.0.so (link) in usr/lib64/openoffice/program. I have added $ORIGIN/QuantLibAddinCalc.rdb to UNO_TYPES and UNO_SERVICES lines in unorc. It may be that I err in adding paths to ld.so.conf correctly. What is supposed to be in ld.so.conf? Thanks for your advice. |
Hello,
> Hello, > I apologize for bringing it up again, but I still dont see QuantLib > functions in Openoffice calc. > I added the line you suggested to my bashrc and make install then finished > without error. My machine is Fedora 8 on 64 X2 processor. Now I have > shared > libraries in usr/local/lib and QuantLibAddinCalc.rdb, > libQuantLibAddinCalc.so and libQuantLibAddinCalc-0.9.0.so (link) in > usr/lib64/openoffice/program. I have added $ORIGIN/QuantLibAddinCalc.rdb > to > UNO_TYPES and UNO_SERVICES lines in unorc. It may be that I err in adding > paths to ld.so.conf correctly. What is supposed to be in ld.so.conf? > Thanks for your advice. In ld.so.conf you should have the path to the OOo program directory. (On my machine this is /usr/lib64/openoffice.org/program not /usr/lib64/openoffice/program as you state above). After editing that file you need to run the command ldconfig to refresh the linker cache. What output do you get from this command? ldd /usr/lib64/openoffice.org/program/libQuantLibAddinCalc.so Thanks, Eric ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |