Subject: mailing-list for TeXmacs Users
List archive
From : Anthony Lander <address@hidden>- To: address@hidden
- Subject: Re: trouble loading texmacs-1.0.1.23
- Date: Mon, 22 Sep 2003 00:09:41 -0400
Ok, after poking around a bit with gdb, It look like TeXmacs is failing
because it can't find
$GUILE_LOAD_PATH/init-texmacs.scm
as per src/System/Boot/init_texmacs.cpp:
=====
static void
init_guile () {
url guile_path= get_env_path ("GUILE_LOAD_PATH", "$TEXMACS_PATH/progs");
if (!exists ("$GUILE_LOAD_PATH/init-texmacs.scm")) {
cerr << "\nTeXmacs]\n";
//... elided
=====
Is this correct code? And if so, then it appears that my system has some
environment variables set incorrectly. I have
GUILE_LOAD_PATH=/usr/share/guile/1.6
If this is correct, then I'm a bit confused by the if(!exists...) line.
Anyone have any insight?
Thanks,
-anthony
On September 14, 2003 05:10 pm, Anthony Lander wrote:
> Hi,
>
> I'm getting some errors when trying to load TeXmacs on my linux box.
>
> With the default installation, ie TEXMACS_PATH and TEXMACS_BIN_PATH unset,
> I get the following error:
>
> TeXmacs]
> TeXmacs] The GUILE_LOAD_PATH is /usr/share/guile/1.6
>
> 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]
>
> The values of the relavent variables just before the line
> exec texmacs.bin "$@"
>
> in /usr/bin/texmacs is executed are:
> GUILE_LOAD_PATH=/usr/share/guile/1.6
> LD_LIBRARY_PATH=/usr/libexec/TeXmacs/lib
> PATH=/usr/libexec/TeXmacs/bin:/bin:/usr/bin:/usr/local/bin: [etc...]
> TEXMACS_BIN_PATH=/usr/libexec/TeXmacs
> TEXMACS_PATH=/usr/share/TeXmacs
>
>
> If, on the other hand, I
> export TEXMACS_PATH=/usr/share/TeXmacs
>
> I get the following error:
> /usr/bin/texmacs: line 21: exec: texmacs.bin: not found
>
> and the values of the relavent variables just before
> exec texmacs.bin "$@"
>
> are:
> GUILE_LOAD_PATH=/usr/share/guile/1.6
> LD_LIBRARY_PATH=/usr/share/TeXmacs/lib
> PATH=/usr/share/TeXmacs/bin:/bin:/usr/bin:/usr/local/bin: [etc...]
> TEXMACS_BIN_PATH=/usr/share/TeXmacs
> TEXMACS_PATH=/usr/share/TeXmacs
>
> In both cases, texmacs fails to load. Anyone encounter something similar?
> Any suggestions?
>
>
> Thanks,
>
> -Anthony
--
PGP key at http://anthony.etherealplanet.org
3FF8 6319 CADA 2D21 03BB 175F 3382 822A 502F AE80
- trouble loading texmacs-1.0.1.23, Anthony Lander, 09/14/2003
- Re: trouble loading texmacs-1.0.1.23, Anthony Lander, 09/22/2003
Archive powered by MHonArc 2.6.19.