source: trunk/base/doc/README.platforms @ 18777

Last change on this file since 18777 was 6027, checked in by ssen, 17 years ago

Update with what compiler I used, updated source versions

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1DarwinPorts can be used on platforms other than Mac OS X 10.2 and 10.3,
2but requires bootstrapping of various requirements.
3
4Currently, DarwinPorts has been verified to work on the following
5platforms:
6
7Solaris (Sparc) 8 & 9 (tcl, curl, openssl, bzip2 need to be installed manually)
8FreeBSD >= 4.8 (tcl and curl need to be installed manually)
9OpenBSD >= 3.3 (tcl, curl and bzip2 need to be installed manually)
10
11We will be assuming that you are installing into PREFIX=/opt/local,
12although any path can be used. Further, we are assuming a sh-based shell
13
14The following compilers have been tested:
15
16Solaris:
17Sunsoft Forte Developer 7 C 5.4
18
190)
20PREFIX=/opt/local
21export PREFIX
22
23INSTALL REQUIREMENTS
241) Tcl. Use the Portfile as a template
25gzip -c -d tcl8.4.6-src.tar.gz | tar xf -
26cd tcl8.4.6
27cd unix
28./configure --prefix=$PREFIX --mandir=$PREFIX/share/man
29make
30make install
31cd $PREFIX/bin
32ln -s tclsh8.4 tclsh
33$ echo puts foo | tclsh
34foo
35
362) OpenSSL
37gzip -c -d openssl-0.9.7d.tar.gz | tar xf -
38cd openssl-0.9.7d
39./config --prefix=$PREFIX --openssldir=$PREFIX/etc/openssl no-asm no-krb5 shared
40make
41make install
42export LD_LIBRARY_PATH=$PREFIX/lib
43
443) Curl
45gzip -c -d curl-7.11.1.tar.gz | tar xf -
46cd curl-7.11.1
47./configure --prefix=$PREFIX --mandir=$PREFIX/share/man --with-ssl=$PREFIX
48make
49make install
50curl --version
51
524) GNU coreutils
53gzip -c -d coreutils-5.2.1.tar.gz | tar xf -
54cd coreutils-5.2.1
55./configure --prefix=$PREFIX --mandir=$PREFIX/share/man
56make
57make install
58
595) darwinports
60./configure --prefix=$PREFIX --with-install-user=ssen --with-install-group=mit --with-tcl=$PREFIX/lib --with-tclinclude=$PREFIX/include CPPFLAGS="-I$PREFIX/include" LDFLAGS="-L$PREFIX/lib"
61make
62make install
Note: See TracBrowser for help on using the repository browser.