| 1 |
*************************************************************************** |
|---|
| 2 |
Meadow Installation Manual |
|---|
| 3 |
*************************************************************************** |
|---|
| 4 |
|
|---|
| 5 |
1. Caution |
|---|
| 6 |
|
|---|
| 7 |
o You CANNOT share elc files (byte-compiled lisp files) with |
|---|
| 8 |
Meadow-3.XX and Meadow-1.XX. |
|---|
| 9 |
|
|---|
| 10 |
2. Preparation |
|---|
| 11 |
|
|---|
| 12 |
Meadow requires the following software. |
|---|
| 13 |
|
|---|
| 14 |
2.1 ImageMagick |
|---|
| 15 |
|
|---|
| 16 |
ImageMagick is a collection of tools and libraries to read, write, and |
|---|
| 17 |
manipulate an image in many image formats. Currently Meadow supports |
|---|
| 18 |
only ImageMagick-6.2.0, so you should install this without fail. |
|---|
| 19 |
|
|---|
| 20 |
You can get these packages in the following URLs. |
|---|
| 21 |
|
|---|
| 22 |
o ImageMagick |
|---|
| 23 |
http://www.meadowy.org/meadow/dists/snapshot/ |
|---|
| 24 |
http://www.imagemagick.org/www/download.html |
|---|
| 25 |
|
|---|
| 26 |
3. Installation |
|---|
| 27 |
|
|---|
| 28 |
You can select installation methods, 3.1 or 3.2 subsection. |
|---|
| 29 |
|
|---|
| 30 |
3.1 Installation of binary archive. |
|---|
| 31 |
|
|---|
| 32 |
<STEP1: Extract the archive> |
|---|
| 33 |
|
|---|
| 34 |
Please extract the archive of Meadow |
|---|
| 35 |
There are following binary archives. |
|---|
| 36 |
|
|---|
| 37 |
Meadow-${VERSION}-i386.tar.gz Intel x86 Binary |
|---|
| 38 |
|
|---|
| 39 |
For example, a name of Meadow version 3.00 is "Meadow-3.00-i386.tar.gz". |
|---|
| 40 |
|
|---|
| 41 |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|---|
| 42 |
! You can extract the arvhie with tar.exe and gzip.exe. ! |
|---|
| 43 |
! If you want to use the other archiver, ! |
|---|
| 44 |
! disable the feature of conversion LF into CR+LF. ! |
|---|
| 45 |
! (Winzip enables this feature in the case of default.) ! |
|---|
| 46 |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|---|
| 47 |
|
|---|
| 48 |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|---|
| 49 |
! DON'T install Meadow to the directory whose name contains non-ascii ! |
|---|
| 50 |
! characters ! |
|---|
| 51 |
! and a white space. Maybe, you can install Meadow to such directories, ! |
|---|
| 52 |
! but I don't verify its case. Similarly, you should not specify your ! |
|---|
| 53 |
! home directory named with non-ascii characters. ! |
|---|
| 54 |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|---|
| 55 |
|
|---|
| 56 |
If you want to install the archive to "c:/win32app/Meadow", |
|---|
| 57 |
please extract this at c:/win32app. |
|---|
| 58 |
|
|---|
| 59 |
For example, |
|---|
| 60 |
----------------- |
|---|
| 61 |
c: [RETURN] |
|---|
| 62 |
cd \win32app [RETURN] |
|---|
| 63 |
tar zxvf Meadow-<VERSION>-<ARCHITECTURE>.tar.gz [RETURN] |
|---|
| 64 |
----------------- |
|---|
| 65 |
|
|---|
| 66 |
You can get the following tree. |
|---|
| 67 |
|
|---|
| 68 |
c:/win32app/Meadow/ |
|---|
| 69 |
+---- bin/ Main programs |
|---|
| 70 |
+---- bitmap/ splash bitmapfile |
|---|
| 71 |
+---- etc/ Other data |
|---|
| 72 |
+---- info/ info directory |
|---|
| 73 |
+---- leim/ leim directory |
|---|
| 74 |
+---- lisp/ Emacs Lisp library |
|---|
| 75 |
+---- site-lisp/ site-lisp Emacs Lisp library |
|---|
| 76 |
+---- README.Meadow.ja |
|---|
| 77 |
+---- INSTALL.Meadow.ja |
|---|
| 78 |
+---- dot.emacs.ja sample of .emacs |
|---|
| 79 |
+---- install.exe |
|---|
| 80 |
|
|---|
| 81 |
<STEP2: Execute install.exe> |
|---|
| 82 |
|
|---|
| 83 |
Please execute "install.exe". |
|---|
| 84 |
|
|---|
| 85 |
In the "Meadow" directory, you will find "install.exe". |
|---|
| 86 |
It is an installtion program, please execute it. |
|---|
| 87 |
(by an explorer, a command prompt, and so on.) |
|---|
| 88 |
|
|---|
| 89 |
<STEP3: Specify your home directory> |
|---|
| 90 |
|
|---|
| 91 |
The installation program asks you where your HOME DIRECTORY is. |
|---|
| 92 |
Please input your HOME DIRECTORY. |
|---|
| 93 |
|
|---|
| 94 |
;; FYI. |
|---|
| 95 |
;; Your home directory is used for your personal space. |
|---|
| 96 |
;; And you can put ".emacs" file here, then Meadow will read it. |
|---|
| 97 |
|
|---|
| 98 |
That's all. The installation program will install Meadow correctly. |
|---|
| 99 |
|
|---|
| 100 |
You can invoke Meadow from the "Start" menu. |
|---|
| 101 |
Its menu is stored in "Start -> Program -> Meadow -> Meadow". |
|---|
| 102 |
|
|---|
| 103 |
3.2 Using Netinstaller |
|---|
| 104 |
|
|---|
| 105 |
Currently, No netinstaller for Meadow 2.20 is available. |
|---|
| 106 |
|
|---|
| 107 |
4. Installation of source archive. |
|---|
| 108 |
|
|---|
| 109 |
Your compilation environment (Microsoft Visual C++ or Cygwin) make the |
|---|
| 110 |
following procedures different. |
|---|
| 111 |
|
|---|
| 112 |
4.1 With Microsoft Visual C++ |
|---|
| 113 |
|
|---|
| 114 |
<STEP1: Extract the archive> |
|---|
| 115 |
|
|---|
| 116 |
Please extract the archive of Meadow |
|---|
| 117 |
|
|---|
| 118 |
The source archive is named "Meadow-<VERSION>-src.tar.gz" |
|---|
| 119 |
;; <VERSION> is the version name of Meadow. |
|---|
| 120 |
;; Please replace it to the version name. |
|---|
| 121 |
|
|---|
| 122 |
For example, if you want to put sources to c:/source |
|---|
| 123 |
----------------- |
|---|
| 124 |
c: [RETURN] |
|---|
| 125 |
cd \source [RETURN] |
|---|
| 126 |
tar zxvf Meadow-<VERSION>-src.tar.gz |
|---|
| 127 |
----------------- |
|---|
| 128 |
|
|---|
| 129 |
Then you can get the follwing source tree. |
|---|
| 130 |
|
|---|
| 131 |
c:/source/Meadow-<VERSION>/-------src/ (Main source) |
|---|
| 132 |
+--lib-src/ (library and tools source) |
|---|
| 133 |
+--nt/ (configuration files for Meadow) |
|---|
| 134 |
+--info/ (info files) |
|---|
| 135 |
+--lisp/ (Emacs Lisp files) |
|---|
| 136 |
+--etc/ (Other data) |
|---|
| 137 |
+-- .... And so on |
|---|
| 138 |
|
|---|
| 139 |
Your compilation environment(Microsoft Visual C++ or Cygwin) make the |
|---|
| 140 |
following procedures different. |
|---|
| 141 |
|
|---|
| 142 |
<STEP2: Compilation> |
|---|
| 143 |
|
|---|
| 144 |
----------------- |
|---|
| 145 |
cd Meadow-<VERSION>\nt [RETURN] |
|---|
| 146 |
configure.meadow --with-msvc --prefix <YOUR INSTALL DIRECTORY>[RETURN] |
|---|
| 147 |
nmake bootstrap [RETURN] |
|---|
| 148 |
nmake all [RETURN] |
|---|
| 149 |
----------------- |
|---|
| 150 |
|
|---|
| 151 |
You would be able to compile with Microsoft Visual C++ 6.x and 7.x. |
|---|
| 152 |
I presume that you can do it with other version of Visual C++. |
|---|
| 153 |
But I'm not sure. |
|---|
| 154 |
|
|---|
| 155 |
If you meet any problem, you must resolve by YOURSELF!!! :-) |
|---|
| 156 |
|
|---|
| 157 |
<STEP3: Installation> |
|---|
| 158 |
|
|---|
| 159 |
----------------- |
|---|
| 160 |
nmake install [RETURN] |
|---|
| 161 |
----------------- |
|---|
| 162 |
|
|---|
| 163 |
4.2 With Cygwin |
|---|
| 164 |
|
|---|
| 165 |
<STEP1: Extract the archive> |
|---|
| 166 |
|
|---|
| 167 |
Please extract the archive of Meadow in the same way as 4.1 STEP1. |
|---|
| 168 |
|
|---|
| 169 |
<STEP2: Compilation> |
|---|
| 170 |
|
|---|
| 171 |
On a Cygwin shell(sh, bash and so forth), you should type the |
|---|
| 172 |
following command. |
|---|
| 173 |
|
|---|
| 174 |
----------------- |
|---|
| 175 |
cd Meadow-<VERSION>/nt [RETURN] |
|---|
| 176 |
./configure.meadow.bat --with-gcc --no-cygwin --no-debug --prefix <YOUR INSTALL DIRECTORY>[RETURN] |
|---|
| 177 |
make bootstrap [RETURN] |
|---|
| 178 |
make all [RETURN] |
|---|
| 179 |
----------------- |
|---|
| 180 |
|
|---|
| 181 |
You would be able to compile with cmd.exe (or command.com). |
|---|
| 182 |
If you meet any problem, you must resolve by YOURSELF!!! :-) |
|---|
| 183 |
|
|---|
| 184 |
<STEP3: Installation> |
|---|
| 185 |
|
|---|
| 186 |
----------------- |
|---|
| 187 |
make install [RETURN] |
|---|
| 188 |
----------------- |
|---|
| 189 |
|
|---|
| 190 |
5. Auxiliary programs |
|---|
| 191 |
|
|---|
| 192 |
5.1 fakecygpty |
|---|
| 193 |
|
|---|
| 194 |
Meadow 3.XX can run cygwin commands needs pseudo terminal more |
|---|
| 195 |
naturally using fakecygpty as a wrapper program. This can be compiled |
|---|
| 196 |
only with cygwin gcc. You can compile it just as follows, and put the |
|---|
| 197 |
binary yielded into <YOUR INSTALL DIRECTORY>/bin directory. |
|---|
| 198 |
|
|---|
| 199 |
----------------- |
|---|
| 200 |
cd nt |
|---|
| 201 |
gcc -o fakecygpty.exe fakecygpty.c |
|---|
| 202 |
cp fakecygpty.exe <YOUR INSTALL DIRECTORY>/bin/ |
|---|
| 203 |
----------------- |
|---|
| 204 |
|
|---|
| 205 |
You can see how to use this program in the help of the variable |
|---|
| 206 |
mw32-process-wrapper-alist. Typical setting of the variable is |
|---|
| 207 |
following. You can put it into your .emacs file. |
|---|
| 208 |
|
|---|
| 209 |
----------------- |
|---|
| 210 |
(setq mw32-process-wrapper-alist |
|---|
| 211 |
'(("/\\(bash\\|tcsh\\|svn\\|ssh\\|gpg[esvk]?\\)\\.exe" . |
|---|
| 212 |
(nil . "fakecygpty.exe")))) |
|---|
| 213 |
----------------- |
|---|
| 214 |
|
|---|
| 215 |
That's all. |
|---|