source: project/wiki/platforms @ 6717

Last change on this file since 6717 was 6717, checked in by jptmoore, 13 years ago

Changes applied for jptmoore (82.44.200.69) through svnwiki:

Update for new Scheme version

File size: 3.9 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
44This package consists of the runtime library plus interpreter. The version of Chicken is 2.733.
45
46 ipkg install http://zedstar.org/ipk/chicken-scheme-interpreter_2.733_armv4t.ip
47
48Package maintained by [[john moore]].
49== Mac OS X
50
51=== MacPorts
52
53If you're using [[http://www.macports.org/|MacPorts]], installation is very
54simple. Open the Terminal application and type the following:
55
56  sudo port install chicken
57
58This will download, compile and install the latest CHICKEN version.
59
60The MacPorts package is maintained by [[Arto Bendiken]].
61
62==== Installing the readline egg
63
64You can install the readline egg to get history and tab-completion in csi. See [[Using the interpreter]].
65
66However, 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:
67
68  port install readline
69
70==== Fixing libchicken.dylib
71When using certain extensions (posix is one example), you may come across the following error:
72
73  "dlopen(libchicken.dylib, 9): image not found"
74
75The easiest way to fix this is to add an alias to libchicken.dylib to /usr/local/lib, like so:
76
77  sudo ln -s /opt/local/lib/libchicken.dylib /usr/local/lib/
78
79Another 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}}:
80
81  alias csi='DYLD_LIBRARY_PATH=/opt/local/lib csi'
82  alias csc='DYLD_LIBRARY_PATH=/opt/local/lib csc'
83
84This will set {{DYLD_LIBRARY_PATH}} for {{csi}} and {{csc}}, but not for other commands.
85
86=== Fink
87
88[[http://www.finkproject.org/|Fink]] users can type the following command in a Terminal:
89
90  fink install chicken
91
92This will download, compile and install the latest CHICKEN version.
93
94== BSD
95
96=== NetBSD
97
98For NetBSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
99
100=== DragonFly BSD
101
102For DragonFly BSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
103
104== Windows
105
106No binaries available at this time (but soon!)
107
108== Other platforms/cross-platform support
109
110=== pkgsrc
111
112For 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.