Before installing Flusspferd, you need to install its dependencies.
Recommended, but optional:
To get direct access to the development repository, you also need GIT.
If you haven't done so already, get the newest version of Flusspferd with
$ git clone git://github.com/ruediger/flusspferd.git
Alternatively, you can download a release from Sourceforge or a snapshot from Github.
Make sure that you are in Flusspferd's directory.
$ cd flusspferd
$ ./configure $ make $ sudo make install
You can use -DCMAKE_INSTALL_PREFIX=/opt/local (or with another path in place of /opt/local) if you don't want to install Flusspferd in the default path /usr/local.
If you want to use GNU/readline (e.g. for working UTF-8 support), pass -DLINE_EDITOR=readline but beware that GNU/readline is GPL licensed.
If you have installed your dependencies in unusual paths, or your system is unusual in another way, you might need to specify additional options.
If all went fine so far, we should test whether flusspferd works now.
$ flusspferd
> print("Hello", "world!");
Hello world!
Feel free to play around with the Javascript shell.
Flusspferd provides a completion script for the bash shell. It is usually installed into PREFIX/etc/bash_completion.d/flusspferd since on most systems those files are not sourced you should either add the following line to your ~/.bashrc (replace PREFIX with the prefix where Flusspferd was installed)
. PREFIX/etc/bash_completion.d/flusspferd
or copy the file into a path which is already sourced, like /etc/bash_completion.d/ on most modern Linux systems.
Flusspferd comes with an Emacs mode to call the Flusspferd Shell and interactively send javascript code to the Shell similar to emacs-lisp-mode or inferior python mode. See How to install and setup Flusspferd's Emacs Mode for more information.
You might have noticed that Flusspferd doesn't use autotools or Makefiles (although we provide a compatibility layer for those who can't live without). Flusspferd uses CMake as its build system.
Since Flusspferd 0.9 we provide .deb packages for Ubuntu. You can install them from CommonJS' PPA (see the instructions on that page).
On Gentoo, you can use our ebuilds, in the branch 'packages', directory 'gentoo/' to compile and install Flusspferd.
These ebuilds can not be found in the official Gentoo repository.
Flusspferd is included in the Macports packaging system since Macports 1.8. You can install Flusspferd with
$ sudo port install flusspferd
Different modules are available as variants. E.g. you can install the Flusspferd with the GMP module by using
$ sudo port install flusspferd +gmp
See the Macports Manual for more information.
Contact us at team -AT- flusspferd -DOT- org or as described on our homepage.
Generated on Tue Mar 16 19:05:02 2010 for Flusspferd by
1.6.1