chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Debian 9 amd64 chicken-bin 4.11.0-1 cannot import fr


From: David Christensen
Subject: Re: [Chicken-users] Debian 9 amd64 chicken-bin 4.11.0-1 cannot import from undefined module process-context
Date: Tue, 17 Sep 2019 23:53:49 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 9/17/19 10:46 PM, Mario Domenech Goulart wrote:
$ wgethttp://code.call-cc.org/releases/5.1.0/chicken-5.1.0.tar.gz
$ tar xzvf chicken-5.1.0.tar.gz $ cd chicken-5.1.0
$ make PLATFORM=linux PREFIX=$HOME/local/chicken-5.1.0 install

$ export PATH=$PATH:$HOME/local/chicken-5.1.0/bin


On 9/17/19 11:09 PM, Peter Bex wrote:
You don't need to be root if you set PREFIX to a user-writable
directory.


Remove Debian chicken-bin:

2019-09-17 23:16:26 root@tinkywinky ~
# apt-get remove chicken-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libchicken-dev libchicken8 libpcre3-dev libpcre32-3 libpcrecpp0v5
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  chicken-bin
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 5903 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 115436 files and directories currently installed.)
Removing chicken-bin (4.11.0-1) ...
Processing triggers for man-db (2.7.6.1-2) ...

2019-09-17 23:17:15 root@tinkywinky ~
# apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libchicken-dev libchicken8 libpcre3-dev libpcre32-3 libpcrecpp0v5
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 14.9 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 115333 files and directories currently installed.)
Removing libchicken-dev (4.11.0-1) ...
Removing libchicken8 (4.11.0-1) ...
Removing libpcre3-dev:amd64 (2:8.39-3) ...
Removing libpcre32-3:amd64 (2:8.39-3) ...
Removing libpcrecpp0v5:amd64 (2:8.39-3) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for man-db (2.7.6.1-2) ...


Download Chicken tarball with Firefox.


Checksum:

2019-09-17 23:23:58 dpchrist@tinkywinky ~/samba/dpchrist/Downloads/c/chicken-scheme
$ ll
total 4109
drwxr-xr-x+  2 dpchrist dpchrist       0 2019-09-17 23:23:17 ./
drwxr-xr-x+ 38 dpchrist dpchrist       0 2019-09-17 23:21:59 ../
-rw-r--r--+  1 dpchrist dpchrist      86 2019-09-17 23:23:04 SHA256SUM
-rw-r--r--+ 1 dpchrist dpchrist 4071169 2019-09-17 23:22:04 chicken-5.1.0.tar.gz

2019-09-17 23:23:42 dpchrist@tinkywinky ~/samba/dpchrist/Downloads/c/chicken-scheme
$ cat SHA256SUM
5c1101a8d8faabfd500ad69101e0c7c8bd826c68970f89c270640470e7b84b4b *chicken-5.1.0.tar.gz

2019-09-17 23:24:05 dpchrist@tinkywinky ~/samba/dpchrist/Downloads/c/chicken-scheme
$ sha256sum -c SHA256SUM
chicken-5.1.0.tar.gz: OK


Build:

2019-09-17 23:26:31 dpchrist@tinkywinky ~/build
$ tar -xzf ~/samba/dpchrist/Downloads/c/chicken-scheme/chicken-5.1.0.tar.gz

2019-09-17 23:27:17 dpchrist@tinkywinky ~/build
$ cd chicken-5.1.0/

2019-09-17 23:28:23 dpchrist@tinkywinky ~/build/chicken-5.1.0
$ make PLATFORM=linux PREFIX=$HOME/local/chicken-5.1.0 install
echo '#define C_CHICKEN_PROGRAM "chicken"' >> chicken-defaults.h
echo '#ifndef C_INSTALL_CC' >> chicken-defaults.h
echo '# define C_INSTALL_CC "gcc"' >> chicken-defaults.h
<snip>
install -m 644 ./LICENSE "/home/dpchrist/local/chicken-5.1.0/share/chicken/doc" install -m 644 ./setup.defaults "/home/dpchrist/local/chicken-5.1.0/share/chicken" install -m 644 ./feathers.tcl "/home/dpchrist/local/chicken-5.1.0/share/chicken"


Adjust PATH:

2019-09-17 23:47:49 dpchrist@tinkywinky ~
$ export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/dpchrist/local/chicken-5.1.0/bin


Test:

2019-09-17 23:49:00 dpchrist@tinkywinky ~
$ cd sandbox/chicken-scheme

2019-09-17 23:49:43 dpchrist@tinkywinky ~/sandbox/chicken-scheme
$ csc -o palindrome palindrome.scm

2019-09-17 23:50:26 dpchrist@tinkywinky ~/sandbox/chicken-scheme
$ ./palindrome level
level is a palindrome

2019-09-17 23:50:33 dpchrist@tinkywinky ~/sandbox/chicken-scheme
$ ./palindrome label
label isn't a palindrome


Thank you, everyone.  :-)


David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]