source: project/wiki/platforms @ 12163

Last change on this file since 12163 was 12163, checked in by Ivan Raikov, 12 years ago

Added an entry for Chicken Cygwin package.

File size: 4.2 KB
Line 
1[[tags:platforms linux bsd mac windows solaris]]
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 3.2.7 is officially included in the Debian Lenny
23distribution. Newer CHICKEN versions are available via unofficial
24packages, 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.ipk
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
101=== OpenBSD
102
103For OpenBSD, you can use the {{lang/chicken}} package by running the following command as root:
104
105<enscript>
106$ pkg_add chicken
107</enscript>
108
109
110=== DragonFly BSD
111
112For DragonFly BSD, you can use the {{lang/chicken}} package from [[http://www.pkgsrc.org|pkgsrc]] to install the latest stable release.
113
114== Windows
115
116Chicken 3.4.0 is available as a Cygwin package: [[http://cygwin.com/packages/chicken/]].
117
118== Solaris
119
120Version 3.3.0 packages for SPARC/Solaris 8-10 and x86/Solaris 10 can be found at [[http://www.sunfreeware.com]].  Installation instructions are available on the main page of that site.
121
122== Other platforms/cross-platform support
123
124=== pkgsrc
125
126For 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.