Summary: | dev-lang/swig fails to build with recent PLT Scheme versions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dmitry Dzhus <dima> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | A patch to configure.in to make SWIG compile with MzScheme |
Description
Dmitry Dzhus
2008-08-24 08:32:49 UTC
Created attachment 163693 [details]
A patch to configure.in to make SWIG compile with MzScheme
Removed `--mute-banner` call, using new require syntax, removed unknown `current-make-standard-libraries` function.
Looks like not just the build fails, but the whole MzScheme support in SWIG is broken — `make check` fails with the following error in MzScheme examples: ~/swig-1.3.36-nu/Examples/mzscheme/multimap $ LC_ALL="C" make /usr/bin/make -f ../../Makefile SRCS='example.c' SWIG='../../../preinst-swig' \ SWIGOPT='' TARGET='example' INTERFACE='example.i' mzscheme make[1]: Entering directory `/home/sphinx/swig-1.3.36-nu/Examples/mzscheme/multimap' ../../../preinst-swig -mzscheme example.i test -n "/usr/bin/mzc" && /usr/bin/mzc `echo | sed 's/-I/++ccf -I/g'` --cc example_wrap.c example.c mzc v4.1 [3m], Copyright (c) 2004-2008 PLT Scheme Inc. "example_wrap.c": compile-extension: example_wrap.c:1388:45: error: macro "scheme_make_sized_string" passed 3 arguments, but takes just 2 example_wrap.c: In function '_wrap_capitalize': example_wrap.c:1388: error: 'scheme_make_sized_string' undeclared (first use in this function) example_wrap.c:1388: error: (Each undeclared identifier is reported only once example_wrap.c:1388: error: for each function it appears in.) make[1]: *** [mzscheme] Error 1 make[1]: Leaving directory `/home/sphinx/swig-1.3.36-nu/Examples/mzscheme/multimap' make: *** [all] Error 2 Thanks Dmitry for the patch. Should be fixed now for 1.3.36. |