A list for the developers of CellML tools

Text archives Help


[cellml-dev] Compiling opencell on ubuntu


Chronological Thread 
  • From: lpsmith at spod-central.org (Lucian Smith)
  • Subject: [cellml-dev] Compiling opencell on ubuntu
  • Date: Mon, 9 Nov 2009 23:12:19 +0000

* Justin Marsh <j.marsh at auckland.ac.nz> [2009-11-09 21:26] writes:
> Hi Lucian,
>
> You need the xulrunner sdk/gecko sdk; version 1.9.0 or higher for
> PCEnv 0.6, or version 1.9.1 or higher for OpenCell.

OK, I installed the xulrunner-dev package, and it installed 'xpidl' in
/usr/lib/xulrunner/xpidl. I had to change configure.ac to not look in
$mozilla/bin/ and instead just $mozilla/, and then claimed $mozilla was
/usr/lib/xulrunner/, but it at least got past that check.

(for what it's worth, the current xulrunner distribution package with
ubuntu 9.04 is '1.9.0.15', which I suppose means OpenCell won't work with
it; sigh.)

Then it complained about cellml, and I eventually worked out that was
because it wasn't configured with '--enable-xpcom'. So I reconfigured the
CellML API with --enable-xpcom, which ran fine and claimed to work, but
when I then tried to 'make', it gave me:

mkdir -p ./simple_interface_generators/glue/xpcom
yes/bin/xpidl -m header -Iyes/idl -e
simple_interface_generators/glue/xpcom/IWrappedPCM.h
simple_interface_generators/glue/xpcom/IWrappedPCM.idl
/bin/bash: yes/bin/xpidl: No such file or directory

This is sort of an amusing error, as I can see what happened--something in
the script thought it was asking 'where is xpidl?' and the script thought
it was being asked 'do you have xpidl?' and answered 'yes'.

(I tried re-running 'aclocal', 'autoconf' and 'automake' just to make sure
there wasn't anything weird going on there, and while I got a warning
message about 'suspicous cache-id', it still did the same thing with
'yes'.)

-Lucian





Archive powered by MHonArc 2.6.18.

Top of page