-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nathan Thern wrote:
OK, here's my first go at it. In the source directory I applied the sed script as follows:
$ find -name makefile.in | xargs sed --in-place -f ../fix_gambc.sed
The rest of the changes were all hand edits and are encapsulated in gambc-v4.2.8_post_sed.patch.
gambc-v4.2.8.patch applies all the changes in one smash.
The patches work for the 4.2.8 source release and the latest repo tree. I haven't had time to test compiling the patched source on anything other than cygwin yet. This is my first time submitting changes to a project source code - let me know if I've done something stupid, or committed a faux pas.
regards, NT
Hi Nathan, I tested your patch but it doesn't solve the following problem: $ gsi gsi: error while loading shared libraries: /var/tmp/portage/dev-scheme/gambit-4.2.8/image//usr/lib/libgambcgsi.so: cannot open shared object file: No such file or directory $ equery f gambit | grep libgambcgsi.so /usr/lib/libgambcgsi.so The /var/tmp/portage/dev-scheme/gambit-4.2.8/image/ is DESTDIR and somehow it is encoded in the binaries, but I don't know how exactly this happens. I used the following: ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man - --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc - --localstatedir=/var/lib --enable-shared --disable-single-host - --disable-gcc-opts --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu note the --enable-shared. Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML <http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkhnkjgACgkQp/VmCx0OL2yppwCeMVBlIYfp+mG2/3gU19uaT0SS BbYAnjQJ6sW53QFDdbasnn7LBEylnaw5 =wr2V -----END PGP SIGNATURE-----