Mercurial > hg > octave-lyh
comparison README.Cygwin @ 7088:5eb3db6e4042
[project @ 2007-10-31 20:35:10 by jwe]
author | jwe |
---|---|
date | Wed, 31 Oct 2007 20:35:10 +0000 |
parents | bbbe04bacea2 |
children | 79462337c892 |
comparison
equal
deleted
inserted
replaced
7087:b04f0523558d | 7088:5eb3db6e4042 |
---|---|
1 Octave is now part of the normal net distribution of Cygwin, available | 1 An obsolete version of Octave (2.1.73) is part of the normal net |
2 from http://www.cygwin.com. To install the Cygwin package of Octave: | 2 distribution of Cygwin, available from http://www.cygwin.com. Check |
3 the package list in Cygwin's setup.exe installer if you would like to | |
4 try using it. However, 2.1.73 is unsupported and we STRONGLY | |
5 recommended that you use a more recent version of Octave. | |
3 | 6 |
4 1. Use your favorite browser to view the page http://www.cygwin.com | 7 It should be possible to build Octave on Windows systems with Cygwin, |
5 | 8 but at the time of this writing, there are some performance problems |
6 2. Click on the "Install or update now" link. | 9 related to the way C++ exception handling is implemented with the |
7 | 10 default Cygwin compiler. This is a known problem with a long history. |
8 3. A dialog should appear with the option to run the setup program | 11 If you would like to see this problem corrected, please search the |
9 from its current location or save it to disk. Either will work, | 12 Cygwin mailing lists for threads related to "sjlj exception handling" |
10 but I usually choose to save the setup program to disk so that it | 13 (or similar). |
11 is possible to run it later to update the installation without | |
12 having to go back to the web page using a browser. | |
13 | |
14 4. Run the setup program. | |
15 | |
16 5. Choose "Install from Internet". | |
17 | |
18 6. Select a root install directory. You may choose any directory, but | |
19 it needs to have enough space for Octave and all the related | |
20 tools. Sorry, I don't know how much space that is at present. | |
21 | |
22 7. Select a local package directory. This is a directory that the | |
23 setup program will use to temporarily store package files before | |
24 installing them. It should have plenty of space (probably 70MB | |
25 or more). You may delete this directory once the installation is | |
26 complete. | |
27 | |
28 8. Select your Internet Connection. Probably "Direct Connection" is | |
29 OK unless you are behind a firewall of some kind that limits your | |
30 access to the Internet. | |
31 | |
32 9. Choose a download site. One that is "near" you on the net is | |
33 probably best. | |
34 | |
35 10. Select packages. Choose Octave from the Math category and gnuplot | |
36 from the graphics category. | |
37 | |
38 11. Once the download and file installation is done, click Finish. I | |
39 usually choose to create an icon on the desktop and put an icon in | |
40 the start menu. After you click finish, a series of scripts will | |
41 run, displaying some output in a terminal window. It will take a | |
42 few minutes. | |
43 | |
44 12. To run Octave, start Cygwin. This will bring up a terminal | |
45 window. In that window type | |
46 | |
47 startx | |
48 | |
49 (a running X server is needed for plotting). Running startx will | |
50 bring up a new window. In that window, type | |
51 | |
52 octave | |
53 | |
54 That should present you with an Octave prompt. Type | |
55 | |
56 sombrero (41) | |
57 | |
58 at this prompt and a new window with the sombrero plot should appear. | |
59 | |
60 13. IMPORTANT: to build .oct files (dynamically loaded functions) for | |
61 Octave, you will also need the octave-headers package. Currently, | |
62 due to some bugs in the most recent version of the C++ compiler | |
63 and libraries for Cygwin, you will also need gcc and g++ 3.3 | |
64 rather than 3.4. You can use the setup.exe installer to select | |
65 and install the older version. | |
66 | 14 |
67 | 15 |
68 John W. Eaton | 16 John W. Eaton |
69 jwe@bevo.che.wisc.edu | 17 jwe@bevo.che.wisc.edu |
70 University of Wisconsin-Madison | 18 University of Wisconsin-Madison |
71 Department of Chemical Engineering | 19 Department of Chemical & Biological Engineering |
72 | 20 |
73 Tue Apr 18 15:22:59 2006 | 21 Last updated: Wed, 31 Oct 2007 16:21:43 EDT |