| Author | Topic |
Posts: 3
Location: India
Registered: September 2007
|
|
problems in installing libsbml3.0.0
|
02 Sep '07 22:42
|
 |
|
hi all...
I am facing following problems while installing libsbml3.0.0 in ubuntu6
libsbml3.0.0 has been configured with
############
./configure --with-swig --with-java=/usr/local/jdk1.6.0_02/ --with-perl --with-python
############
no errors found...
but after...."make" following errors have been found....in libsbml_wrap.cpp upto
-------------------------------------------------------------------
libsbml_wrap.cpp:63612: error: ‘SWIG_Python_SetConstant’ cannot be used as a function
libsbml_wrap.cpp:63613: error: ‘SWIG_Python_SetConstant’ cannot be used as a function
libsbml_wrap.cpp:63614: error: ‘SWIG_Python_SetConstant’ cannot be used as a function
libsbml_wrap.cpp:63615: error: ‘SWIG_Python_SetConstant’ cannot be used as a function
libsbml_wrap.cpp:63616: error: ‘SWIG_Python_SetConstant’ cannot be used as a function
libsbml_wrap.cpp: In constructor ‘swig::PySwigIterator_T<OutIterator>::PySwigIterator_T(OutIterator, int*) [with OutIterator = __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]’:
libsbml_wrap.cpp:3935: instantiated from ‘swig::PySwigIteratorClosed_T<OutIterator, ValueType, FromOper>::PySwigIteratorClosed_T(OutIterator, OutIterator, OutIterator, int*) [with OutIterator = __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, ValueType = char, FromOper = swig::from_oper<char>]’
libsbml_wrap.cpp:3985: instantiated from ‘swig::PySwigIterator* swig::make_output_iterator(const OutIter&, const OutIter&, const OutIter&, int*) [with OutIter = __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]’
libsbml_wrap.cpp:4230: instantiated from here
libsbml_wrap.cpp:3834: error: no matching function for call to ‘swig::PySwigIterator::PySwigIterator(int*&)’
libsbml_wrap.cpp:2765: note: candidates are: swig::PySwigIterator::PySwigIterator(const swig::PySwigIterator&)
libsbml_wrap.cpp:2765: note: swig::PySwigIterator::PySwigIterator()
make[3]: *** [libsbml_wrap.o] Error 1
make[3]: Leaving directory `/home/padma/downloads/libsbml-3.0.0/src/bindings/python'
make[2]: *** [python-recurse] Error 2
make[2]: Leaving directory `/home/padma/downloads/libsbml-3.0.0/src/bindings'
make[1]: *** [bindings-recurse] Error 2
make[1]: Leaving directory `/home/padma/downloads/libsbml-3.0.0/src'
make: *** [src-recurse] Error 2
----------------------------------------------------------------
can anyone suggest how to rectify this error to install libsbml..
thanks in advance
Padma.P
|
|
|
Posts: 961
Registered: October 2003
|
|
Re: problems in installing libsbml3.0.0
|
03 Sep '07 00:10

|
 |
|
Hi,
Two ideas come to mind:
1. How did you obtain the sources in this case? If you used
CVS and you had a previous (older) copy of the sources in
the same directory (even a prerelease of 3.0), then try
deleting the _wrap.cpp file in the python directory. I'm
afraid there is a bug in the make system that prevents it
from remaking the _wrap.cpp file at the right time based
on the dependencies. This only happens when an older
libsbml_wrap.cpp file is in the directory. If you
downloaded the fresh 3.0.0 sources, this shouldn't be a
problem because the download contains an up-to-date
version of the swig-generated wrapper file.
2. Is it possible your version of swig is older that 1.3.31?
Libsbml's configure program should complain about it and
refuse to continue, but maybe it failed to do that and
let the configuration continue.
Let us know about the above, and we'll try to continue
helping from there.
MH
--
Mike Hucka, Ph.D. mhucka@caltech.edu http://bnmc.caltech.edu
Senior Research Fellow, Control and Dynamical Systems
Co-director, Biological Network Modeling Center (BNMC)
Beckman Institute @ the California Institute of Technology
____________________________________________________________
To manage your libsbml-discuss list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-discuss
For a web interface to the libsbml-discuss mailing list, visit
http://sbml.org/forums/
For questions or feedback about the libsbml-discuss list,
contact sbml-team@caltech.edu.
|
|
|
Posts: 3
Location: India
Registered: September 2007
|
|
|
Posts: 961
Registered: October 2003
|
|
|