pasQualle
September 4th, 2008, 08:59 AM
It's me again.
Two days straight I'm trying now to install the SBML Toolbox in Matlab. And since the SBML forum won't let me in, I have to terrorize you with my questions.
I managed to install libsbml with the matlab extension by
sudo ./configure --with-matlab=/opt/matlabr2007a --with-bzip2=no
Why I have to skip bzip2? I don't know. Looking in the package manager, it's installed. But it's working this way. After the make install
the following is output:
The installation of libSBML is finished. On certain platforms
(such as Linux), you will also need to do one of the following:
1) run 'ldconfig' (see the man page if this is unfamiliar)
2) set the LD_LIBRARY_PATH (or equivalent) environment variable
The first I can do, what the second means I have no idea, so I didn't care.
Now I cd in the folder with the SBML Toolbox, do
export CFLAGS=-I/usr/local/include
export LDLAGS=-L/usr/local/lib
like said in the manual. And when I wanna execute the make file, the output is:
mex -I/usr/local/include -L/usr/local/lib OutputSBML.c -lsbml
make: mex: Command not found
make: *** [OutputSBML.mexglx] Error 127
But I think mex is installed and in the right folder. The thing that confuses me (and I also think this is the reason why it's not working), is that if I tpye in which mex it gives me
/opt/matlabr2007a/bin//mex
So there are two slashes. Why? Stupid machine!
I looked in the .bashrc if there's the right path and also in the matlab path.
Has anybody of you successfully installed the SBML Toolbox for Matlab? Or does anybody knows how to solve my problems?
I really need help here.
Thanks in advance!!!
Two days straight I'm trying now to install the SBML Toolbox in Matlab. And since the SBML forum won't let me in, I have to terrorize you with my questions.
I managed to install libsbml with the matlab extension by
sudo ./configure --with-matlab=/opt/matlabr2007a --with-bzip2=no
Why I have to skip bzip2? I don't know. Looking in the package manager, it's installed. But it's working this way. After the make install
the following is output:
The installation of libSBML is finished. On certain platforms
(such as Linux), you will also need to do one of the following:
1) run 'ldconfig' (see the man page if this is unfamiliar)
2) set the LD_LIBRARY_PATH (or equivalent) environment variable
The first I can do, what the second means I have no idea, so I didn't care.
Now I cd in the folder with the SBML Toolbox, do
export CFLAGS=-I/usr/local/include
export LDLAGS=-L/usr/local/lib
like said in the manual. And when I wanna execute the make file, the output is:
mex -I/usr/local/include -L/usr/local/lib OutputSBML.c -lsbml
make: mex: Command not found
make: *** [OutputSBML.mexglx] Error 127
But I think mex is installed and in the right folder. The thing that confuses me (and I also think this is the reason why it's not working), is that if I tpye in which mex it gives me
/opt/matlabr2007a/bin//mex
So there are two slashes. Why? Stupid machine!
I looked in the .bashrc if there's the right path and also in the matlab path.
Has anybody of you successfully installed the SBML Toolbox for Matlab? Or does anybody knows how to solve my problems?
I really need help here.
Thanks in advance!!!