[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] failed to build latest code

From: Gubinelli Massimiliano
Subject: Re: [Texmacs-dev] failed to build latest code
Date: Thu, 2 Dec 2010 10:51:20 +0100

I'm not sure --enable-experimental option works (Joris?). Please try removing --enable-experimental from configure invocation. Also be aware that the cairo renderer is not the most developed renderer. I do not think that it will be better than the native qt renderer. The pdf renderer also is an experimental code which in the current codebase is not used (when ready it will provide direct pdf output with font subsetting).


On 2 déc. 10, at 06:37, Liu Yubao wrote:


I'm building latest code in svn trunk on Debian Squeeze.

$ ./configure --prefix=$HOME/usr --enable-experimental
--enable-pdf-renderer --enable-qt --with-freetype --with-cairo
--with-imlib2 --with-qt

$ make

After fixing the first error, I'm stuck by second error.

diff --git a/src/src/Plugins/Qt/QTMWidget.cpp b/src/src/Plugins/Qt/ QTMWidget.cpp
index bb2006f..f4697b6 100644
--- a/src/src/Plugins/Qt/QTMWidget.cpp
+++ b/src/src/Plugins/Qt/QTMWidget.cpp
@@ -187,7 +187,7 @@ QTMWidget::invalidate_all () {
QTMWidget::getRenderer() {
#ifdef USE_CAIRO
-  cairo_renderer_rep *ren = the_cairo_renderer ();
+  basic_renderer_rep *ren = the_cairo_renderer ();
  cairo_surface_t *surf;
#ifdef Q_WS_X11
  //const QX11Info & info = x11Info();//qt_x11Info(this);

Objects/dpxfile.o: In function `dpx_create_temp_file':
dpxfile.c:(.text+0x5c7): warning: the use of `tmpnam' is dangerous,
better use `mkstemp'
Objects/evaluate_inactive.o: In function `rewrite_inactive_arg(tree,
int, inactive_style)':
evaluate_inactive.cpp:(.text+0x3bb2): undefined reference to
`arg_type(tree, int)'
collect2: ld returned 1 exit status
make[1]: *** [Objects/texmacs-shared.bin] Error 1

Texmacs-dev mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]