source: project/wiki/platforms @ 6279

Last change on this file since 6279 was 6279, checked in by svnwiki, 13 years ago

Changes applied for Ozzi Lee (71.38.23.104) through svnwiki:

Added info about installing readline with OS X.

File size: 4.0 KB
Line 
1[[tags:platforms linux bsd mac windows]]
2
3[[toc:]]
4
5== Introduction
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=== Debian Linux
21
22CHICKEN 2.3 (a very old version) is officially included in the Debian 3.1
23(Sarge) and 4.0 (Etch) distributions. Newer CHICKEN versions are available
24via unofficial packages, please see [[Debian packages]].
25
26=== Ubuntu Linux
27
28The Debian packages should work on Ubuntu, too. Can anyone confirm?
29
30=== Gentoo Linux
31
32[[http://www.gentoo.org/|Gentoo]] users can install chicken the normal way:
33
34  emerge -auv chicken
35
36This will download, compile and install the latest version of CHICKEN (if it is not already installed).
37
38CHICKEN's [[http://packages.gentoo.org/ebuilds/?chicken-2.6|Portage ebuild]] is maintained by Marijn Schouten.
39
40=== Embedded Linux
41
42==== OpenMoko
43
44Note, this build is for phones flashed with 2007.1.
45
46To install the interpreter (csi) and runtime library:
47
48 ipkg install http://chicken.wiki.br/download/chicken-scheme-interpreter_2.6_armv4t.ipk
49
50For 2007.2 builds:
51
52 ipkg install http://zedstar.org/ipk/2007.2/chicken-scheme-interpreter_2.6_armv4t.ipk
53
54Package maintained by [[john moore]].
55== Mac OS X
56
57=== MacPorts
58
59If you're using [[http://www.macports.org/|MacPorts]], installation is very
60simple. Open the Terminal application and type the following:
61
62  sudo port install chicken
63
64This will download, compile and install the latest CHICKEN version.
65
66The MacPorts package is maintained by [[Arto Bendiken]].
67
68==== Installing the readline egg
69
70You can install the readline egg to get history and tab-completion in csi. See [[Using the interpreter]].
71
72However, 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:
73
74  port install readline
75
76==== Fixing libchicken.dylib
77When using certain extensions (posix is one example), you may come across the following error:
78
79  "dlopen(libchicken.dylib, 9): image not found"
80
81The easiest way to fix this is to add an alias to libchicken.dylib to /usr/local/lib, like so:
82
83  sudo ln -s /opt/local/lib/libchicken.dylib /usr/local/lib/
84
85Another 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}}:
86
87  alias csi='DYLD_LIBRARY_PATH=/opt/local/lib csi'
88  alias csc='DYLD_LIBRARY_PATH=/opt/local/lib csc'
89
90This will set {{DYLD_LIBRARY_PATH}} for {{csi}} and {{csc}}, but not for other commands.
91
92=== Fink
93
94[[http://www.finkproject.org/|Fink]] users can type the following command in a Terminal:
95
96  fink install chicken
97
98This will download, compile and install the latest CHICKEN version.
99
100== BSD
101
102=== NetBSD
103
104For NetBSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
105
106=== DragonFly BSD
107
108For DragonFly BSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
109
110== Windows
111
112No binaries available at this time (but soon!)
113
114== Other platforms/cross-platform support
115
116=== pkgsrc
117
118For 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.
Note: See TracBrowser for help on using the repository browser.