[Top][All Lists]

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

[Texmacs-dev] failed to build latest code

From: Liu Yubao
Subject: [Texmacs-dev] failed to build latest code
Date: Thu, 2 Dec 2010 13:37:13 +0800


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

reply via email to

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