RE: cicken-install woes
I just re-installed chicken-5.3.0 from source using the link Mario provided. No problems encountered. However: chicken-install this building this installing this install: cannot create regular file '/home/dnormandin/local/chicken-5.3.0/lib/chicken/11/this.o': Permission denied Error: shell command terminated with nonzero exit code 256 "sh /home/dnormandin/.cache/chicken-install/this/this.install.sh" I'm using `zsh' as my default shell. Could this be causing all this problem? TIA ... -- Duke
chicken-install woes
Hello list ... [quote] chicken-install -s apropos chicken-doc building matchable /usr/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /home/dnormandin/.cache/chicken-install/matchable -C -I/home/dnormandin/.cache/chicken-install/matchable -O2 -d1 matchable.scm -o /home/dnormandin/.cache/chicken-install/matchable/matchable.so Error: segmentation violation Call history: (##core#begin (##core#declare (always-bound ##sys#standard-input ##sys#standard-output ##sys#standar... (##core#declare (always-bound ##sys###sys#standard-input ##sys#standard-output ##sys###sys###sys#standard-error ##sys#...<-- Error: shell command terminated with non-zero exit status 17920: '/usr/bin/chicken' 'matchable.scm' -output-file '/home/dnormandin/.cache/chicken-install/matchable/matchable.c' -dynamic -feature chicken-compile-shared -feature compiling-extension -emit-all-import-libraries -regenerate-import-libraries -setup-mode -include-path /home/dnormandin/.cache/chicken-install/matchable -optimize-level 2 -debug-level 1 Error: shell command terminated with nonzero exit code 256 "sh /home/dnormandin/.cache/chicken-install/matchable/matchable.build.sh" [/quote] I'm trying to instal "geiser" and suporting "extras" as per https://wiki.call-cc.org/emacs#geiser What did I do to blow this up? Or maybe what didn't I do that should have? TIA ! -- Duke
Re: freeBSD chicken port
On Thu, 14 Jan 2021 22:31:28 -0500 Paul Wisehart wrote: [snip] > You can see the binaries in /usr/local/bin. > chicken5 csc5 and csi5. > You can generalize begin using most FreeBSD packages. I discovered all of that already! But WHY change from csc and csi to csc5 and csi5? So next next Chicken upgrade will be csc6 and csi6? Why this complication? Thanks for your input! -- Duke
freeBSD chicken port
Hi all .. Just installed freeBSD on an old AMD Athlon box. My first *nix love works like a hot damn. :) Installed freeBSD pkg Chicken5-5.2.0 - no problems. However, getting it run afterwards took me 1/2 hour. I tried: chicken; man 1 chicken; csi; man 1 csi; csc etc etc NO JOY! Until out of frustration, I tried chicken5; csi5; man 1 csi5 etc JOY!! I was lucky to trip over that solution! Can that be fixed for the next poor slob that tries to run Chicken on freeBSD? I take it that there is a new freeBSD Chicken port maintainer? Thanks! -- Duke
Re: Chicken on Debian
On Sun, 10 Jan 2021 22:05:21 +0100 Mario Domenech Goulart wrote: > $ wget > http://code.call-cc.org/releases/5.2.0/chicken-5.2.0.tar.gz $ tar > xzvf chicken-5.2.0.tar.gz $ cd chicken-5.2.0 > $ make PLATFORM=linux PREFIX=$HOME/local/chicken-5.2.0 install dnormandin@ASUSLAP:~$ ls local/chicken-5.2.0/bin/ chicken chicken-do chicken-install chicken-profile chicken-status chicken-uninstall csc csi feathers :-D
Re: Chicken on Debian
On Sun, 10 Jan 2021 22:05:21 +0100 Mario Domenech Goulart wrote: Hey Mario ... Thanks for all the help!! [snip] > If you want to compile CHICKEN from sources, it's a piece of cake > on Linux, and doesn't depend on much more than what you'd need to > install eggs. You'll need a C toolchain and GNU make. > > In case that's a viable alternative for you, below is a simple > recipe that will install CHICKEN in $HOME/local/chicken-5.2.0 > (you can change that, of course). > > $ wget > http://code.call-cc.org/releases/5.2.0/chicken-5.2.0.tar.gz $ tar > xzvf chicken-5.2.0.tar.gz $ cd chicken-5.2.0 > $ make PLATFORM=linux PREFIX=$HOME/local/chicken-5.2.0 install Is 5.2.0 "Bleeding Edge" where I'll be in trouble all the time? :) And making a bunch of noise on this list? I'll see what I do have for a toolchain and go from there. Much obliged! -- Duke
Re: Chicken on Debian
On Sun, 10 Jan 2021 22:12:50 +0200 Lassi Kortela wrote: > > dnormandin@ASUSLAP:~$ sudo apt install chicken-bin=5.2.0 > > E: Version '5.2.0' for 'chicken-bin' was not found > > 5.2.0 is in Debian Testing and Unstable. > https://repology.org/project/chicken/versions Thanks! I'm rusty with 'apt' utility. I want to update my /etc/apt/sources.list I'm NOT winning because I'm not using the correct URL. Would you please give me a clue. My last entry was: deb http://deb.debian.org/debian buster/lisp main but that doesn't seem to pick up the 4.13.0-1 version. Only an older version: dnormandin@ASUSLAP:~$ apt search chicken-bin Sorting... Done Full Text Search... Done chicken-bin/oldstable 4.11.0-1 amd64 Practical and portable Scheme system - compiler -- Duke
Chicken on Debian
Debian shows only: dnormandin@ASUSLAP:~$ apt search chicken Sorting... Done Full Text Search... Done chicken-bin/oldstable 4.11.0-1 amd64 Practical and portable Scheme system - compiler dnormandin@ASUSLAP:~$ sudo apt install chicken-bin=5.2.0 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '5.2.0' for 'chicken-bin' was not found Is there a Debian maintainer in the crowd? Anybody got Mr Putin's mobile # so that I can report this serious matter? ROTFL -- Duke
Re: Noob needs current tutorial please
On Sun, 10 Jan 2021 12:37:41 -0700 Duke Normandin wrote: [snip} > Haven't tried to get the scheme script working on plain cmd shell. > I've got Debian installed on my Win10 box. I may learn > scheme/chicken there! I have now: C:\> csi -ss quickrep.scm
Re: Noob needs current tutorial please
On Sun, 10 Jan 2021 09:56:00 +0100 Stefan Schmiedl wrote: > "Duke Normandin" , 10.01.2021, 05:05: > > > Follow-up ... [snip] > Write a program echoing its commandline arguments to stdout > and then feed it with different types of arguments: > > csi -ss echo.scm a b A 123 a.*c 'a.*c' "d e f" 'g h i' j\ k > > to test which of your assumptions with respect to arguments hold. Using Windoze Powershell, the following worked: Get-Content .\quickrep.dat | csi -ss quickrep.scm 'a.*c' A ?xyzAghi Agh foonly The traditional `<' redirection operator was nuked in favor of a new "Get-Content" cdmlet. :( Haven't tried to get the scheme script working on plain cmd shell. I've got Debian installed on my Win10 box. I may learn scheme/chicken there! -- Duke
Re: Noob needs current tutorial please
On Sun, 10 Jan 2021 09:56:00 +0100 Stefan Schmiedl wrote: > "Duke Normandin" , 10.01.2021, 05:05: > > > Follow-up ... [snip] > Write a program echoing its commandline arguments to stdout > and then feed it with different types of arguments: > > csi -ss echo.scm a b A 123 a.*c 'a.*c' "d e f" 'g h i' j\ k > > to test which of your assumptions with respect to arguments hold. Thank you for outlining the possible issue and the test case. If I had ANY brains at all, I would go back to a BSD or Linux box. LOL BTW, I am not a professional programmer! Just an old (74 yrs) amateur hacker wanting to learn a new language in an effort to keep the "little grey cells" functioning as normally as possible. :-D. Thanks again! -- Duke Alberta, Canada
Re: Noob needs current tutorial please
Follow-up ... The code executed without a burp! :-) However ... c:\> csi -ss quickrep.scm
Re: Noob needs current tutorial please
On Sun, 10 Jan 2021 03:16:36 + André Sá wrote: > On 1/10/21 2:51 AM, Duke Normandin wrote: > > Hello & Happy New Year! > > > > I'm new to Chicken Scheme. I've got some exposure to newLISP and > > Gambit-C. I'm continueing my test-drive of Chicken because it > > produced the smallest executable for helloworld.scm. > > > > However, I'm having a bitch of a time finding a tutorial with > > example code that is current to the most recent version of > > Chicken. For example: at > > http://wiki.call-cc.org/friendly-chicken one of the examples is: [snip] > From a quick glance, it seems that page is for CHICKEN 4 (the > current version is 5). I think the only differences from that > page are that instead of `use` you should now use `import`, and > that the `numbers` egg is no longer needed to have a full numeric > tower support. Good to know! Thanks. Those "old" docs in all languages get me everytime! Thanks for the links! I'm sure that it will help! -- Duke
Re: Noob needs current tutorial please
On Sat, 9 Jan 2021 19:13:18 -0800 George Oliver wrote: > On Sat, Jan 9, 2021 at 6:51 PM Duke Normandin > wrote: > > > > Any recent tutorials for Chicken out there? TIA .. > > hi Duke, unfortunately that example you linked is using version 4 > Chicken (note the version in the header of the file). Importing > packages changed in Chicken 5. I recommend this page for a better > getting started tutorial, > > http://wiki.call-cc.org/man/5/Getting%20started Thank you very much George for the link and quick reply! I'll give it another shot using "import" now that I know better. I also had an issue with installing Chicken. To whom should I address the hiccup to? Thanks again! -- Duke
Noob needs current tutorial please
Hello & Happy New Year! I'm new to Chicken Scheme. I've got some exposure to newLISP and Gambit-C. I'm continueing my test-drive of Chicken because it produced the smallest executable for helloworld.scm. However, I'm having a bitch of a time finding a tutorial with example code that is current to the most recent version of Chicken. For example: at http://wiki.call-cc.org/friendly-chicken one of the examples is: #;1> (use utf8) It barfs up: Error: unbound variable: use Call history: (use utf8) (use utf8)<-- and the list goes on! Any recent tutorials for Chicken out there? TIA .. -- Duke