[chuck-dev] Compiling under FreeBSD
linux at marcrenearns.de
Wed Oct 21 10:32:24 EDT 2009
thank you for your feedback. You motivated me to try to patch
chuck-220.127.116.11. And while it took a bit of time, I finally got it to
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:
gtar -xzf chuck-18.104.22.168.tgz
cd chuck-22.214.171.124 && patch -d src -u -p1 < ../chuck-126.96.36.199.freebsd.patch
cd src && gmake freebsd
# you might omit this step and copy the chuck file somewhere else
> Hey, Benny!!!
> Many Many Thanks
> To Benny
> Who Make The Patch!
> It compiled well under fbsd8.0rc1 in the chuck 188.8.131.52, but the .ck
> scripts I have to run use FileIO like a class, and, as I got it, this
> feature exists only from 184.108.40.206. =/
>> I got chuck-220.127.116.11 (the cli program) working for FreeBSD 7.2 by
>> 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-18.104.22.168.tgz
>> gtar -xzf chuck-22.214.171.124.tgz
>> cd chuck-126.96.36.199 && 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-188.8.131.52
> 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
>> (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,
More information about the chuck-dev