source: project/wiki/platforms @ 33587

Last change on this file since 33587 was 33587, checked in by svnwiki, 5 years ago

Anonymous wiki edit for IP [112.134.151.10]:

File size: 7.9 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.9.0.1 is officially included in the Debian Sid (unstable) distribution.
32* CHICKEN 4.9.0.1 is officially included in the Debian Stretch (testing) distribution.
33* CHICKEN 4.9.0.1 is officially included in the Debian Jessie (stable) distribution.
34* CHICKEN 4.7.0 is officially included in the Debian Wheezy (old stable) distribution.
35* CHICKEN 4.5.0 is officially included in the Debian Squeeze distribution.
36* CHICKEN 3.2.7 is officially included in the Debian Lenny distribution.
37
38For a complete CHICKEN install on Debian, you need to
39 # aptitude install chicken-bin libchicken-dev
40
41[[http://packages.debian.org/source/wheezy/chicken|Debian page for the CHICKEN source package.]]
42
43=== Fedora Linux (and RHEL derivatives, via EPEL)
44
45* CHICKEN 4.8.0 is officially included in the Fedora 18 and 19 distributions.
46* CHICKEN 4.8.0 is officially included in the EPEL 6 repository for RHEL and derivatives.
47
48  sudo yum install chicken
49
50=== Ubuntu Linux
51
52* CHICKEN 4.9.0 is officially included in the Ubuntu Xenial distribution.
53* CHICKEN 4.8.0 is officially included in the Ubuntu Raring distribution.
54* CHICKEN 4.7.0 is officially included in the Ubuntu Precise and Quantal distributions.
55* CHICKEN 4.6.0 is officially included in the Ubuntu Oneiric distribution.
56* CHICKEN 4.5.0 is officially included in the Ubuntu Natty and Maverick distributions.
57* CHICKEN 4.2.0 is officially included in the Ubuntu Lucid distribution.
58* CHICKEN 3.4.0 is officially included in the Ubuntu Karmic distribution.
59* CHICKEN 3.2.7 is officially included in the Ubuntu Jaunty distribution.
60
61=== Gentoo Linux
62
63[[http://www.gentoo.org/|Gentoo]] users can install chicken the normal way:
64
65  emerge -auv chicken
66
67This will download, compile and install the latest version of CHICKEN (if it is not already installed).
68
69CHICKEN's [[http://packages.gentoo.org/package/dev-scheme/chicken|Portage ebuild]] is maintained by Marijn Schouten.
70
71=== OpenSUSE
72
73There 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/home:zilti:chicken/chicken|home:zilti:chicken]] to zypper's repository list and installing from there.
74
75You need something along the lines of
76
77 # zypper addrepo 'http://download.opensuse.org/repositories/home:/zilti:/chicken/openSUSE_13.1/'
78 # zypper refresh
79 # zypper install chicken chicken-devel chicken-doc
80
81for a complete installation of the CHICKEN scheme system. Please remember to replace the release number by the release you're actually using.
82
83=== Embedded Linux
84
85==== Yocto/OpenEmbedded
86
87[[http://github.com/OSSystems|meta-chicken]] is a layer for [[http://www.yoctoproject.org|Yocto]]/[[http://www.openembedded.org|OpenEmbedded]] which can be used to cross-compile CHICKEN and eggs.
88
89
90==== OpenMoko
91
92This package consists of the runtime library plus interpreter. The version of CHICKEN is 2.733.
93
94 ipkg install http://zedstar.org/ipk/chicken-scheme-interpreter_2.733_armv4t.ipk
95
96Package maintained by [[/users/john moore|john moore]].
97
98==== Maemo 5
99
100Instructions for getting CHICKEN (4.4) and many eggs from a handy optified deb repository are at: http://0xab.com/n900
101
102Package maintained by [[http://0xab.com/|Andrei Barbu]].
103
104
105
106== Mac OS X
107
108=== MacPorts
109
110If you're using [[http://www.macports.org/|MacPorts]], installation is very
111simple. Open the Terminal application and type the following:
112
113  sudo port install chicken
114
115This will download, compile and install the latest CHICKEN version.
116
117The MacPorts package is maintained by [[/users/arto-bendiken|Arto Bendiken]].
118
119==== Installing the readline egg
120
121You can install the readline egg to get history and tab-completion in csi. See [[/manual/Using the interpreter|Using the interpreter]].
122
123However, 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:
124
125  port install readline
126
127==== Fixing libchicken.dylib
128
129When using certain extensions (posix is one example), you may come across the following error:
130
131  "dlopen(libchicken.dylib, 9): image not found"
132
133The easiest way to fix this is to add an alias to libchicken.dylib to /usr/local/lib, like so:
134
135  sudo ln -s /opt/local/lib/libchicken.dylib /usr/local/lib/
136
137Another 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}}:
138
139  alias csi='DYLD_LIBRARY_PATH=/opt/local/lib csi'
140  alias csc='DYLD_LIBRARY_PATH=/opt/local/lib csc'
141
142This will set {{DYLD_LIBRARY_PATH}} for {{csi}} and {{csc}}, but not for other commands.
143
144=== Homebrew
145
146If you're using [[https://github.com/mxcl/homebrew/|Homebrew]] you can install the formula chicken:
147
148    brew install chicken
149
150== BSD
151
152=== FreeBSD
153
154For FreeBSD, you can use the {{lang/chicken}} port to install the latest stable release.
155
156=== NetBSD
157
158For NetBSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
159
160
161=== OpenBSD
162
163For OpenBSD, you can use the {{lang/chicken}} package by running the following command as root:
164
165<enscript>
166$ pkg_add chicken
167</enscript>
168
169
170=== DragonFly BSD
171
172For DragonFly BSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
173
174== Haiku
175
176=== HaikuPorts
177
178CHICKEN has been added to the official [[http://www.haikuports.org|ports repository]] and can be installed with the following command:
179
180  haikuporter -i chicken
181
182
183== Other platforms/cross-platform support
184
185=== pkgsrc
186
187For many systems, you can use [[http://www.pkgsrc.org|pkgsrc]].  This is a cross-platform packaging system, which works on 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.
188
189=== Microsoft Windows
190
191'''NOTE:''' Some users may encounter issues installing eggs on Windows (particularly [[http://wiki.call-cc.org/eggref/4/bind|bind]]) unless an appropriate C compiler is installed. It is recommended to use [[http://mingw-w64.org|mingw-w64]] in place of [[http://mingw.org|mingw32]] as the mingw32 project is no longer as actively maintained.
192
193[[http://www.kiatoa.com/cgi-bin/chicken-iup/home|Installer for Windows, includes the IUP and Canvas Draw eggs preinstalled]]
194
195[[https://bitbucket.org/roti/chicken-installer/downloads|Another installer for Windows]]
196
197If you use [[http://cygwin.com|cygwin]] there are up to date packages included for 32 and 64bit versions.
198
199[[http://wiki.call-cc.org/msys2|MSYS2]] is easy to setup and build Chicken for, and produces native 64 bit Windows binaries.
200
201=== User survey
202
203A [[platforms-used|survey]] trys to find out which platforms are commonly used by CHICKEN users. There might be an [[running-csi-on-cygwin|issue]] with csi.
Note: See TracBrowser for help on using the repository browser.