Hi, Thanks, I build it successfully after remove --enable-experimental, --with-cario and --enable-pdf-render. I think it's wise to stick with Qt, simple and portable code.
Regards, Yubao Liu On Thu, Dec 2, 2010 at 5:51 PM, Gubinelli Massimiliano <[email protected]> wrote: > Hi, > 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). > > Best > Max > > > > On 2 déc. 10, at 06:37, Liu Yubao wrote: > >> Hi, >> >> 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 () { >> basic_renderer_rep* >> 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 >> [email protected] >> http://lists.gnu.org/mailman/listinfo/texmacs-dev > > > _______________________________________________ > Texmacs-dev mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/texmacs-dev > _______________________________________________ Texmacs-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/texmacs-dev
