Texmacs error messages

Have installed texmacs as instructed but getting the fallowing error messages

cd /home/tolu/Opstk/bin/texmacs/texmacs-2.1/TeXmacs/bin
./texmacs

tolu@hag:~$ texmacs
TeXmacs] std-warning, Could not find TeXmacs icon file: /home/tolu/Opstk/bin/texmacs/texmacs-2.1/TeXmacs/bin/misc/images/texmacs-512.png
TeXmacs] 
TeXmacs] Installation problem: please send a bug report.
TeXmacs] The initialization file init-texmacs.scm could not be found.
TeXmacs] Please check the values of the environment variables
TeXmacs] TEXMACS_PATH and GUILE_LOAD_PATH. init-texmacs.scm should
TeXmacs] be readable and in the directory $TEXMACS_PATH/progs
TeXmacs] or in the directory $GUILE_LOAD_PATH
TeXmacs] 
Throwing guile could not be found
-------------------------------------------------
Error message:
  guile could not be found

System information:
  TeXmacs version  : 2.1
  Built by         : magix
  Building date    : Tue Jun 22 13:47:24 CEST 2021
  Operating system : linux-gnu
  Vendor           : pc
  Processor        : @CONFIG_HOST_CPU@
  Crash date       : Fri  8 Oct 10:00:54 +12 2021

TeXmacs server not yet started
Backtrace of C++ stack:
  texmacs.bin() [0x102f3d5]
  texmacs.bin() [0x59fbf8]
  texmacs.bin() [0xc0c9f4]
  texmacs.bin() [0x4151b4]
  /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main() + 0xe7
  texmacs.bin() [0x40ecb9]

-------------------------------------------------
terminate called after throwing an instance of 'string'
Aborted
 tolu@hag:~$

@Tolu
Could you please report here the result of the command

echo $TEXMACS_PATH

run in the same terminal where you have run TeXmacs from?

For the others, please note that this thread moved from the mailing list to here (mailing list thread at https://lists.texmacs.org/wws/arc/texmacs-users/2021-10/msg00011.html)

Here is what I get

tolu@hag:~/Opstk/src/texmacs/texmacs-2.1/bin$ ./texmacs
TeXmacs] std-warning, Could not find TeXmacs icon file: /home/tolu/Opstk/src/texmacs/texmacs-2.1/bin/misc/images/texmacs-512.png
TeXmacs] 
TeXmacs] Installation problem: please send a bug report.
TeXmacs] The initialization file init-texmacs.scm could not be found.
TeXmacs] Please check the values of the environment variables
TeXmacs] TEXMACS_PATH and GUILE_LOAD_PATH. init-texmacs.scm should
TeXmacs] be readable and in the directory $TEXMACS_PATH/progs
TeXmacs] or in the directory $GUILE_LOAD_PATH
TeXmacs] 
Throwing guile could not be found
-------------------------------------------------
Error message:
  guile could not be found

System information:
  TeXmacs version  : 2.1
  Built by         : magix
  Building date    : Tue Jun 22 13:47:24 CEST 2021
  Operating system : linux-gnu
  Vendor           : pc
  Processor        : @CONFIG_HOST_CPU@
  Crash date       : Fri  8 Oct 13:02:25 +12 2021

TeXmacs server not yet started
Backtrace of C++ stack:
  texmacs.bin() [0x102f3d5]
  texmacs.bin() [0x59fbf8]
  texmacs.bin() [0xc0c9f4]
  texmacs.bin() [0x4151b4]
  /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main() + 0xe7
  texmacs.bin() [0x40ecb9]

-------------------------------------------------
terminate called after throwing an instance of 'string'
Aborted

tolu@hag:~/Opstk/src/texmacs/texmacs-2.1/bin$ echo $TEXMACS_PATH
/home/tolu/Opstk/src/texmacs/texmacs-2.1/bin
tolu@hag:~/Opstk/src/texmacs/texmacs-2.1/bin$

@Tolu, could you provide some more details on what exactly you did? Which instructions did you follow?

Can you please follow up on @pireddag’s request and do

echo $TEXMACS_PATH

Could you also do

echo $0

that was hidden at the end :slight_smile:

My guess is that you did not copy all of the files, given that you get

The initialization file init-texmacs.scm could not be found.

Like @jeroen said, both

echo $0

and a step by step description of what you did to install TeXmacs would be useful.

$0 gives /bin/bash

TEXMACS_PATH should point to the directory containing the INSTALL file, not the bin subdirectory.

Procedure I used,

I got

https://www.texmacs.org/Download/ftp/tmftp/generic/TeXmacs-2.1-C.tar.gz

which I copied to

~/Opstk/src/texmacs/texmacs-2.1/

Then I did the following

tolu@hag:~$ cd /home/tolu/Opstk/src/texmacs/texmacs-2.1/TeXmacs/bin
tolu@hag:~/Opstk/src/texmacs/texmacs-2.1/TeXmacs/bin$ ls
fig2ps  texmacs  texmacs.bin  tm_gs
tolu@hag:~/Opstk/src/texmacs/texmacs-2.1/TeXmacs/bin$ ./texmacs
./texmacs: 38: exec: texmacs.bin: not found
tolu@hag:~/Opstk/src/texmacs/texmacs-2.1/TeXmacs/bin$ texmacs &
[1] 5358
tolu@hag:~/Opstk/src/texmacs/texmacs-2.1/TeXmacs/bin$ texmacs: command not found

Also included in my .bashrc the following

   export TEXMACS_PATH=${HOME}/Opstk/src/texmacs/texmacs-2.1/TeXmacs/bin
   export PATH=$PATH:$TEXMACS_PATH

Your .bashrc should contain

export TEXMACS_PATH=${HOME}/Opstk/src/texmacs/texmacs-2.1/TeXmacs/
export PATH=$TEXMACS_PATH/bin:$PATH

Have got things to work out as per suggestion about export parameters.

1 Like