A list for the developers of CellML tools

Text archives Help


[cellml-dev] Latest xulrunner problems


Chronological Thread 
  • From: lpsmith at spod-central.org (Lucian Smith)
  • Subject: [cellml-dev] Latest xulrunner problems
  • Date: Thu, 28 Oct 2010 00:49:27 +0100

If I was writing this from scratch I would definitely do that, but at this
point I think (though perhaps I'm wrong?) that going back to a
non-xulrunner state would require a major re-write of basically all of my
CellML-dependent code. This is all stuff that worked fine when last I
compiled it; the problem is that something was updated in ubuntu recently
that broke stuff. Perhaps it is ubuntu itself that is at fault here for
providing non-synchronous libraries, but I don't know enough about nssutil
or nspr to say for sure.

-Lucian

* Randall Britten <r.britten at auckland.ac.nz> [2010-10-28 00:02] writes:
> Hi Lucian
>
> Andrew is currently working on TeLiCeMS, another CellML-API
> component/service that will allow you to directly translate "infix"
> notation maths expressions to MathML, and back. It will also translate
> CellML models to and from a complete text language he has called TeLiCiM.
> Andrew can give you details, but perhaps this will allow you to remove the
> dependency on XulRunner.
>
> (It has not yet been pushed to SourceForge.)
>
> Regards,
> Randall
>
> > -----Original Message-----
> > From: cellml-tools-developers-bounces at cellml.org [mailto:cellml-tools-
> > developers-bounces at cellml.org] On Behalf Of Lucian Smith
> > Sent: Thursday, 28 October 2010 8:15 a.m.
> > To: A list for the developers of CellML tools
> > Subject: [cellml-dev] Latest xulrunner problems
> >
> > So, I was getting the error:
> >
> > /usr/lib/libnssutil3.so: undefined reference to `PL_ClearArenaPool'
> >
> > when trying to compile Antimony, and I *think* the problem is that I
> > wasn't using the latest xulrunner. So, I got the latest xulrunner
> > (1.9.2.10), and tried to recompile the CellML API. But then I ran into
> > other problems:
> >
> > g++ -DHAVE_CONFIG_H -I. -I./interfaces -I. -I./sources
> > -I/home/lpsmith/xulrunner-sdk//include
> > -I/home/lpsmith/xulrunner-sdk//include/nspr
> > -I/home/lpsmith/xulrunner-sdk//include/xpcom
> > -I/home/lpsmith/xulrunner-sdk//include/string -I./interfaces -I.
> > -I./sources -I./sources/rdf -I./simple_interface_generators/glue/xpcom
> > -I./simple_interface_generators/glue/xpcom -fvisibility=hidden
> > -I./simple_interface_generators/glue/xpcom -DIN_MODULE_XPCOMSupport
> > -fvisibility=hidden -g -O2 -O2 -ffast-math -MT
> > libXPCOMSupport_la-p2xxpcom.lo -MD -MP -MF
> > .deps/libXPCOMSupport_la-p2xxpcom.Tpo -c
> > ./simple_interface_generators/glue/xpcom/p2xxpcom.cpp -fPIC -DPIC -o
> > .libs/libXPCOMSupport_la-p2xxpcom.o
> > In file included from /home/lpsmith/xulrunner-sdk//include/nscore.h:51,
> > from
> > /home/lpsmith/xulrunner-sdk//include/nsXPCOMStrings.h:42,
> > from
> > /home/lpsmith/xulrunner-sdk//include/nsStringAPI.h:53,
> > from
> > ./simple_interface_generators/glue/xpcom/p2xxpcom.hxx:15,
> > from
> > ./simple_interface_generators/glue/xpcom/p2xxpcom.cpp:1:
> > /home/lpsmith/xulrunner-sdk//include/prtypes.h:527:1: warning:
> > "PR_STATIC_ASSERT" redefined
> > In file included from
> > ./simple_interface_generators/glue/xpcom/p2xxpcom.cpp:1:
> > ./simple_interface_generators/glue/xpcom/p2xxpcom.hxx:10:1: warning: this
> > is the location of the previous definition
> > In file included from
> > ./simple_interface_generators/glue/xpcom/p2xxpcom.hxx:15,
> > from
> > ./simple_interface_generators/glue/xpcom/p2xxpcom.cpp:1:
> > /home/lpsmith/xulrunner-sdk//include/nsStringAPI.h:1058: error: size of
> > array ??????arg??????? is negative
> > ./simple_interface_generators/glue/xpcom/p2xxpcom.cpp: In member function
> > ??????virtual char* p2x::XPCOM::IObject::objid()???????:
> > ./simple_interface_generators/glue/xpcom/p2xxpcom.cpp:62: warning: format
> > ??????%08X??????? expects type ??????unsigned int???????, but argument 3
> > has type
> > ??????void*???????
> > make[1]: *** [libXPCOMSupport_la-p2xxpcom.lo] Error 1
> > make[1]: Leaving directory `/home/lpsmith/CellML/hg/cellml-api'
> >
> > This is the case even if I pull the latest CellML API from hg.
> >
> > Any recommendations? I'd be happy to roll back the nssutil library if I
> > could find it and it would help. Other searches for the (original) error
> > talked about updating nspr, so maybe that's my real problem?
> >
> > -Lucian
> > _______________________________________________
> > cellml-tools-developers mailing list
> > cellml-tools-developers at cellml.org
> > http://lists.cellml.org/mailman/listinfo/cellml-tools-developers
>
> _______________________________________________
> cellml-tools-developers mailing list
> cellml-tools-developers at cellml.org
> http://lists.cellml.org/mailman/listinfo/cellml-tools-developers




Archive powered by MHonArc 2.6.18.

Top of page