#881077 racket: please build with shared-library support

Package:
racket
Source:
racket
Description:
extensible programming language in the Scheme family
Submitter:
IOhannes m zmoelnig
Date:
2017-12-23 19:03:04 UTC
Severity:
wishlist
#881077#5
Date:
2017-11-07 15:19:52 UTC
From:
To:
Dear Maintainer,

To embed racket/scheme in other applications it would be much easier, if
libracket was built as a shared library.

The fix is as simple as adding '--enable-shared' to the configure flags.

`configure --help` mentions that enable-shared is "ok, but not recommended",
however it fails to specify why this is so.
src/README says that enable-shared should not be used on W32 and OSX, but it
seems that there isn't a problem on other unices (like linux).
src/README even uses enable-shared in a number of build-examples and goes on to
say:

(which i understand to mean: "we ship it statically linked because it is easier
to use, but distributions will probably want to use enable-shared")

If there's a performance issue with the 'racket' binary, you might want to link
/usr/bin/racket statically, while still providing both libracket3m.so* and
libracket3m.a for the end-user.

While being there, it would be nice to have these shipped in "libracket-dev" and
"libracket" packages (with multiarch support)


this seems to also fix the problem that triggered #666201 (namely, to build
"fluxus"; i happen to know because that's what started all that)


fdmasr
IOhannes

#881077#10
Date:
2017-12-23 18:15:14 UTC
From:
To:
IOhannes m zmoelnig <umlaeute@debian.org> writes:

I did a test build and it seems like it's not quite that simple. Since
the library is installed in /usr/lib, that basically means we need a new
libracket3m-6.11 package, and probably a -dev package as well. I'm not
sure yet how I feel about doing a library transition for every racket
upstream version. Presumably not many packages will depend on it, but
formally a transition will still be required (the problem being racket
is using the version as an SONAME).

d

#881077#15
Date:
2017-12-23 18:15:14 UTC
From:
To:
IOhannes m zmoelnig <umlaeute@debian.org> writes:

I did a test build and it seems like it's not quite that simple. Since
the library is installed in /usr/lib, that basically means we need a new
libracket3m-6.11 package, and probably a -dev package as well. I'm not
sure yet how I feel about doing a library transition for every racket
upstream version. Presumably not many packages will depend on it, but
formally a transition will still be required (the problem being racket
is using the version as an SONAME).

d