Subject: mailing-list for TeXmacs Users
List archive
From : Giovanni Piredda <address@hidden>- To: address@hidden, Massimiliano Gubinelli <address@hidden>
- Subject: Re: Guile 3!
- Date: Sat, 21 Mar 2020 13:46:19 +0100
guile-config --version gives me 2.0.13
If the problem is in guile rather than in the new code for TeXmacs, the solution "should be" to update guile to the new version *but* this is the version I get from the Ubuntu repositories for 18.04 LTS (and so that people running Ubuntu 18.04 have).
However I can try to compile and run with Guile 2.2 as well, as it is an alternative in the repository. I have to figure out how to change it without breaking other programs, intuitively it is possible, but I need a bit of time.
G.
On 21.03.20 13:38, Massimiliano Gubinelli wrote:
The problem is here:
kernel/boot/compat.scm:14:0: In procedure #<procedure 5627602633a0 ()>:
kernel/boot/compat.scm:14:0: In procedure module-lookup: Unbound variable: module-use!
Guile found an error in a source. From there on the program does not work properly and the crash happens only later.
I've tested the code with Guile 2.0.14
Which is the exact version you have?
Max
On 21. Mar 2020, at 13:35, Giovanni Piredda <address@hidden <mailto:address@hidden>> wrote:
Ok, I have sent it to you only as it is not useful to send it to everyone.
G.
On 21.03.20 13:32, Massimiliano Gubinelli wrote:
Show me the full output. I'm not sure what is going on.
m
On 21. Mar 2020, at 13:30, Giovanni Piredda <address@hidden <mailto:address@hidden>> wrote:
It is that. Now TeXmacs starts compiling, then crashes after the window appears (without menus).
The first time the error seems this to me (I left it directed to stderr and these are the two last lines of the output, I guess the first one is output, the second is error)
TeXmacs/texmacs-guile3/src/TeXmacs/progs/version/version-kbd.scm.go
ICE default IO error handler doing an exit(), pid = 28375, errno = 32
I then run it redirecting stderr, it crashes immediately now, if interesting can either send you the file with the errors or can paste its contents here on the mailing list.
G.
On 21.03.20 13:17, Massimiliano Gubinelli wrote:
You can run without installation, just to check. I do not know how installation works on Linux.
From the source directory (where ./configure is) you can run
TEXMACS_PATH=$PWD/TeXmacs TeXmacs/bin/texmacs.bin
and should work.
Max
On 21. Mar 2020, at 13:06, Giovanni Piredda <address@hidden <mailto:address@hidden>> wrote:
I recompiled it with the branch guile3. The behaviour is the same: (version) gives 1.8.8.
Configure outputs
configure: Guile version 2.0
configure: Guile data path: /usr/share/guile/2.0
(I checked running ./configure again after I have compiled and installed, but it is irrelevant as far as I know).
I am suspecting a different thing: that the command ./texmacs (run from the installation directory) does not run the TeXmacs I have just installed but the copy I have set as default by exporting $TEXMACS_PATH at login
To this point: what does the line in the shell script
if [ -z "$TEXMACS_PATH" ] ;
do? Does it check whether $TEXMACS_PATH exists? In this case that is the reason why the "usual" TeXmacs get run, that is $TEXMACS_PATH is already set in my shell.
I have tried running the shell script without the ifs, that is, reduced
if [ -z "$TEXMACS_PATH" ] ; then
TEXMACS_PATH=${datarootdir}/TeXmacs
export TEXMACS_PATH
if [ -z "$TEXMACS_BIN_PATH" ] ; then
TEXMACS_BIN_PATH=${exec_prefix}/libexec/TeXmacs
export TEXMACS_BIN_PATH
fi
else
TEXMACS_BIN_PATH="$TEXMACS_PATH"
export TEXMACS_BIN_PATH
fi
to
TEXMACS_PATH=${datarootdir}/TeXmacs
export TEXMACS_PATH
TEXMACS_BIN_PATH=${exec_prefix}/libexec/TeXmacs
export TEXMACS_BIN_PATH
and TeXmacs starts the compilation, then crashes: this makes me think I am going in the right direction.
I am seeing that the environments variables exported in this way are valid only in the terminal where I defined them, so this keeps the "usual" TeXmacs running when calling it from other terminal windows, and this means I can experiment easily. I would need a hint on how to go on.
Giovanni
On 21.03.20 12:31, Massimiliano Gubinelli wrote:
--enable-guile2 does not do much.
You would have to check the output from configure and see if TeXmacs pick up the right guile.
Use the branch guile3 or qt5+guile2 on my github account mgubi/texmacs
Best
Max
On 21. Mar 2020, at 12:13, Giovanni Piredda <address@hidden <mailto:address@hidden>> wrote:
which guile-config
returns
/usr/bin/guile-config
and
guile-config --version
returns
guile-config - Guile version 2.0.13
I suspect I cloned the wrong branch (although I do not understand why, if this were the case, --enable-guile2 was accepted by the ./configure command). I cloned it again and I am compiling it again.
Giovanni
On 21.03.20 12:03, Massimiliano Gubinelli wrote:
Usually it is enough to change your PATH variable in such a way that configure find the right 'guile-config'. Do
which guile-config
to check.
Max
On 21. Mar 2020, at 11:47, Giovanni Piredda <address@hidden <mailto:address@hidden>> wrote:
On 21.03.20 11:41, Kovács Zoltán wrote:
Dear all,I thought I had also compiled it - I used --enable-guile2 in the ./configure command, but (version) is giving me 1.8.8. I know that I am running the one I compiled as I am invoking it with the full path. Any suggestions?
after several emails with Max I finally managed to compile TeXmacs 1.99.12 on Ubuntu 18.04 with guile-2.2. I used his branches qt5 and guile2 (however, he already merged them into one branch). The compilation was smooth when adding the option --enable-guile2 when launching the configure script.
image.png
Ubuntu 18.04 has Qt version 5.9.5.
Giovanni
- Re: Fwd: Guile 3!, (continued)
- Re: Fwd: Guile 3!, Giovanni Piredda, 03/21/2020
- Re: Guile 3!, Massimiliano Gubinelli, 03/21/2020
- Re: Guile 3!, Giovanni Piredda, 03/21/2020
- Re: Guile 3!, Massimiliano Gubinelli, 03/21/2020
- Re: Guile 3!, Giovanni Piredda, 03/21/2020
- Re: Guile 3!, Massimiliano Gubinelli, 03/21/2020
- Re: Guile 3!, Giovanni Piredda, 03/21/2020
- Re: Guile 3!, Massimiliano Gubinelli, 03/21/2020
- Re: Guile 3!, Giovanni Piredda, 03/21/2020
- Re: Guile 3!, Massimiliano Gubinelli, 03/21/2020
- Re: Guile 3!, Giovanni Piredda, 03/21/2020
- Re: Guile 3!, Giovanni Piredda, 03/21/2020
- Re: Guile 3!, Massimiliano Gubinelli, 03/21/2020
- Re: Fwd: Guile 3!, Giovanni Piredda, 03/21/2020
- Re: Guile 3!, Marco Atzeri, 03/21/2020
- Re: Guile 3!, Marco Atzeri, 03/21/2020
- Re: Guile 3!, Massimiliano Gubinelli, 03/21/2020
- Re: Guile 3!, Thierry Michel, 03/24/2020
- Re: Guile 3!, Massimiliano Gubinelli, 03/24/2020
- Re: Guile 3!, Thierry Michel, 03/24/2020
- Re: Guile 3!, Massimiliano Gubinelli, 03/25/2020
- Re: Guile 3!, Massimiliano Gubinelli, 03/24/2020
- Re: Guile 3!, Thierry Michel, 03/24/2020
- Re: Guile 3!, Massimiliano Gubinelli, 03/21/2020
- Re: Guile 3!, Marco Atzeri, 03/21/2020
Archive powered by MHonArc 2.6.19.