A list for the developers of CellML tools

Text archives Help


[cellml-dev] installing the cellmlapi


Chronological Thread 
  • From: a.l.lister at newcastle.ac.uk (Allyson Lister)
  • Subject: [cellml-dev] installing the cellmlapi
  • Date: Thu, 9 Jun 2011 12:54:51 +0100

Hi all,

I'm just back in the game after maternity leave, and am trying to install
(with java enabled) the cellml api on my ubuntu 11.04 machine. Up until the
last step, the instructions for 9.04 are working just fine:

http://cellml-api.sourceforge.net/ubuntu_9_04.html

Which version of the cellml api is pulled from mercurial using the command
on this page? Is there a document that contains the version number? The
README doesn't seem to have it... Perhaps there's a mercurial command?
Sorry, I don't use mercurial all that much.

So, here are the commands from the ubuntu installation instructions page
which I used successfully:
hg clone
http://cellml-api.hg.sourceforge.net:8000/hgroot/cellml-api/cellml-api
aclocal && autoconf && automake
./configure --enable-context=no --enable-annotools --enable-cuses
--enable-cevas --enable-malaes --enable-ccgs --enable-cis --enable-vacss
--enable-rdf --enable-celeds --enable-examples=yes --enable-java
CPPFLAGS="-I/usr/lib/jvm/java-6-sun/include
-I/usr/lib/jvm/java-6-sun/include/linux"
make check

However, when I run "sudo make install", I get the following error. I'm
including a few lines of output prior to the error, to provide context:

----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/bash ./libtool --mode=install /usr/bin/install -c CellML2C
CellML2Python CellML2Matlab CustomGen testCeLEDS ValidateCellML RunCellML
'/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/CellML2C /usr/local/bin/CellML2C
libtool: install: /usr/bin/install -c .libs/CellML2Python
/usr/local/bin/CellML2Python
libtool: install: /usr/bin/install -c .libs/CellML2Matlab
/usr/local/bin/CellML2Matlab
libtool: install: /usr/bin/install -c .libs/CustomGen
/usr/local/bin/CustomGen
libtool: install: /usr/bin/install -c .libs/testCeLEDS
/usr/local/bin/testCeLEDS
libtool: install: /usr/bin/install -c .libs/ValidateCellML
/usr/local/bin/ValidateCellML
libtool: install: /usr/bin/install -c .libs/RunCellML
/usr/local/bin/RunCellML
test -z "/usr/local/share/cellmlapi" || /bin/mkdir -p
"/usr/local/share/cellmlapi"
/usr/bin/install -c -m 644 ./cellml.jar '/usr/local/share/cellmlapi'
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
/usr/bin/install -c -m 644 ./interfaces/IfaceDOM_APISPEC.hxx
./interfaces/IfaceDOM_events.hxx ./interfaces/Ifacexpcom.hxx
./interfaces/IfaceMathML_content_APISPEC.hxx
./interfaces/IfaceCellML_APISPEC.hxx ./interfaces/IfaceRDF_APISPEC.hxx
./interfaces/IfaceCellML_events.hxx sources/cellml/CellMLBootstrap.hpp
cda_config.h sources/cda_compiler_support.h
sources/cellml-api-cxx-support.hpp ./interfaces/IfaceRDF_APISPEC.hxx
./interfaces/IfaceAnnoTools.hxx ./AnnoTools/sources/AnnoToolsBootstrap.hpp
./interfaces/IfaceCUSES.hxx ./CUSES/sources/CUSESBootstrap.hpp
./interfaces/IfaceCeVAS.hxx ./CeVAS/sources/CeVASBootstrap.hpp
./interfaces/IfaceMaLaES.hxx ./MaLaES/sources/MaLaESBootstrap.hpp
./interfaces/IfaceCCGS.hxx ./CCGS/sources/CCGSBootstrap.hpp
./interfaces/IfaceCeLEDS.hxx ./CeLEDS/sources/CeLEDSBootstrap.hpp
./interfaces/IfaceCeLEDSExporter.hxx
./CeLEDSExporter/sources/CeLEDSExporterBootstrap.hpp
./interfaces/IfaceVACSS.hxx ./VACSS/sources/VACSSBootstrap.hpp
./interfaces/IfaceCIS.hxx ./CIS/sources/CISBootstrap.hpp
'/usr/local/include'
/usr/bin/install: will not overwrite just-created
`/usr/local/include/IfaceRDF_APISPEC.hxx' with
`./interfaces/IfaceRDF_APISPEC.hxx'
make[2]: *** [install-includeHEADERS] Error 1
make[2]: Leaving directory `/home/allyson/Programs/cellml-api'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/allyson/Programs/cellml-api'
make: *** [install] Error 2

It does seem an odd error - why is it trying to overwrite a file with what
appears to be the same file? I tried make uninstall and then make install
again, but the same error occurs.

Thanks for your help!

Allyson

--
Allyson Lister

Please note the new email address of allyson.lister at newcastle.ac.uk,
although the old email address will still work.

Newcastle University, http://www.ncl.ac.uk
http://themindwobbles.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.cellml.org/pipermail/cellml-tools-developers/attachments/20110609/508f5269/attachment.htm>




Archive powered by MHonArc 2.6.18.

Top of page