Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-interoperability » installation of libSBML 2.3.4/SBML Toolbox2.0.2
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
fbergman


Posts: 122
Registered:
February 2010
Re: installation of libSBML 2.3.4/SBML Toolbox2.0.2 27 Jan '11 15:44 Go to previous messageGo to previous message

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

      

SubjectPosterDate
Read Message   installation of libSBML 2.3.4/SBML Toolbox2.0.2 celine25 Jan '11 14:10
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... Sarah Keating26 Jan '11 05:53
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... celine26 Jan '11 13:12
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... Torbjoern Klatt26 Jan '11 14:10
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... celine27 Jan '11 16:16
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... Torbjoern Klatt28 Jan '11 01:10
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... fbergman26 Jan '11 14:32
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... celine27 Jan '11 15:23
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0....  fbergman27 Jan '11 15:44
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... celine27 Jan '11 16:35
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... celine28 Jan '11 08:42
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... fbergman28 Jan '11 09:13
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... celine31 Jan '11 17:15
Previous Topic:libSBML Installation Failed Message
Next Topic:Problem to bind libsbml with matlab
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.