- From: a.l.lister at newcastle.ac.uk (Allyson Lister)
- Subject: [cellml-dev] cellml_services in java version of the CellML DOM API
- Date: Mon, 17 May 2010 13:37:28 +0100
Also, I just wanted to add - it looks like the cellml.jar now includes both
cellml_bootstrap and cellml_services, so hopefully the problem with the ld
command below will be the last one!
:) Thanks, Allyson
On 17 May 2010 13:36, Allyson Lister <a.l.lister at newcastle.ac.uk> wrote:
>
Hi Andrew, Andre,
>
>
Well, I tried just adding the --enable-annotools as suggested by Andrew,
>
and I had a successful build all the way through the steps up to (and
>
including) the "make" command. When I then tried "sudo make install", I got
>
partway through that, and then was presented with the following error:
>
>
/usr/bin/ld: cannot find -lannotools
>
collect2: ld returned 1 exit status
>
libtool: install: error: relink `libcellml_java_bridge.la' with the above
>
command before installing it
>
make[2]: *** [install-libLTLIBRARIES] Error 1
>
>
I'm not sure what to do with this error. Does anyone have any ideas?
>
>
Thanks very much for all your help so far,
>
>
Allyson
>
>
>
On 17 May 2010 12:26, Andrew Miller <ak.miller at auckland.ac.nz> wrote:
>
>
> On 17/05/10 23:19, David Nickerson wrote:
>
>
>
>> Hi Allyson,
>
>>
>
>> I built the CellML dom api with the --enable-java and --enable-rdf
>
>>> commands
>
>>> only in the configure call.
>
>>>
>
>>
>
>> While I have never tried to use the Java bindings, I have often found
>
>> that you need to turn on most of the "optional" features to get a
>
>> usable build of the CellML API.
>
>>
>
>
>
> The original message mentioned an error trying to use AnnoTools, which is
>
> an optional module that needs to be explicitly turned on with
>
> --enable-annotools (anything in cellml_services needs to be turned on with
>
> the relevant option).
>
>
>
> However, cellml_bootstrap should only need --enable-java, so I'm not sure
>
> why you were running into errors there - that is something I would need to
>
> look into (probably on Wednesday) - and something which has worked for me
>
> in
>
> the past, so has either been broken recently, or is broken with your system
>
> or CellML API configuration.
>
>
>
> Best wishes,
>
> Andrew
>
>
>
>
>
> I can't recall the default
>
>> configuration, but if you try adding '--enable-examples
>
>> --enable-annotools --enable-cuses --enable-cevas --enable-malaes
>
>> --enable-ccgs --enable-celeds' to your configure command that might
>
>> help. At least that is the minimum set I find required to get code
>
>> generation working. If that doesn't do much, you may need to add
>
>> '--enable-context --enable-vacss --enable-corba --enable-server
>
>> --enable-cis' to turn on pretty much everything....
>
>>
>
>> Good luck!
>
>> Andre.
>
>> _______________________________________________
>
>> cellml-tools-developers mailing list
>
>> cellml-tools-developers at cellml.org
>
>> http://www.cellml.org/mailman/listinfo/cellml-tools-developers
>
>>
>
>
>
> _______________________________________________
>
> cellml-tools-developers mailing list
>
> cellml-tools-developers at cellml.org
>
> http://www.cellml.org/mailman/listinfo/cellml-tools-developers
>
>
>
>
>
>
--
>
Allyson Lister
>
http://themindwobbles.wordpress.com
>
>
CISBAN, http://www.cisban.ac.uk
>
Newcastle University
>
--
Allyson Lister
http://themindwobbles.wordpress.com
CISBAN,
http://www.cisban.ac.uk
Newcastle University
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<
http://www.cellml.org/pipermail/cellml-tools-developers/attachments/20100517/b49b207d/attachment-0001.htm>
Archive powered by MHonArc 2.6.18.