source: project/wiki/platforms @ 29434

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

Anonymous wiki edit for IP [98.27.143.13]: Add Fedora.

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