I have installed boost, QuantLib, log4cxx,ObjectHandler(0.9.0 Version) and gensrc.I'm
using gcc 4.2 with ubuntu. But when i like to install ObjectLibAddin i
have this error by gensrc:
root@aymen-laptop:/home/aymen/Documents/QuantLibAddin-0.9.0# make
Making all in gensrc make[1]: entrant dans le répertoire «
/home/aymen/Documents/QuantLibAddin-0.9.0/gensrc » python
../../gensrc/gensrc.py -vsled > > gensrc has encountered a fatal
error. > > >>>>>>>>>> BEGIN STACK
TRACE >>>>>>>>>> File
"../../gensrc/gensrc.py", line 102, in addinList =
addinlist.AddinList(addinIds) File
"/home/aymen/Documents/gensrc-0.9.0/gensrc/Addins/addinlist.py", line
121, in __init__ File
"/home/aymen/Documents/gensrc/gensrc/Utilities/utilities.py", line 31,
in serializeObject objectInstance.postSerialize() File
"/home/aymen/Documents/gensrc/gensrc/Configuration/configuration.py",
line 104, in postSerialize
utilities.serializeList(self.coreCategoryPath_, self,
'coreCategoryNames', 'categoryName') File
"/home/aymen/Documents/gensrc/gensrc/Utilities/utilities.py", line 39,
in serializeList serializer = xmlreader.XmlReader(path) File
"/home/aymen/Documents/gensrc/gensrc/Serialization/xmlreader.py", line
217, in __init__ raise
exceptions.SerializationParseException(self.documentName_) >
<<<<<<<<<< END STACK TRACE
<<<<<<<<<< > > gensrc error: >
> Error loading XML document
../../ObjectHandler/gensrc/config/categories.xml : > [Errno 2] No
such file or directory:
u'../../ObjectHandler/gensrc/config/categories.xml' > make[1]: ***
[.time-stamp] Erreur 1 make[1]: quittant le répertoire «
/home/aymen/Documents/QuantLibAddin-0.9.0/gensrc » make: ***
[all-recursive] Erreur 1 Please any idea ...
-- ZARROUG Aymen ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Hello,
Rename the directories for gensrc, ObjectHandler, and QuantLibAddin - remove the "-0.9.0" suffix from each directory name, so you have only the application name, not the version number. This problem will be fixed in the next release. Also, you probably want to re-run configure for QuantLibAddin as follows: ./configure --enable-addin-cpp (plus whatever other arguments you may require) so that the command line C++ environment for QLA is built. Regards, Eric On Mon, July 21, 2008 19:25, aymen zarroug wrote: > I have installed boost, QuantLib, log4cxx,ObjectHandler(0.9.0 > Version) and > gensrc.I'm using gcc 4.2 with ubuntu. But when i like to > install > ObjectLibAddin i have this error by gensrc: > root@aymen-laptop:/home/aymen/Documents/QuantLibAddin-0.9.0# > make Making all in gensrc make[1]: entrant dans le répertoire « > /home/aymen/Documents/QuantLibAddin-0.9.0/gensrc » python > ../../gensrc/gensrc.py -vsled > > gensrc has encountered a > fatal error. > > >>>>>>>>>>> BEGIN STACK TRACE >>>>>>>>>> File >>>>>>>>>>> "../../gensrc/gensrc.py", line > 102, in addinList = addinlist.AddinList(addinIds) File > "/home/aymen/Documents/gensrc-0.9.0/gensrc/Addins/addinlist.py", > line 121, > in __init__ File > "/home/aymen/Documents/gensrc/gensrc/Utilities/utilities.py", > line 31, in > serializeObject objectInstance.postSerialize() File > "/home/aymen/Documents/gensrc/gensrc/Configuration/configuration.py", > line > 104, in postSerialize > utilities.serializeList(self.coreCategoryPath_, self, > 'coreCategoryNames', 'categoryName') File > "/home/aymen/Documents/gensrc/gensrc/Utilities/utilities.py", > line 39, in > serializeList serializer = xmlreader.XmlReader(path) File > "/home/aymen/Documents/gensrc/gensrc/Serialization/xmlreader.py", > line 217, > in __init__ raise > exceptions.SerializationParseException(self.documentName_) >> <<<<<<<<<< END STACK TRACE <<<<<<<<<< > > gensrc error: > > >> Error loading > XML document ../../ObjectHandler/gensrc/config/categories.xml : > > [Errno 2] > No such file or directory: > u'../../ObjectHandler/gensrc/config/categories.xml' > make[1]: > *** > [.time-stamp] Erreur 1 make[1]: quittant le répertoire « > /home/aymen/Documents/QuantLibAddin-0.9.0/gensrc » make: *** > [all-recursive] > Erreur 1 Please any idea ... > > -- > ZARROUG Aymen > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge > Build the coolest Linux based applications with Moblin SDK & > win great prizes > Grand prize is a trip for two to an Open Source event anywhere > in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ > QuantLib-users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/quantlib-users > ------------------------- Eric Ehlers nazcatech sprl | Brussels | http://www.nazcatech.be Distributed computing for pricing analytics - Use Microsoft Excel as a client to the Grid ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |