annotate README.Windows @ 4960:ce01dbd7e026 ss-2-1-58

[project @ 2004-09-02 03:47:49 by jwe]
author jwe
date Thu, 02 Sep 2004 03:47:49 +0000
parents fcab389ad291
children 405566d2a353
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4696
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
1 The following is my current best set of directions for installing
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
2 Octave on a Windows system using either a binary package or by
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
3 installing from sources using the Cygwin tools. If you already have
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
4 Cygwin installed, you may need to update your installation of tools to
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
5 include those mentioned below.
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
6
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
7 Following these steps should give you an Octave installation that
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
8 includes all the necessary tools for building dynamically linked
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
9 functions (.oct files).
3847
92fb162eba24 [project @ 2001-08-10 17:18:17 by jwe]
jwe
parents: 3176
diff changeset
10
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
11 1. Use your favorite browser to view the page http://www.cygwin.com
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
12
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
13 2. Click on the "Install or update now" link.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
14
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
15 3. A dialog should appear with the option to run the setup program
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
16 from its current location or save it to disk. Either will work,
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
17 but I usually choose to save the setup program to disk so that it
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
18 is possible to run it later to update the installation without
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
19 having to go back to the web page using a browser.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
20
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
21 4. Run the setup program.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
22
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
23 5. Choose "Install from Internet".
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
24
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
25 6. Select a root install directory. You may choose any directory, but
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
26 it needs to have about 600MB available to install all the
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
27 necessary Cygwin tools plus build and install Octave from sources.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
28 That may seem like a large disk space requirement, but remember
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
29 that you are getting more than just Octave, you are installing a
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
30 Unix-like development environment including C, C++, and Fortran
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
31 compilers as well. Once Octave is installed, you can delete the
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
32 sources and build directory, freeing up about 250MB.
3154
352a80c32765 [project @ 1998-02-14 19:17:59 by jwe]
jwe
parents: 3130
diff changeset
33
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
34 You may choose to install for just you or all users (if you have
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
35 permission to do so). I would select "Unix" as the default text
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
36 file type (this option should be the default).
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
37
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
38 7. Select a local package directory. This is a directory that the
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
39 setup program will use to temporarily store package files before
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
40 installing them. It should have plenty of space (probably 70MB
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
41 or more). You may delete this directory once the installation is
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
42 complete.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
43
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
44 8. Select your Internet Connection. Probably "Direct Connection" is
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
45 OK unless you are behind a firewall of some kind that limits your
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
46 access to the Internet.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
47
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
48 9. Choose a download site. One that is "near" you on the net is
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
49 probably best.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
50
4696
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
51 If you want to install a binary package of Octave, also add the
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
52 User URL
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
53
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
54 ftp://ftp.octave.org/pub/octave/cygwin
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
55
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
56 in the dialog (there is a textbox at the bottom with an Add
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
57 button to the right -- enter the URL in the textbox and click
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
58 the Add button).
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
59
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
60 10. Select packages.
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
61
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
62 Binary and Source installations:
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
63
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
64 Select the gnuplot package from the Graphics category. The
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
65 gnuplot package from ftp.octave.org will give you the Windows
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
66 binary repackaged for Cygwin. If you select the gnuplot package
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
67 from one of the Cygwin mirrors, you will get a recent 3.8 beta
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
68 version (pre 4.0 release).
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
69
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
70 Additional packages for binary install:
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
71
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
72 Also select the Octave packages you want from the Math category.
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
73
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
74 Additional packages for source compile and install:
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
75
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
76 The defaults are not enough to build all of Octave from sources.
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
77 In addition to the default set of packages, you should select the
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
78 following packages from the following categories:
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
79
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
80 Archive: unzip
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
81 Devel: autoconf, binutils, bison, cvs, dejagnu, flex, gcc,
4690
b6dc2aad574a [project @ 2004-01-09 15:19:43 by jwe]
jwe
parents: 4487
diff changeset
82 g++, g77, gperf, make
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
83 Text: less, tetex, tetex-base
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
84 Utils: diff, patch
2587
7323c6c5c1c4 [project @ 1996-12-12 08:14:36 by jwe]
jwe
parents:
diff changeset
85
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
86 Once you have made these selections, click the Next button to
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
87 download and install all the selected packages. The download and
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
88 install may take a while depending on the speed of your computer
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
89 and your connection to the net.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
90
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
91 11. Once the download and file installation is done, click Finish. I
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
92 usually choose to create an icon on the desktop and put an icon in
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
93 the start menu. After you click finish, a series of scripts will
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
94 run, displaying some output in a terminal window. It will take a
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
95 few minutes.
2587
7323c6c5c1c4 [project @ 1996-12-12 08:14:36 by jwe]
jwe
parents:
diff changeset
96
4696
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
97 Skip to step 17 if you are installing the binary package.
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
98
4696
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
99 12. Get the Octave sources, either from a current snapshot
4694
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
100 distribution or from CVS.
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
101
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
102 You should check the web page http://www.octave.org/download.html
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
103 or look for the file RECOMMENDED-IS-N.NN.NN in the ftp download
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
104 directory to see what version is currently recommended (N.NN.NN
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
105 will be an actual version number, like 2.1.50). If more recent
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
106 versions may be available they should be considered experimental.
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
107
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
108 The CVS sources are only recommended for people who want be
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
109 involved in Octave's development process and who don't mind
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
110 running into the occasional show-stopping bug.
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
111
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
112 Snapshot:
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
113
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
114 a. Download a copy of the current version of Octave from
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
115 ftp://ftp.octave.org. You may use the command line ftp
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
116 client in Cygwin or a web browser. You are looking for the
4694
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
117 most recent recommended version in the pub/octave/bleeding-edge
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
118 directory. At the time of this writing, it was
4694
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
119 octave-2.1.50.tar.gz. Save this file to your Cygwin home
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
120 directory. This directory will usually be called something
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
121 like c:\cygwin\home\jwe from Windows (the precise location
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
122 depends on where you chose to install Cygwin).
2587
7323c6c5c1c4 [project @ 1996-12-12 08:14:36 by jwe]
jwe
parents:
diff changeset
123
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
124 IMPORTANT: If you use the ftp client, be sure to set the
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
125 binary mode for downloads by typing
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
126
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
127 binary
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
128
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
129 at the ftp prompt.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
130
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
131 b. Unpack the source files using the command:
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
132
4694
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
133 tar zxf octave-2.1.50.tar.gz
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
134
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
135 in the Cygwin shell. This command will create a subdirectory
4694
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
136 called octave-2.1.50 in your home directory.
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
137
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
138 c. Change your current working directory to the top-level Octave
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
139 source directory:
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
140
4694
dd8d08c41c0c [project @ 2004-01-11 18:20:51 by jwe]
jwe
parents: 4690
diff changeset
141 cd octave-2.1.50
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
142
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
143 then continue with step 14 below.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
144
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
145 CVS:
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
146
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
147 a. Check out a copy of the current sources from the public CVS
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
148 archive by running the following commands
3167
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3154
diff changeset
149
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
150 cvs -d :pserver:anoncvs@www.octave.org:/cvs login
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
151 cvs -z 9 -d :pserver:anoncvs@www.octave.org:/cvs checkout octave
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
152
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
153 in the Cygwin shell. The first command will prompt you for a
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
154 password; reply with anoncvs. The checkout command will
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
155 create a subdirectory called octave containing the current
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
156 CVS version of the Octave sources.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
157
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
158 b. Change your current working directory to the top-level Octave
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
159 source directory:
3167
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3154
diff changeset
160
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
161 cd octave
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
162
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
163 c. Build the configure scripts by running the command
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
164
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
165 ./autogen.sh
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
166
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
167
4696
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
168 13. Configure Octave by running the command
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
169
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
170 ./configure --enable-shared --disable-static
3167
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3154
diff changeset
171
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
172 This command will take several minutes to run as the configure
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
173 script determines what features are available on your system. You
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
174 need the --enable-shared option if you want to build dynamically
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
175 loaded functions (.oct files) later. You may omit the
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
176 --disable-static option if you want to build static libraries (.a
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
177 files) in addition to shared libraries, but the build will take
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
178 about twice as long to complete.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
179
4696
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
180 14. Build the Octave binary by running the command
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
181
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
182 make
3167
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3154
diff changeset
183
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
184 You may see warnings from gcc saying that __cdecl is redefined or
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
185 that all code is position independent. You may safely ignore
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
186 these warnings.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
187
4696
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
188 15. (OPTIONAL) Run Octave's regression test suite by running the
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
189 command
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
190
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
191 make check
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
192
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
193 Running the tests may take a very long time, so if you are in a
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
194 hurry, you might want to skip this step. At the time of this
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
195 writing, there are 4 "expected" failures related to the try-catch
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
196 and eval commands. You may safely ignore those failures.
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
197
4696
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
198 16. Complete the installation by running the command
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
199
3167
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3154
diff changeset
200 make install
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3154
diff changeset
201
4696
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
202 17. Try starting Octave by running the command
3167
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3154
diff changeset
203
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
204 octave
3167
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3154
diff changeset
205
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
206 in the cygwin shell and then typing
3167
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3154
diff changeset
207
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
208 sombrero (41)
3167
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3154
diff changeset
209
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
210 at the Octave prompt to see if you can create a plot.
3167
d609b993be3b [project @ 1998-04-17 04:41:59 by jwe]
jwe
parents: 3154
diff changeset
211
4696
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
212 18. Try to build a .oct file and run it:
2587
7323c6c5c1c4 [project @ 1996-12-12 08:14:36 by jwe]
jwe
parents:
diff changeset
213
4400
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
214 cd examples
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
215 mkoctfile hello.cc
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
216 octave
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
217 ...
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
218 octave:1> hello
54a8705b0463 [project @ 2003-05-01 16:31:01 by jwe]
jwe
parents: 3847
diff changeset
219 Hello, world!
3176
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3167
diff changeset
220
4696
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
221 If you are doing a binary package install, the examples should be
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
222 installed in the /usr/share/doc/octave/... XXX FIXME XXX
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
223
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
224
3176
fccab8e7d35f [project @ 1998-05-18 20:33:31 by jwe]
jwe
parents: 3167
diff changeset
225
2587
7323c6c5c1c4 [project @ 1996-12-12 08:14:36 by jwe]
jwe
parents:
diff changeset
226
7323c6c5c1c4 [project @ 1996-12-12 08:14:36 by jwe]
jwe
parents:
diff changeset
227 John W. Eaton
7323c6c5c1c4 [project @ 1996-12-12 08:14:36 by jwe]
jwe
parents:
diff changeset
228 jwe@bevo.che.wisc.edu
7323c6c5c1c4 [project @ 1996-12-12 08:14:36 by jwe]
jwe
parents:
diff changeset
229 University of Wisconsin-Madison
7323c6c5c1c4 [project @ 1996-12-12 08:14:36 by jwe]
jwe
parents:
diff changeset
230 Department of Chemical Engineering
7323c6c5c1c4 [project @ 1996-12-12 08:14:36 by jwe]
jwe
parents:
diff changeset
231
4696
fcab389ad291 [project @ 2004-01-15 02:11:59 by jwe]
jwe
parents: 4694
diff changeset
232 Wed Jan 14 13:37:15 2004