Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-interoperability » how to obtain my subclass from ListOf
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
oliver.ratmann


Posts: 11
Registered:
June 2006
RE: how to obtain my subclass from ListOf 24 Apr '06 06:45 Go to previous messageGo to previous message

Dear Ben,

1) I have spotted that you bounced my last email from the mailing list; would you prefer that I contact
you directly on a certain email address?

2) I tried to configure libsbml2.3.4 with swig1.3.24 which does not work.
what version are you using? (error below)

I further tried to include the relevant --Ptr classes into the swig i file, because they are not in there
but that fails because there are no respective header files, so I assume the --Ptr classes are generated on
the run.

thank you
olli

olliver:/home/olli/build/libsbml-2.3.4# ./configure --with-expat --with-swig=$SWIG_DIR --with-python
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for autoconf... /usr/bin/autoconf
checking for aclocal... aclocal
checking for ar... /usr/bin/ar
checking for swig... /usr/local/share/swig/1.3.24/bin/swig
./configure: line 1: /usr/local/share/swig/1.3.24/bin/swig: No such file or directory
checking swig version... expr: syntax error
expr: syntax error
expr: syntax error

checking requested swig version (1.3.24)... ./configure: line 3517: test: -ge: unary operator expected
no
configure: error: installed version of swig is too old!

Oliver Ratmann
85 Burgoyne Road
London N41AB
+44 7956001378



-----Original Message-----
From: libsbml-discuss-bounces@caltech.edu on behalf of Ben Bornstein
Sent: Mon 4/24/2006 12:31 AM
To: LibSBML Discussion List
Subject: Re: [libsbml-discuss] how to obtain my subclass from ListOf

Hi Oliver,

> ./configure --with-expat --with-python --with-swig
>
> I observe that libsbml.py is now different in that all ..Ptr
> classes are missing?
> Is there a way to get the ..Ptr classes back, as I make use of them?

Did you change the version of SWIG you were using? Configuring --
with-swig reruns SWIG which recreates the generated wrapper code.
Unfortunately, even a minor change in SWIG version number can lead to
dramatically different wrapper code. To get the Ptr classes back,
start with a fresh copy of libSBML 2.3.4 and omit the --with-swig
configure option or make sure you're using SWIG 1.3.24.

Ben



      

SubjectPosterDate
Read Message   how to obtain my subclass from ListOf oliver.ratmann18 Apr '06 11:49
Read Message   Re: how to obtain my subclass from ListOf Ben Bornstein18 Apr '06 13:47
Read Message   Re: how to obtain my subclass from ListOf Ben Bornstein18 Apr '06 13:47
Read Message   RE: how to obtain my subclass from ListOf oliver.ratmann19 Apr '06 13:41
Read Message   RE: how to obtain my subclass from ListOf oliver.ratmann19 Apr '06 13:41
Read Message   Re: how to obtain my subclass from ListOf Ben Bornstein19 Apr '06 17:04
Read Message   Re: how to obtain my subclass from ListOf Ben Bornstein19 Apr '06 17:04
Read Message   RE: how to obtain my subclass from ListOf oliver.ratmann23 Apr '06 15:06
Read Message   Re: how to obtain my subclass from ListOf Ben Bornstein23 Apr '06 16:31
Read Message   Re: how to obtain my subclass from ListOf Ben Bornstein23 Apr '06 16:31
Read Message   RE: how to obtain my subclass from ListOf oliver.ratmann23 Apr '06 15:06
Read Message   RE: how to obtain my subclass from ListOf  oliver.ratmann24 Apr '06 06:45
Read Message   RE: how to obtain my subclass from ListOf oliver.ratmann24 Apr '06 06:45
Read Message   Re: how to obtain my subclass from ListOf Ben Bornstein24 Apr '06 10:06
Read Message   Re: how to obtain my subclass from ListOf Ben Bornstein24 Apr '06 10:06
Read Message   RE: how to obtain my subclass from ListOf oliver.ratmann24 Apr '06 14:59
Read Message   RE: how to obtain my subclass from ListOf oliver.ratmann24 Apr '06 14:59
Previous Topic:Bug with setLevel in libsbml with the python bindings.
Next Topic:RE: how to obtain my subclass from ListOf PLSE BOUNCE
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.