Subject: mailing-list for TeXmacs Users
List archive
From : Romain Lebreton <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,
- Date: Wed, 06 Nov 2013 15:25:32 -0500
I am glad that you shared your experience since I wanted to do that for quite some time.
Here is my experience. On a basic Ubuntu 13.04, the only missing packages to have a success with the configure script of TeXmacs were
guile-1.8-dev
g++
qt4-default
However, at the linking stage at the end of the compilation, you get a lot of linking errors
Objects/glue.o: In function `tmg_trace_distance(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*)':
glue.cpp:(.text+0x87f7): undefined reference to `trace_distance(string, string, double)'
Objects/glue.o: In function `tmg_characteristic_distance(scm_unused_struct*, scm_unused_struct*)':
glue.cpp:(.text+0x35416): undefined reference to `characteristic_distance(array<string>, array<string>)'
Objects/smart_font.o: In function `get_ex(string, string, string, string, int) [clone .constprop.46]':
smart_font.cpp:(.text+0x9c1): undefined reference to `find_attribute_value(array<string>, string)'
Objects/font_guess.o: In function `guessed_features(string, string)':
font_guess.cpp:(.text+0x7cf): undefined reference to `find_attribute_value(array<string>, string)'
font_guess.cpp:(.text+0x838): undefined reference to `find_attribute_value(array<string>, string)'
font_guess.cpp:(.text+0x8aa): undefined reference to `find_attribute_value(array<string>, string)'
font_guess.cpp:(.text+0x91c): undefined reference to `find_attribute_value(array<string>, string)'
Objects/font_guess.o:font_guess.cpp:(.text+0x98e): more undefined references to `find_attribute_value(array<string>, string)' follow
Objects/font_guess.o: In function `guessed_distance(string, string, string, string)':
font_guess.cpp:(.text+0x3db5): undefined reference to `characteristic_distance(array<string>, array<string>)'
Objects/font_guess.o: In function `guessed_distance(string, string, string, string) [clone .constprop.14]':
font_guess.cpp:(.text+0x4d57): undefined reference to `characteristic_distance(array<string>, array<string>)'
This is indeed solved by installing the missing dependencies of the texmacs package (texlive-base, texlive-extra-utils, texlive-font-utils, texlive-math-extra were enough for me), and doing
make clean
./configure
make
In order to isolate which package was really needed, I removed all 4 packages but the compilation still work. So I guess it must be a dependency of these 4 packages.
My conclusion is that there is a required package that is not detected by the configure script and I don't know exactly what it is. Can somebody tell me to which library the functions tmg_trace_distance, tmg_characteristic_distance, ... are related to?
Thanks,
Romain
Le 01/11/2013 23:56, Adrian S. a écrit :
I just wanted to share my experiences compiling TeXmacs in Ubuntu 13.10.
For installation in Ubuntu 13.10, I was not sure what to install, so I
followed the dependencies in the package texmacs-src (which is for
1.0.18), which are:
autotools-dev
cdbs (>=.4)
debhelper (>=.0)
ghostscript
guile-1.8-dev
imagemagick
ispell
libfreetype6-dev
libimlib2-dev
libjpeg-progs
libltdl-dev
libqt4-dev
librsvg2-bin
libtiff-tools
libx11-dev
libxt-dev
netpbm
quilt
r-base-core (>=.0)
x11proto-core-dev
xfig
From these, I think r-base-core and xfig are not really needed. The
packages listed ones allow it to compile, however:
The configure script found guile2, and tried to compile against it.
Aparently TeXmacs does not work with guile2, and needs guile1.8...
After putting guile1.8 and guile1.8-dev, all compiled nicely.
Then the newer version of ubuntu uses Maxima 5.30, which is
incompatible with TeXmacs. Previous versions of Maxima work just
fine.
A long time ago, I had asked a problem regarding the menu created when
one starts a Maxima session. What is supposed to happen is that when
one starts a Maxima session, one should see a new entry en the top
menu saying "Maxima" and inside of which there are several options
about operations that can be performed inside the session. Compiling
the X version of texmacs (with the --disable-qt option) works just
fine. However, the compiled Qt version of texmacs does not create the
new menu. At first I thought that this was TeXmacs fault, but then I
notice that the binary qt version in Windows does create the menu.
After a bit of digging, I realized that this is a Unity problem in
Ubuntu. The problem is solved by removing the package
"indicator-appmenu" in Ubuntu.
This removes the Apple-like "global menu", which is common for all
applications. This method is probably not the best way to do it,
because if affects all applications; but is the only workaround that I
have found (Other tricks like using "UBUNTU_MENUPROXY=texmacs", or
using "APPMENU_DISPLAY_BOTH=texmacs" did not work)
The package sage still uses a modified version of the Python plugin
that has several problems, but is now able to plot graphics, which was
missing for a while.
The new version of sage also shows some annoying symbols due to using
unicode , but it is a somewhat minor, though annoying, problem. I will
take a look to see if there is an easy fix to at least that. I
suggested a version of the sage plugin, but was not included.
I must say that the SVN version is impressive, and the improvements
done for the beamer style, and for the exportation of documents with
the beamer style to PDF are extraordinary.
I am very happy with TeXmacs. I appreciate all the terrific work that
is being done.
I wonder if there is some work in the Mathemagix plugin, to see a bit
what we should aim to regarding writing plugins.
Hope this notes are useful to someone else.
Peace.
-Adrián.
- [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Adrian S., 11/02/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Henri Girard, 11/02/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Alvaro Tejero Cantero, 11/04/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Adrian S., 11/04/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Alvaro Tejero Cantero, 11/04/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, François Poulain, 11/04/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Henri Girard, 11/04/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Martin Costabel, 11/04/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Henri Girard, 11/04/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Romain Lebreton, 11/06/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, François Poulain, 11/15/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Romain Lebreton, 11/15/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Romain Lebreton, 11/18/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, François Poulain, 11/20/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Lukasz Stafiniak, 11/20/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Massimiliano Gubinelli, 11/20/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Lukasz Stafiniak, 11/20/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Joris van der Hoeven, 11/20/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Massimiliano Gubinelli, 11/20/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Lukasz Stafiniak, 11/20/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, François Poulain, 11/20/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, François Poulain, 11/15/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Henri Girard, 11/02/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, Adrian S., 11/07/2013
- Re: [TeXmacs] Some notes on installing TeXmacs 1.0.20 on Ubuntu 13.10,, marc lalaude-labayle, 11/07/2013
Archive powered by MHonArc 2.6.19.