source: project/wiki/platforms @ 29435

Last change on this file since 29435 was 29435, checked in by svnwiki, 7 years ago

Anonymous wiki edit for IP [98.27.143.13]: Add the command for Fedora, too.

File size: 7.0 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=== Fedora Linux (and RHEL derivatives, via EPEL)
42
43* CHICKEN 4.8.0 is officially included in the Fedora 18 and 19 distributions.
44* CHICKEN 4.8.0 is officially included in the EPEL 6 repository for RHEL and derivatives.
45
46  sudo yum install chicken
47
48=== Ubuntu Linux
49
50* CHICKEN 4.8.0 is officially included in the Ubuntu Raring distribution.
51* CHICKEN 4.7.0 is officially included in the Ubuntu Precise and Quantal distributions.
52* CHICKEN 4.6.0 is officially included in the Ubuntu Oneiric distribution.
53* CHICKEN 4.5.0 is officially included in the Ubuntu Natty and Maverick distributions.
54* CHICKEN 4.2.0 is officially included in the Ubuntu Lucid distribution.
55* CHICKEN 3.4.0 is officially included in the Ubuntu Karmic distribution.
56* CHICKEN 3.2.7 is officially included in the Ubuntu Jaunty distribution.
57
58=== Gentoo Linux
59
60[[http://www.gentoo.org/|Gentoo]] users can install chicken the normal way:
61
62  emerge -auv chicken
63
64This will download, compile and install the latest version of CHICKEN (if it is not already installed).
65
66CHICKEN's [[http://packages.gentoo.org/package/dev-scheme/chicken|Portage ebuild]] is maintained by Marijn Schouten.
67
68=== OpenSUSE
69
70There 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.
71
72You need something along the lines of
73
74 # zypper addrepo -r http://download.opensuse.org/repositories/home:/mwilhelmy/openSUSE_12.2/home:mwilhelmy.repo
75 # zypper refresh
76 # zypper install chicken chicken-devel chicken-doc
77
78for a complete installation of the CHICKEN scheme system.
79
80=== Embedded Linux
81
82==== OpenEmbedded
83
84[[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.
85
86
87==== OpenMoko
88
89This package consists of the runtime library plus interpreter. The version of Chicken is 2.733.
90
91 ipkg install http://zedstar.org/ipk/chicken-scheme-interpreter_2.733_armv4t.ipk
92
93Package maintained by [[/users/john moore|john moore]].
94
95==== Maemo 5
96
97Instructions for getting Chicken (4.4) and many eggs from a handy optified deb repository are at: http://0xab.com/n900
98
99Package maintained by [[http://0xab.com/|Andrei Barbu]].
100
101
102
103== Mac OS X
104
105=== MacPorts
106
107If you're using [[http://www.macports.org/|MacPorts]], installation is very
108simple. Open the Terminal application and type the following:
109
110  sudo port install chicken
111
112This will download, compile and install the latest CHICKEN version.
113
114The MacPorts package is maintained by [[/users/arto-bendiken|Arto Bendiken]].
115
116==== Installing the readline egg
117
118You can install the readline egg to get history and tab-completion in csi. See [[/manual/Using the interpreter|Using the interpreter]].
119
120However, 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:
121
122  port install readline
123
124==== Fixing libchicken.dylib
125
126When using certain extensions (posix is one example), you may come across the following error:
127
128  "dlopen(libchicken.dylib, 9): image not found"
129
130The easiest way to fix this is to add an alias to libchicken.dylib to /usr/local/lib, like so:
131
132  sudo ln -s /opt/local/lib/libchicken.dylib /usr/local/lib/
133
134Another 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}}:
135
136  alias csi='DYLD_LIBRARY_PATH=/opt/local/lib csi'
137  alias csc='DYLD_LIBRARY_PATH=/opt/local/lib csc'
138
139This will set {{DYLD_LIBRARY_PATH}} for {{csi}} and {{csc}}, but not for other commands.
140
141=== Homebrew
142
143If you're using [[https://github.com/mxcl/homebrew/|Homebrew]] you can install the formula chicken:
144
145    brew install chicken
146
147== BSD
148
149=== FreeBSD
150
151For FreeBSD, you can use the {{lang/chicken}} port to install the latest stable release.
152
153=== NetBSD
154
155For NetBSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
156
157
158=== OpenBSD
159
160For OpenBSD, you can use the {{lang/chicken}} package by running the following command as root:
161
162<enscript>
163$ pkg_add chicken
164</enscript>
165
166
167=== DragonFly BSD
168
169For DragonFly BSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
170
171== Haiku
172
173=== HaikuPorts
174
175Chicken has been added to the official [[http://ports.haiku-files.org|ports repository]] and can be installed with the following command:
176
177  haikuporter -i chicken
178
179
180== Other platforms/cross-platform support
181
182=== pkgsrc
183
184For 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.
185
186=== Microsoft Windows
187
188[[http://www.kiatoa.com/cgi-bin/chicken-iup/home|Installer for Windows, includes the IUP and Canvas Draw eggs preinstalled]]
189
190[[https://bitbucket.org/roti/chicken-installer/downloads|Another installer for Windows]]
Note: See TracBrowser for help on using the repository browser.