📄 install
字号:
The information in this file is provided without warrantyfor its accuracy or completeness. Use of this file or itsinformation is entirely at your own risk.INSTALLATION PROCEDURE:-----------------------To compile and install Cooledit will take less than 8MB. About 1MB will remain after you have deleted the source tree (ix86 though).If you're superuser, feel lazy, and are sure that you have Pythonand xpm installed properly, just un-tar the package and type ./0install-quickor sh ./0install-quickin the top source directory. Otherwise read on.SUMMARY:--------Of course Cooledit will have to be in your PATH and libraries in yourLD_LIBRARY_PATH. I get a lot of mail asking how to install Cooledit onnon-Linux systems. Please DON'T ask for help if you have neverinstalled a package from source before, are trying to do some weird kindof install, or generally have no clue what you are doing, since I no longerhave time to answer generic installation questions. Most experiencedUnix users will be able to get Cooledit compiled and installed in a fewminutes on any Unix system, and there is plenty of help available fromothers on the Internet --- especially as regards installing GNUstandards compliant packages.(-2) Install the xpm package from ftp://ftp.x.org/contrib/libraries/(-1) Install the Python distribution from http://www.python.org/(O) un-tar package in /usr/src(1) ./configure(2) make(3) make install(4) Optionally add the command `coolicon -M <mail-file>' to one of the X startup scripts. This is done automatically to the /usr/lib/X11/xinit/xinitrc script. Check to see what was done.((You may type make uninstallto uninstall Cooledit.))DETAILS:--------Coolicon requires libXpm.so (or libXpm.a) and xpm.h to be present on yoursystem. These come from the libXpm library: ftp://ftp.x.org/contrib/libraries/xpm-?.?.tar.gzWithout this Coolicon will not compile. Cooledit may however be installedwithout Coolicon by doing: cd editor ; make ; make installCooledit requires Python to be installed. This is optional, but highlyrecommended, since it allows Cooledit to be custom programmed withbeautiful Python scripts. Download Python from http://www.python.org/If you are downloading a binary distribution, then the full developementversion (i.e containing the files libpython?.?.a and Python.h) isneeded.You may compile Cooledit as a user, but you need to be root todo a system install. You do, of course, have to have the X Window Systemworking on your machine. Copy the file cooledit-3.17.5.tar.gz to the directory you wouldlike to compile in, preferably '/usr/local/src' or '/usr/src', andthen change to that directory. (You can also compile in your homedirectory.)Then type, tar -xvzf cooledit-3.17.5.tar.gzor gzip -cd cooledit-3.17.5.tar.gz | tar xvf -(whichever works).Then type, cd cooledit-3.17.5(( if you have a patch file you can now type gzip -cd patch_file_name | patch -p1 -s))You can then configure the package by just typing, ./configureHowever if you would like to set compiler optimisations, for asmaller binary, type, CFLAGS=-O ./configureor, setenv CFLAGS -O ./configurewhichever works on your shell. (Use -O2 instead of-O if your compiler supports this. If you have gcc useCFLAGS='-O2 -s -Wall -pipe -fomit-frame-pointer' ./configure)English speakers should alternatively do a ./configure --disable-nlsto avoid compilation problems on some non-Linux systems.Finally type maketo compile (which will take ages). Then type make installto install, or (for a smaller binary), make install-stripFinally, Coolicon must be envoked with your window manager. Cooliconcan co-exist with whatever window manager you are using. You mightput the command coolicon -M <mail-file> &in you .xinitrc file in your home directory or in the system wide xinitfile (see the xinit man page and the coolicon man page for more details).Done.I have personally tested Cooledit on a few systems, and it has beenused by others on many systems. It will certainly work on most ANSIcompatible systems. Please email me with patches to fix any compileproblems, as I'd like to support all the Unix clones that I can. Mostcompile problems are quite trivial to fix. If you have problemsinstalling on non-Linux systems, and have no experience installingGNU packages, then please ask your local LUG before emailing me.You can remove the entire source after you have finishedreading the file COPYING, which contains the licensingagreement. The FAQ though might be useful, as well as the fileINTERNATIONAL. Other files beginning with capital letters providefurther documentation and may be copied to a directory,/usr/doc/cooledit. As of version 3.3.3, Cooledit isdynamically linked. This means that Coolwidgets (libCw) isinstalled as a proper shared library. You may not like thisarrangement and prefer the statically linked version. In thiscase use the --disable-shared option to ./configure
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -