Re: [Simulavr-devel] [bug #35594] Build fails with swig 2.0.4

2012-02-24 Thread Torsten Duwe



On Thu, 23 Feb 2012, Thomas K. wrote:


the error message is a little bit unclear. :-) In the moment there is a strict
binding to swig 1.3.x. (but at least 1.3.18, the latest is 1.3.40) In the
moment I don't know, what's happen, if you try to use swig 2.0.x. (by the way,
there was also a message on mailinglist in december 2010 for that, see
archive)


That patch from 2010-12 does only half the trick, if I see correctly. It 
should be something like


$available_major -gt $required_major -o

($available_major -eq $required_major -a $available_minor -gt 
$required_minor ) -o


($available_major -eq $required_major -a $available_minor -eq
$required_minor  -a $available_patch -gt $required_patch )

Or you do some string manipulation tricks.

Anyway, is there any indication that swig-2.x breaks something? I didn't 
bother to mess with the above test, and hit it hard to roughly match any 
swig version. The swig changelog talks about lots of cleanup; no hints to 
incompatibilities. Swig-2.0 is over 2 years old now.



There is nothing to find about migration from swig 1.3.x to 2.0.x in net.


Maybe because there's nothing to do? Disclaimer: I have no insight into 
this. All I can say is that simulavr builds, and works for my purposes, 
when built with swig-2.0.4


Torsten


___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel


[Simulavr-devel] [bug #35594] Build fails with swig 2.0.4

2012-02-23 Thread Thomas K.
Update of bug #35594 (project simulavr):

  Status:None => Postponed  
 Assigned to:None => tomk   

___

Follow-up Comment #1:

Hi Ivan,

the error message is a little bit unclear. :-) In the moment there is a strict
binding to swig 1.3.x. (but at least 1.3.18, the latest is 1.3.40) In the
moment I don't know, what's happen, if you try to use swig 2.0.x. (by the way,
there was also a message on mailinglist in december 2010 for that, see
archive)

There is nothing to find about migration from swig 1.3.x to 2.0.x in net. You
COULD try (if you want to try this!) to edit in configure.ac the line
"AC_PROG_SWIG(1.3.18)" to "AC_PROG_SWIG(2.0.0)" and then run bootstrap and
configure again. MAYBE it works!!! I know, that I got a problem in windows
with msys, but this could be a problem connected with a missing lib. (I hadn't
time to find it out)

But anyway, it's a hint for mee to add a comment in documentation. And the
same could heppen for python. I don't know, what's working or not, if somebody
tries to run it with python3.

For the moment not much help, but a task to check it. :-)

cu, Thomas

___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/


___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel


[Simulavr-devel] [bug #35594] Build fails with swig 2.0.4

2012-02-22 Thread anonymous
URL:
  

 Summary: Build fails with swig 2.0.4
 Project: Simulavr: an AVR simulator
Submitted by: None
Submitted on: Thu 23 Feb 2012 04:23:21 AM UTC
Category: Configure
Severity: 3 - Normal
  Item Group: None
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: ivansichfrei...@gmail.com
 Open/Closed: Open
 Discussion Lock: Any
   Component Version: simulavr

___

Details:

When building simulavr with the python interface, the build fails with swig
2.0.4:
Error: SWIG version >= 1.3.18 is required.  You have 2.0.4.  You should look
at http://www.swig.org

See config.log attached



___

File Attachments:


---
Date: Thu 23 Feb 2012 04:23:21 AM UTC  Name: config.log  Size: 42kB   By: None



___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.nongnu.org/


___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel