mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] HowTo compile TeXmacs under Ubuntu


Chronological Thread 
  • From: marc lalaude-labayle <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] HowTo compile TeXmacs under Ubuntu
  • Date: Fri, 15 Feb 2013 20:16:46 +0100

Hi,

i am trying to compile the svn version under ubuntu 12.10. It worked till few days ago. Make reports problem such as

"qt_menu.cpp:(.text+0xdd): référence indéfinie vers « to_qstring(string) »
Objects/qt_printer_widget.o: dans la fonction « qt_printer_widget_rep::qt_printer_widget_rep(command, url) »:
qt_printer_widget.cpp:(.text+0x10a): référence indéfinie vers « to_qstring(string) »
collect2: erreur: ld a retourné 1 code d'état d'exécution"

Does anyone encouter the same difficulties to compile the last svn version ?

Thx for the work

M.


2012/6/27 François Poulain <address@hidden>
Hi,

I recently compiled TeXmacs on a (fresh) Ubuntu distribution. I took
the opportunity to write a mini howto, I share it with you.

Best regards.
François

= HowTo compile TeXmacs under Ubuntu =

Tested on a fresh install.

== Getting the sources ==

You can get the latest version or stable version on
http://www.texmacs.org/tmweb/download/sources.en.html (section 2) or
get the current development version.

If you want the latest version or stable version, copy the link on the
above web page, then
$ wget <link_to_source_archive>
$ tar xvf TeXmacs-<version>-src.tar.gz
$ cd TeXmacs-<version>-src

Else, if you prefer the current development version, you have to
install subversion, using
$ sudo apt-get install subversion
then, you can download the current SVN version of TeXmacs in read-only
mode, using
$ svn co svn://svn.savannah.gnu.org/texmacs/trunk/src

== Getting the dependencies ==

The default TeXmacs configuration depends on Guile and Qt4. To get
them, just do
$ sudo apt-get install libqt4-dev guile-1.8-dev

You will also need a basic compiling environment, so
$ sudo apt-get install build-essential

Finally, you will need some TeX related tools for fonts building.
$ sudo apt-get install texlive-latex-recommended

Note: installing texlive-binaries should be sufficient, but there is an
integration bug which makes mktexpk unable to find TeXmacs fonts. So we
reinstall them via TeXlive.

== Compiling and installing ==

$ cd src
$ ./configure && make && sudo make install

Now, enjoy:
$ texmacs

See section 3 and 4 of
http://www.texmacs.org/tmweb/download/sources.en.html for more details.

--
François Poulain <address@hidden>




Archive powered by MHonArc 2.6.19.

Top of page