![]() |
Compiling the source code | ![]() |
Before you install TeXmacs on your system, you have to make sure that
the other programs on which TeXmacs depends, namely TeX and
which latex which guile-config
Get the sources of TeXmacs on this CD, cd into the directory where you wish to compile TeXmacs and type
tar -zxvf TeXmacs-1.0.3.4-src.tar.gz
All files will be unpacked into the directory TeXmacs-1.0.3.4-src, which is the 'installation directory'.
TeXmacs supports the standard GNU compilation and installation procedure. Assuming that you logged yourself in as root, cd into the installation directory and type
./configure make make install
The first command examines your particular system configuration. The second command launches the compilation. The last command installs TeXmacs in /usr/local.
If everything works fine, you should be able to run TeXmacs by
texmacs &
If this does not work, you should make sure that /usr/local/bin is in your PATH. Depending on your shell, you can ensure this by typing
export PATH=/usr/local/bin:$PATH or setenv PATH /usr/local/bin:$PATH
If you cannot log yourself in as root, or if you want to install TeXmacs elsewhere than in /usr/local, then you should use
./configure –prefix=[target directory]
instead of ./configure. In this case, TeXmacs will be installed in [target directory] and you will have to set your PATH accordingly, as to contain [target directory]/bin. Other options supported by configure are
By default, we build TeXmacs using dynamically linked libraries. If you rather want to build the static version, use
make STATIC_TEXMACS
Everything compiles fine, but you frequently get a segmentation fault when running the editor.
Solution: This problem may have several causes:
You use
Solution: There may be a problem with the file name ice-9/and-let*.scm (stars are not allowed in file names), which should be renamed as ice-9/and-let-star.scm. You should make the corresponding modifications in ice-9/Makefile.in.
You have problems with compiling or linking with X Window.
Solution: modify some of the compilation options in configure.in.
TeXmacs runs fine, but certain fonts are not displayed correctly.
Solution: This problem may have several causes:
You use a recent version (>= 7.3) of
chmod -R a+rw /var/lib/texmf/*
This webpage is part of GNU TeXmacs and the larger GNU project. Verbatim copying and distribution of it is
permitted in any medium, provided this notice is preserved. For more
information or questions, please contact Joris van der
Hoeven.
Free Software Foundation, Inc., 59 Temple Place - Suite
330, Boston, MA 02111, USA