2005-09-20 13:26:39 +00:00
|
|
|
|
|
|
|
Known issues
|
|
|
|
============
|
|
|
|
|
2006-03-29 21:30:31 +00:00
|
|
|
Fish is developed using GCC, with the goal of using only C89 language
|
|
|
|
features. Fish does, however use the *wprintf family of functions,
|
|
|
|
which are new to the C99 standrard. It is not unlikely that any given
|
|
|
|
release contains a few GCC:isms, but ICC 9.0.030 has been found to
|
|
|
|
produce working binaries. GCC 2.95.* won't compile fish, but GCC 3.2.3
|
|
|
|
is known to work. Patches to fix any remaining GNU:isms are welcome.
|
2006-02-02 15:34:01 +00:00
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
Older versions of Doxygen has bugs in the man-page generation which
|
2006-02-02 15:34:01 +00:00
|
|
|
cause the builtin help to render incorrectly. Doxygen 1.2.14 is known
|
2005-09-20 13:26:39 +00:00
|
|
|
to have this problem.
|
|
|
|
|
|
|
|
|
|
|
|
Prerequisites
|
|
|
|
=============
|
|
|
|
|
2006-02-04 13:14:12 +00:00
|
|
|
Fish requires the following programs and libraries to build:
|
2005-09-20 13:26:39 +00:00
|
|
|
|
|
|
|
- Doxygen
|
|
|
|
- Curses or Ncurses
|
2006-02-04 13:14:12 +00:00
|
|
|
- GNU make
|
|
|
|
- GCC
|
2005-09-20 13:26:39 +00:00
|
|
|
|
|
|
|
fish also relies on standard unix tools such as cat, cut, grep, sed,
|
2006-02-04 13:14:12 +00:00
|
|
|
whoami, bc and echo. Fish does not yet support cross-compilation,
|
|
|
|
separate build directories or any other fancy configure options.
|
2005-09-20 13:26:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
Simple install procedure
|
|
|
|
========================
|
|
|
|
|
2006-11-03 14:12:54 +00:00
|
|
|
Always begin by uninstalling any previous fish versions. This is done
|
|
|
|
by running the command 'make uninstall' in the source directory of
|
|
|
|
your previous fish installation.
|
|
|
|
|
|
|
|
Next, if you have downloaded a fresh copy of the darcs repository of
|
|
|
|
fish, you need to run the 'autoconf' command.
|
|
|
|
|
|
|
|
Then, use following commands to compile fish:
|
2006-01-04 13:01:54 +00:00
|
|
|
|
2006-11-03 14:12:54 +00:00
|
|
|
./configure
|
|
|
|
make # Compile fish
|
|
|
|
make install # Install fish
|
|
|
|
echo /usr/local/bin/fish >>/etc/shells # Add fish to list of shells
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2006-11-03 14:12:54 +00:00
|
|
|
Finally, if you wish to use fish as your default shell, use the
|
|
|
|
following command:
|
2005-09-20 13:26:39 +00:00
|
|
|
|
2010-09-18 02:18:26 +00:00
|
|
|
% chsh -s /usr/local/bin/fish
|
2005-09-20 13:26:39 +00:00
|
|
|
|
|
|
|
chsh will prompt you for your password, and change your default shell.
|
|
|
|
|
2012-06-10 08:35:30 +00:00
|
|
|
To switch your default shell back, you can run:
|
|
|
|
|
|
|
|
% chsh -s /bin/bash
|
|
|
|
|
|
|
|
Substitute /bin/bash with /bin/tcsh or /bin/zsh as appropriate.
|
2005-09-20 13:26:39 +00:00
|
|
|
|
|
|
|
Local install procedure
|
|
|
|
=======================
|
|
|
|
|
2006-01-15 21:26:39 +00:00
|
|
|
If you have downloaded the darcs repository of fish, you need to run
|
2006-03-05 21:23:30 +00:00
|
|
|
autoconf to generate the configure script.
|
2006-01-04 13:01:54 +00:00
|
|
|
|
2005-09-20 13:26:39 +00:00
|
|
|
To install fish in your own home directory (typically as non-root),
|
|
|
|
type:
|
|
|
|
|
|
|
|
% ./configure --prefix=$HOME
|
|
|
|
% make # Compile fish
|
|
|
|
% make install # Install fish
|
|
|
|
|
|
|
|
You will not be able to use fish as the default shell unless you also
|
2006-01-04 13:01:54 +00:00
|
|
|
add the corresponding line to /etc/shells, which mostly defeats the
|
|
|
|
point of a local install. As a workaround, you can add fish as the
|
|
|
|
last command of the init files for your regular shell.
|