Ok Raimundo, thank you for your feedback. You motivated me to try to patch chuck-1.2.1.3. And while it took a bit of time, I finally got it to compile :) Be aware that near to nothing from the util_hid.cpp file will work (mouse-support, keyboard, joystick etc) Please try it out on Freebsd 8 (I have tried 7.2 only) and see if it works for you (didn't check FileIO). BTW: I am running on 32bit and you? Please keep in mind, that I did this only by accident and have almost no clue of the consequences of my changes except that the hid methods are simply disabled in order to compile. So the procedure is now: wget http://chuck.cs.princeton.edu/release/files/chuck-1.2.1.3.tgz gtar -xzf chuck-1.2.1.3.tgz wget http://stridor.net/upload/chuck-1.2.1.3.freebsd.patch cd chuck-1.2.1.3 && patch -d src -u -p1 < ../chuck-1.2.1.3.freebsd.patch cd src && gmake freebsd # you might omit this step and copy the chuck file somewhere else gmake install Best Regards, Benny
Hey, Benny!!!
Many Many Thanks To Benny Who Make The Patch!
:)
It compiled well under fbsd8.0rc1 in the chuck 1.2.1.2, but the .ck scripts I have to run use FileIO like a class, and, as I got it, this feature exists only from 1.2.1.3. =/
I got chuck-1.2.1.2 (the cli program) working for FreeBSD 7.2 by disabling the gui stuff and some other changes.
Nice to know it.
You can do the following to check it out:
wget http://stridor.net/upload/chuck-1.2.1.2.tgz gtar -xzf chuck-1.2.1.2.tgz cd chuck-1.2.1.2 && wget http://stridor.net/upload/freebsd.patch patch -d src -u -p1 < freebsd.patch cd src && gmake freebsd # and as root (copies the binary to /usr/bin) gmake install
I prefer not to put things system-wide, when I can. I have put it in ~/bin :D
It should work - at least on FreeBSD 7.2 Perhaps someone (you?) could review the patch and put it upstream / integrate it with chuck-1.2.1.3
Hey, it is a big adventure for me!!! I will try for some weeks. How I have said: I am not so practice on hacking and programming SO especific things. But in the BSD way, I think it could be easy.
I am not really familiar with C nor make, just did a bit trial and error (mixing of the MacOSX and linux-oss options) that happened to work.
You need libsndfile on FreeBSD Hope that helps.
Perhaps you want to make a regular port of it?
Not yet, I am rawraw-boy... ;)
The best for us all, raitech