Menu

#215 [mzscheme] Make SWIG build with recent PLT versions

closed-fixed
None
5
2009-02-07
2008-08-29
No

Current SWIG version (1.3.36 and SVN) fails to build with any recent PLT version. I've attached a patch to fix it. Probably more patching needed for MzScheme module as it seems to be unmaintained.

Discussion

  • Dmitry Dzhus

    Dmitry Dzhus - 2008-08-29
     
  • Dmitry Dzhus

    Dmitry Dzhus - 2008-08-29
    • summary: [mzscheme] --> [mzscheme] Make SWIG build with recent PLT versions
     
  • William Fulton

    William Fulton - 2008-09-01

    Logged In: YES
    user_id=242951
    Originator: NO

    Unfortunately this patch breaks thinkgs. With the patch I get:

    checking for mzscheme... /usr/bin/mzscheme
    checking for mzc... /usr/bin/mzc
    checking for MzScheme dynext object... require: unknown module: dynext/link
    Welcome to MzScheme version 352, Copyright (c) 2004-2006 PLT Scheme Inc.
    >
    checking for ruby... ruby

    When I normally get:

    checking for mzscheme... /usr/bin/mzscheme
    checking for mzc... /usr/bin/mzc
    checking for MzScheme dynext object... /usr/lib/plt/mzdyn.o
    checking for ruby... ruby

     
  • Dmitry Dzhus

    Dmitry Dzhus - 2008-09-02

    Logged In: YES
    user_id=2197767
    Originator: YES

    Indeed, the `dynext/link` module naming scheme was introduced in
    _recent_ versions of PLT, which this patch aims to support. 352 is an
    outdated one. I believe that compatibility with _modern_ MzScheme
    versions is a SWIG goal.

     
  • William Fulton

    William Fulton - 2008-09-02

    Logged In: YES
    user_id=242951
    Originator: NO

    Adding support for modern versions is great, but the version that comes with my fairly modern development environment will be broken by the patch. A patch that works with both is what is really required.

     
  • Marijn Schouten

    Marijn Schouten - 2008-09-03

    Logged In: YES
    user_id=443499
    Originator: NO

    Your "fairly modern development environment" uses a PLT version that is two years old. I have tested that Dmitry's patch works for version 372 and up. To build PLT-352 I would probably have to downgrade my entire toolchain.

    I wonder how you would feel about someone using a two years old version of swig.

     
  • William Fulton

    William Fulton - 2008-12-29

    In order for this patch to be considered, please modify it with some backwards compatibility in it. This is the approach we use for all the SWIG modules. We might drop older versions of a target language when they are really old and the maintenance is too much of a burden. 352 is shipped with an 18 month old version of Linux, so it'll still be in wide use.

     
  • William Fulton

    William Fulton - 2009-02-07

    used this as a basis to support the older and newer versions. For swig-1.3.39.

     
  • William Fulton

    William Fulton - 2009-02-07
    • assigned_to: nobody --> wsfulton
    • status: open --> closed-fixed
     

Log in to post a comment.