source: project/wiki/platforms @ 28884

Last change on this file since 28884 was 28884, checked in by svnwiki, 8 years ago

Anonymous wiki edit for IP [195.212.29.179]: Added link to an alternative installer for Windows.

File size: 6.7 KB
Line 
1[[tags:platforms linux bsd mac windows solaris haiku]]
2
3[[toc:]]
4
5== Platform packages
6
7This aims to provide a comprehensive listing of all platforms where Chicken
8is available in pre-packaged form (whether as a distribution package or a
9binary).
10
11To see on which platforms CHICKEN is supported, see [[portability]].
12
13In order to enable software written using CHICKEN to be effectively
14distributed, it is important that CHICKEN (or at least the CHICKEN
15libraries) be included in as many of the various packaging systems as
16possible, so that it can always be relied on as an available dependency.
17
18== Linux
19
20=== Arch Linux
21
22* [[http://www.archlinux.org/|Arch]] users can install CHICKEN 4.8.0.3
23  from its official community repository:
24
25  pacman -S chicken
26
27* Furthermore, almost all [[Eggs]] are available in its [[http://aur.archlinux.org/|AUR]] repository.
28
29=== Debian Linux
30
31* CHICKEN 4.8.0 is officially included in the Debian Sid (unstable) distribution.
32* CHICKEN 4.7.0 is officially included in the Debian Wheezy (testing) distribution.
33* CHICKEN 4.5.0 is officially included in the Debian Squeeze (stable) distribution.
34* CHICKEN 3.2.7 is officially included in the Debian Lenny (old stable) distribution.
35
36For a complete Chicken install on Debian, you need to
37 # aptitude install chicken-bin libchicken-dev libchicken6
38
39[[http://packages.debian.org/source/wheezy/chicken|Debian page for the CHICKEN source package.]]
40
41=== Ubuntu Linux
42
43* CHICKEN 4.8.0 is officially included in the Ubuntu Raring distribution.
44* CHICKEN 4.7.0 is officially included in the Ubuntu Precise and Quantal distributions.
45* CHICKEN 4.6.0 is officially included in the Ubuntu Oneiric distribution.
46* CHICKEN 4.5.0 is officially included in the Ubuntu Natty and Maverick distributions.
47* CHICKEN 4.2.0 is officially included in the Ubuntu Lucid distribution.
48* CHICKEN 3.4.0 is officially included in the Ubuntu Karmic distribution.
49* CHICKEN 3.2.7 is officially included in the Ubuntu Jaunty distribution.
50
51=== Gentoo Linux
52
53[[http://www.gentoo.org/|Gentoo]] users can install chicken the normal way:
54
55  emerge -auv chicken
56
57This will download, compile and install the latest version of CHICKEN (if it is not already installed).
58
59CHICKEN's [[http://packages.gentoo.org/package/dev-scheme/chicken|Portage ebuild]] is maintained by Marijn Schouten.
60
61=== OpenSUSE
62
63There are currently two unofficial builds of Chicken for [[http://opensuse.org/|OpenSuSE]], which are built and kept updated using OpenSuSE's build service facility [[https://build.opensuse.org/|OBS]]. They can be obtained by adding the corresponding repository [[https://build.opensuse.org/package/show?package=chicken&project=home%3Amwilhelmy|home:mwilhelmy]] or [[https://build.opensuse.org/package/show?package=chicken&project=home%3Aavli%3Ascheme|home:avli:scheme]] to zypper's repository list and installing from there.
64
65You need something along the lines of
66
67 # zypper addrepo -r http://download.opensuse.org/repositories/home:/mwilhelmy/openSUSE_12.2/home:mwilhelmy.repo
68 # zypper refresh
69 # zypper install chicken chicken-devel chicken-doc
70
71for a complete installation of the CHICKEN scheme system.
72
73=== Embedded Linux
74
75==== OpenEmbedded
76
77[[http://github.com/OSSystems|meta-chicken]] is a layer for [[http://www.openembedded.org|OpenEmbedded]] which can be used to cross-compile Chicken and eggs.
78
79
80==== OpenMoko
81
82This package consists of the runtime library plus interpreter. The version of Chicken is 2.733.
83
84 ipkg install http://zedstar.org/ipk/chicken-scheme-interpreter_2.733_armv4t.ipk
85
86Package maintained by [[/users/john moore|john moore]].
87
88==== Maemo 5
89
90Instructions for getting Chicken (4.4) and many eggs from a handy optified deb repository are at: http://0xab.com/n900
91
92Package maintained by [[http://0xab.com/|Andrei Barbu]].
93
94
95
96== Mac OS X
97
98=== MacPorts
99
100If you're using [[http://www.macports.org/|MacPorts]], installation is very
101simple. Open the Terminal application and type the following:
102
103  sudo port install chicken
104
105This will download, compile and install the latest CHICKEN version.
106
107The MacPorts package is maintained by [[/users/arto-bendiken|Arto Bendiken]].
108
109==== Installing the readline egg
110
111You can install the readline egg to get history and tab-completion in csi. See [[/manual/Using the interpreter|Using the interpreter]].
112
113However, you may get errors when compiling the egg. This is because Apple doesn't ship GNU readline with OS X. However, there is an easy fix:
114
115  port install readline
116
117==== Fixing libchicken.dylib
118
119When using certain extensions (posix is one example), you may come across the following error:
120
121  "dlopen(libchicken.dylib, 9): image not found"
122
123The easiest way to fix this is to add an alias to libchicken.dylib to /usr/local/lib, like so:
124
125  sudo ln -s /opt/local/lib/libchicken.dylib /usr/local/lib/
126
127Another solution is to set the {{DYLD_LIBRARY_PATH}} environment variable to the location of {{libchicken.dylib}}. However, this will mess up some other programs, as they will look for their libraries in {{/opt/local/lib}} as well. One solution is to set up aliases for {{csi}} and {{csc}} in your bash profile. Add the following two lines to {{~/.profile}}:
128
129  alias csi='DYLD_LIBRARY_PATH=/opt/local/lib csi'
130  alias csc='DYLD_LIBRARY_PATH=/opt/local/lib csc'
131
132This will set {{DYLD_LIBRARY_PATH}} for {{csi}} and {{csc}}, but not for other commands.
133
134=== Homebrew
135
136If you're using [[https://github.com/mxcl/homebrew/|Homebrew]] you can install the formula chicken:
137
138    brew install chicken
139
140== BSD
141
142=== FreeBSD
143
144For FreeBSD, you can use the {{lang/chicken}} port to install the latest stable release.
145
146=== NetBSD
147
148For NetBSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
149
150
151=== OpenBSD
152
153For OpenBSD, you can use the {{lang/chicken}} package by running the following command as root:
154
155<enscript>
156$ pkg_add chicken
157</enscript>
158
159
160=== DragonFly BSD
161
162For DragonFly BSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
163
164== Haiku
165
166=== HaikuPorts
167
168Chicken has been added to the official [[http://ports.haiku-files.org|ports repository]] and can be installed with the following command:
169
170  haikuporter -i chicken
171
172
173== Other platforms/cross-platform support
174
175=== pkgsrc
176
177For many systems, you can use [[http://www.pkgsrc.org|pkgsrc]].  This is a cross-platform packaging system, which works most modern Unix-like operating systems and even on Windows (using Interix/Services for Unix or Cygwin). See [[http://www.netbsd.org/docs/software/packages.html#platforms|this table]] for the full list of supported platforms.
178
179=== Microsoft Windows
180
181[[http://www.kiatoa.com/cgi-bin/chicken-iup/home|Installer for Windows, includes the IUP and Canvas Draw eggs preinstalled]]
182
183[[https://bitbucket.org/roti/chicken-installer/downloads|Another installer for Windows]]
Note: See TracBrowser for help on using the repository browser.