Re: scsh.net broken link(s)
Ebzzry <[email protected]> Sat, 7 Mar 2009 14:11:21 +0800
| Newsgroups | gmane.lisp.scheme.scsh |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Mar 7, 2009 at 1:05 PM, Nunez Steve <[email protected]> wrote: > Hmmm. I'm on a 32-bit (OpenSolaris) environment and a warning: > warning: comparison is always false due to limited range of data type > is this anything to be worried about? > More generally, can anyone recommend any good alternatives for heavy-duty > shell scripting for folks that like LISP? I've heard TCL may be appealing... > SteveN > ________________________________ > From: "[email protected]" <[email protected]> > To: Scsh Users <[email protected]> > Sent: Saturday, March 7, 2009 10:59:21 AM > Subject: Re: scsh.net broken link(s) > > Nunez Steve writes: >> The 64-bit limitation is a bit worrisome. Does anyone here know if a >> fix is in the works? I don't have the skills to address the problem, >> and a search shows some patches submitted to some of the OSs. > > Or, more specifically, are there any plans to port SCSH from its > current Scheme 48 implementation to something more recent? Version > 1.8 released a month ago advertises 64-bit support. > > Derek > > -- > Derek Upham > [email protected] > > > I used to run Scsh on FreeBSD i386, but when I used it on Debian amd64, I found out that there are no Scsh packages for amd64, due to the fact that it assumes a 32-bit environment and it has hardwired 32-bit limits in the code. I had to run Scsh on Debian amd64 (because a lot of my scripts are written in it) so I sought ways on how to do it. It's not completely relevant to the thread topic but I'll list below what I have tried and done so far. 1. Use getlibs: http://www.google.com/search?q=getlibs 2. Use the patch from: http://www.nabble.com/Bug-414931:-scsh-0.6:-patch-for-amd64-support-td19868287.html 3. Use Scsh in an x86 chroot environment 4. (Ab)use amd64's biarch support to run a 32-bit image. Trent Buck gave me instructions regarding this (on Debian system) which is as follows: (slight modified to correct minor erratas) apt-get update apt-get build-dep scsh-0.6 apt-get install libc6-dev-i386 ia32-libs gcc-multilib apt-get source scsh-0.6 cd scsh-0.6*/ sed -i '/CFLAGS = -g -Wall/ s/$/ -m32/' debian/rules sed -i '/Cpu:/ s/$/,amd64/' debian/control.in debian/rules debian/control sed -i '/i386/s/$/ amd64/' debian/control debuild -uc -us cd .. dpkg -i scsh*deb Scsh is a very promising and powerful environment. We hope somebody will have enough time to port it to 64-bit environmets to fully take advantage of what that arch offers and not just rely on very rough kludges. -- Rommel M. Martinez [email protected] http://www.bespin.org/~ebzzry