[Review - Almost GTG] TeXmacs: A scientific wysiwyg Editor and Interface for Computer Algebra Systems

Dr. Volker Zell Dr.Volker.Zell@oracle.com
Mon Feb 2 13:58:00 GMT 2004


Hi Andreas

The package is GOOD TO GO from my side if the following issues get
addressed. For your convinience I include a small patch at the end of
the mail which fixes the following

 o remove empty /etc/postinstall directory
 o Typos and missing/wrong requires in setup.hint/TeXmacs.README

I did a rebuild from source with gcc-3.3.1 and latest cygwin-1.5.7 and
it builds fine although your README states that gcc-3.3 doesn't work.

What errors do you get ?

I tried both your binary version and my gcc-3.3.1 build version with the
tutorial you mentionend in your announcement

 o http://www.fmi.uni-passau.de/~seidl/texmacs/tmtour.html#3

and everything works fine except with both versions I get the following error on
the first startup. (Which doesn't seem to do any harm. The second time I
start texmacs it doesn't show up anymore)

      ...... snip ....

TeXmacs] loading ecss10 at 600 dpi
TeXmacs] loading cmsy10 at 600 dpi
TeXmacs] loading ectt10 at 600 dpi
TeXmacs] loading rtcxr10 at 600 dpi
TeXmacs] Executing mktextfm rtcxr10.tfm
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation  for rtcxr10.
/usr/share/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input rtcxr10
This is METAFONT, Version 2.7182 (Web2C 7.4.5)

kpathsea: Running mktexmf rtcxr10
! I can't find file `rtcxr10'.
<*> ...=ljfour; mag:=1; nonstopmode; input rtcxr10
                                                  
Please type another input file name
! Emergency stop.
<*> ...=ljfour; mag:=1; nonstopmode; input rtcxr10
                                                  
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input rtcxr10' failed.
TeXmacs] loading ecrm8 at 600 dpi
TeXmacs] Executing mktextfm ecrm8.tfm
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm8
This is METAFONT, Version 2.7182 (Web2C 7.4.5)

kpathsea: Running mktexmf ecrm8
mktexmf: /var/cache/fonts/source/jknappen/ec/ecrm8.mf: successfully
generated.

    ......... snip ...


One last thing I noticed. Your version depends on cygiconv-2.dll but
when I configure from source iconv support doesn't get included:

checking for iconv.h... yes
checking for iconv... no
checking for iconv in -liconv... no
configure: warning: iconv was not found, HTML import may crash

excerpt from config.log:

configure:2535: checking for iconv in -liconv
configure:2552: gcc -o conftest -O2   conftest.c -liconv 1>&5
/tmp/cc0X42Ma.o(.text+0x35):conftest.c: undefined reference to `_iconv_open'
/tmp/cc0X42Ma.o(.text+0x5d):conftest.c: undefined reference to `_iconv'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2539 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <iconv.h>

int main() {

      iconv_t cd = iconv_open ("","");
      iconv (cd, NULL, NULL, NULL, NULL);

; return 0; }

Grepping for iconv_open symbol

02:53 PM [534]> nm /usr/lib/libiconv.dll.a | grep iconv_open
00000000 I __imp__libiconv_open
00000000 T _libiconv_open

shows that configure *SHOULDN'T* find iconv support.



And finally the above mentioned patch:

----------------------- cut here ------------------------------------------------
--- TeXmacs-1.0.3.2-1.sh.orig	2004-02-02 12:54:07.607892800 +0100
+++ TeXmacs-1.0.3.2-1.sh	2004-02-02 12:52:08.566720000 +0100
@@ -150,8 +150,7 @@ install() {
       rm -f ${instdir}${f} ; \
     fi ;\
   done &&\
-  for d in ${prefix}/share/doc/${PKG}-${VER} ${prefix}/share/doc/Cygwin \
-           ${sysconfdir}/postinstall ; do
+  for d in ${prefix}/share/doc/${PKG}-${VER} ${prefix}/share/doc/Cygwin ; do
     if [ ! -d ${instdir}${d} ] ; then
       mkdir -p ${instdir}${d} ;\
     fi ;\
@@ -178,7 +177,10 @@ install() {
     fi ;\
   fi ;\
   if [ -f ${srcdir}/CYGWIN-PATCHES/postinstall.sh ] ; then \
-  /usr/bin/install -m 755 ${srcdir}/CYGWIN-PATCHES/postinstall.sh \
+    if [ ! -d ${instdir}${cygsysconfdir}/postinstall ] ; then
+      mkdir -p ${instdir}${sysconfdir}/postinstall
+    fi && \
+    /usr/bin/install -m 755 ${srcdir}/CYGWIN-PATCHES/postinstall.sh \
       ${instdir}${sysconfdir}/postinstall/${PKG}.sh
   fi )
 }
--- TeXmacs-1.0.3.2\CYGWIN-PATCHES\setup.hint.orig	2004-02-02 11:16:57.835091200 +0100
+++ TeXmacs-1.0.3.2\CYGWIN-PATCHES\setup.hint	2004-02-02 12:43:12.746248000 +0100
@@ -17,6 +17,6 @@ Converters exist for TeX/LaTeX and they 
 Html/MathML/Xml. In the future, TeXmacs is planned to evolve towards a
 complete scientific office suite."
 category: Editors Math
-requires: ghostscript-base ghostscript-x11 guile guile-devel gile-doc tetex-bin tetex-base tetex-extra tetex-devel xfree68-base xfree68-prog transfig
-#suggested: libiconv netpbm
+requires: ghostscript-base ghostscript-x11 guile guile-devel guile-doc libguile12 tetex-bin tetex-base tetex-extra tetex-devel XFree68-base XFree68-prog transfig libfreetype26 libiconv2
+#suggested: netpbm
 #build requires: gcc-3.2 make
--- TeXmacs-1.0.3.2\CYGWIN-PATCHES\TeXmacs.README.orig	2004-02-02 11:16:57.835091200 +0100
+++ TeXmacs-1.0.3.2\CYGWIN-PATCHES\TeXmacs.README	2004-02-02 14:30:37.092763200 +0100
@@ -7,15 +7,18 @@ Runtime requirements:
   ghostscript-x11 
   guile 
   guile-devel 
-  gile-doc 
+  guile-doc 
   tetex-bin 
   tetex-base 
   tetex-extra 
   tetex-devel 
-  xfree68-base 
-  xfree68-prog 
+  XFree68-base 
+  XFree68-prog 
   transfig
-
+  libguile12
+  libfreetype26
+  libiconv2
+  
 Build requirements:
   cygwin-1.5.3 or newer
   gcc-3.2 (note: gcc-3.3 does not work)
@@ -25,7 +28,7 @@ Canonical homepage:
   http://texmacs.org
 
 Canonical download:
-  http://texmacs.org
+  ftp://ftp.texmacs.org/pub/TeXmacs/targz/
   
 ------------------------------------
 

----------------------- cut here ------------------------------------------------

Ciao
  Volker



More information about the Cygwin-apps mailing list