texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Re: TeXmacs under Cygwin


From: Bill Page
Subject: Re: [Texmacs-dev] Re: TeXmacs under Cygwin
Date: Wed, 13 Nov 2002 1:38:36 -0500

On 2002/11/12 Tue PM 11:56:13 EST Tim Ebringer
<address@hidden> wrote:

> 
> I tried compilation of TeXmacs (1.0.0.21) under cygwin (latest versions 
> of everything), and compilation died in the following section:
> 
> c++ -I./Basic/Data -I./Basic/Misc -I./Basic/System -I./Basic/Types 
> -I./Resource
> -I./Window -I./Typeset -I./Edit -I./Convert -I./Texmacs -I./Guile -I- 
> -I/nonexis
> tent/include -Wall -Wno-return-type -O2 -fno-exceptions -c 
> ./Guile/Scheme/evalua
> te.cc -o Objects/evaluate.o
> In file included from /usr/include/libguile.h:73,
>                  from /usr/include/guile/gh.h:50,
>                  from Guile/glue.hh:15,
>                  from Guile/Scheme/evaluate.cc:13:
> /usr/include/libguile/eval.h:49:20: struct.h: No such file or directory
> Guile/Scheme/evaluate.cc:31:5: warning: multi-line string literals are 
> deprecate
> d
> make[1]: *** [Objects/evaluate.o] Error 1
> make[1]: Leaving directory `/home/tde/TeXmacs-1.0.0.21-src/src'
> make: *** [TEXMACS] Error 2
> 

You can cure this particular problem by compiling
guile version 1.4.1 under cygwin. In spite of the fact
that it is not possible to compile the guile version
1.6.0 sources directly under cygwin, the current setup
for cygwin actually installs the binaries for 1.6.0 --
strange! Check out

 $ guile -v

after running cygwin setup.

So compiling and installing guile 1.4.1 actually reverts
cygwin to the older version. 

Having done this, you can now complete most of the make
of texmax 1.0.0.21 except it now fails in the module
shrink.cc with the error

  Resource/Bitmap_fonts/shrink.cc:17 parse error before `/' token

A quick look shows the use of the name 'log2' at line 17.
This apparently confuses the gcc 3.2 compiler - perhaps
somehow being related to previously defined name? Anyway,
if you change this name to log2x, the make will continue.
However it will then fail to find the X11 libraries. So
the last thing you need to do is to tell the compiler
where to find the X11 libraries

  export CPATH=/usr/X11R6/include

Maybe this will get you a working texmacs and maybe not.
I will let you know a few hours from now.

Bill Page.

> 
> I should also point out that I've tried to compile Guile 1.6.0 under 
> cygwin, and this has itself been problematic. The compilation procedure 
> for guile is so complicated that I think a port to a non-POSIX 
> environment might be rather difficult. WxWindows is a nice C++ GUI that 
> compiles under cygwin, and I was thinking of trying to port using this 
> (once compilation issues are ironed out). It would be nice to use Qt, 
> but TrollTech are (understandably) not wanting to GPL their win32 
> version of this library. So KDE is unfortunately stuck on UNIX for a while.
> 
> ...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]