| Author | Topic |
Posts: 122
Registered: February 2010
|
|
Re: installation of libSBML 2.3.4/SBML Toolbox2.0.2
|
27 Jan '11 15:44

|
 |
|
Hello Celine,
> Dear Frank,
>
> I think I got the same result... I will write out the steps I took in case I did something wrong.
>
> 1. change the file '/libsbml-4.2.0/src/bindings/matlab/make.ini'
this should have been: src/bindings/matlab/Makefile.in in the libsbml-4.2.0 folder
> 2. in terminal:
> cd /home/celine/Downloads/libsbml-4.2.0
> ./configure --with-matlab=Application/Programming/MATLAB\ R2010b
if you configure like that this will assume that you have an application folder within the current directory. For me the command line looks like this
./configure --with-matlab=/Applications/MATLAB_R2010b.app
please make sure that this is the path for you. from your lines below i would have expected that line to read:
./configure --with-matlab=/usr/local/MATLAB/R2010b
Please post the last couple of lines of the configure command here, for me they read:
Other libSBML configuration settings:
Installation $prefix = /usr/local
Using MATLAB with path = /Applications/MATLAB_R2010b.app/bin/matlab
Using zlib with path = autodetect
Using bzip2 with path = autodetect
Other potentially important settings:
Compression support is enabled for .zip, .gz and .bz2 files
MATLAB architecture assumed =
MATLAB binary file extension = mexmaci64
----------------------------------------------------------------------
> make
> sudo make install
> sudo ldconfig
> (Note: this time, there were many more lines coming out after the 'make install' command, but in the end looks similar to previous attempts)
>
In order to be able to help you it would be great if you could change into the matlab directory, compile there and post us the results in a text file:
cd src/bindings/matlab/
make
for me this results in:
Warning: You are using gcc version "4.0.1". The version
currently supported with MEX is "4.3.4".
For a list of currently supported compilers see:
http://www.mathworks.com/support/compilers/current_release/
creating TranslateSBML.mexmaci64
cp -f .libs/TranslateSBML.mexmaci64 .
Is this file created for you?
> 3. in new terminal:
> PATH="/usr/local/MATLAB/R2010b/bin:$PATH"
> echo $PATH
> /usr/local/MATLAB/R2010b/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> which mex
> /usr/local/MATLAB/R2010b/bin/mex
> cd /home/celine/Downloads/SBMLToolbox-3.0.0/toolbox
> export CFLAGS=-I/usr/local/include
> export LDLAGS=-L/usr/local/lib
> make
>
Is there a particular reason you are using SBMLToolbox 3.0.0, I would recommend using the 3.1.2 version.
> (Many many warnings follow, then finally
> mex: compile of ' "OutputSBML.c"' failed.
>
In any case we will need to see the output of this result in order to help you.
best
Frank
____________________________________________________________
To manage your sbml-interoperability list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability
For a web interface to the sbml-interoperability mailing list, visit
http://sbml.org/Forums/
For questions or feedback about the sbml-interoperability list,
contact sbml-team@caltech.edu
|
|
|