Subject: mailing-list for TeXmacs Users
List archive
From : "Marten Veldthuis" <address@hidden>- To: address@hidden
- Subject: Re: How to run on CygWin
- Date: Thu, 17 Oct 2002 16:03:30 +0200
Thanks a lot. This method has worked perfectly, with just 1 modification: i
had to leave out step number 4 (de
modification of the texmacs makefile) in order for it to compile. This might
be because I'm using Guile 1.3.4, but I'm
not sure. I'd advise you to send these instructions in to be put in the FAQ,
for the rest of the Windows/Cygwin users.
Kind regards,
Marten Veldthuis
-----Original Message-----
From: address@hidden
To: address@hidden
Date: Thu, 17 Oct 2002 13:00:04 +0200
Subject: Re: How to run on CygWin
> Hello!
>
> I've just managed to get TeXmacs to work and since it took some time
> and effort I decided to write down instructions. These are general
> instructions, so you will probably find them anoyingly verbose...
>
> /Jonas
>
>
> Getting TeXmacs to work with Cygwin required som tinkering... Here is
> how I did it. These instructions are quite verbose; they don't assume
> much unix experience.
>
> 1) Install Cygwin with "setup.exe"
>
> Appart from the default packages, make sure to install the following
> extra packages. (They will install more packages that they need) I
> haven't managed to get texmacs working with the Cygwin package of
> Guile so i compiled guile my self.
>
> Required extra packages:
>
> gcc
> make
> tetex
> tetex-devel
> texmf
> XFree86-base
> XFree86-prog
>
> Sugested extra packages: (install these if you have enough space)
>
> ghostscript-X11 required for print preview
> openbox OR WindowMaker frendlier window manager
>
>
> 2) Get the Guile and TeXmacs source
>
> Place them in the '/usr/src' directory. This will be the windows
> directory 'C:\cygwin\usr\src' if you didn't change the default install
> directory.
>
> Unpack them there:
> Start cygwin and give these commands:
>
> cd /usr/src
> tar -zxf <name>
>
> Where <name> is the name of the file
>
> Do this for both files. This will create two source directorys one for
> TeXmacs and one for for Guile. I used guile-1.4.1, but other versions
> might work too.
>
>
> 3) Compile Guile
>
> Change to the guile source directory created in step 2 (using the 'cd'
> command.)
> Give these commands:
>
> ./configure --disable-shared
> make
> make install
>
>
> 4) Adapt the TeXmacs installation files:
>
> Find the file named 'makefile' in the subdirectory 'src' of the
> TeXmacs source directory created in step 2. (Probable location:
> 'C:\cygwin\usr\src\TexMacs-1.0.0.18-src\src\makefile')
>
> locate the line:
> link_options:=-L $(tmsrc)/lib -lm $(LDBPATH) $(LDBXWINDOW)...
> $(LDBGUILE) $(LDBDL)
> change it to:
> link_options:=-L $(tmsrc)/lib -lm $(LDBPATH) $(LDBXWINDOW)...
> $(LDBGUILE) -lltdl $(LDBDL)
> (Note: these are one line each, and the three dots arn't there)
>
>
> 5) Compile TeXmacs
>
> In cygwin consol change to the TeXmacs source directory created in
> step 2.
>
> In the cygwin window type these commands:
>
> ./configure
> make STATIC_TEXMACS
> make install
>
>
> 6) Run TeXmacs
>
> First an environment variable need to be set. Locate the path that
> guile got installed to. For me it's '/usr/local/share/guile/1.4.1' but
> that will change with the guile version.
>
> add the line (modified acording to your guile path):
>
> export GUILE_LOAD_PATH=/usr/local/share/guile/1.4.1
>
> to the file '/etc/profile' (C:\cygwin\etc\profile)
>
> In the cygwin window type:
>
> startx
>
> Start TeXmacs by typing 'texmacs' in any of the windows appearing.
>
>
> 7) Finishing touches
>
> Unless you have a a US keyboard you will nead a keyboard mapping file
> for your keyboard layout. I found the one I use (swedish/finnish) on
> the page http://www-user.tu-chemnitz.de/~goal/
>
> The file is a text-file that should be named '.xmodmap', rename it to
> that if it's called something else (This won't work in Windows, use
> the cygwin command mv instead... like 'mv <old_name> .xmodmap') The
> file should be placed in your cygwin home directory, located
> under '/usr/home' (C:\cygwin\usr\home)
>
> /Jonas Lööf
- How to run on CygWin, Marten Veldthuis, 10/16/2002
- <Possible follow-up(s)>
- Re: How to run on CygWin, f96jolo, 10/17/2002
- Re: How to run on CygWin, Marten Veldthuis, 10/17/2002
- Re: How to run on CygWin, David Allouche, 10/17/2002
- Re: How to run on CygWin, Joris van der Hoeven, 10/21/2002
- Re: How to run on CygWin, David Allouche, 10/17/2002
- Re: How to run on CygWin, Marten Veldthuis, 10/17/2002
Archive powered by MHonArc 2.6.19.