Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Compile error on ubuntu 16.04

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Compile error on ubuntu 16.04


Chronological Thread 
  • From: "Pablo S. Casas" <address@hidden>
  • To: Zhang Zhen <address@hidden>
  • Cc: address@hidden, address@hidden
  • Subject: Re: [TeXmacs] Compile error on ubuntu 16.04
  • Date: Sat, 17 Nov 2018 12:06:29 +0100 (CET)

From: Zhang Zhen <address@hidden>
Subject: Re: [TeXmacs] Compile error on ubuntu 16.04
Date: Fri, 16 Nov 2018 19:17:11 -0500

> I installed qt5 instead of qt4, will this be a problem?
> anyway, I think I can add a -fPIC parameter during compiling, but don't
> know where should I put the parameter.

After configure I have to modify ./TeXmacs/src/src/makefile in the
following variables:

CXXFLAGS = $(CXXWARNING) $(CXXTEMPLATE) $(CXXOPTIMIZE) $(CXXDEBUG)
$(CXXPROFILE) -fno-rtti -fPIC
CPPFLAGS = -include config.h -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB
-DQT_CORE_LIB -I. -I/usr/lib64/qt5/mkspecs/linux-g++
-I/usr/include/qt5/QtPrintSupport -D_REENTRANT -DQTTEXMACS
LIBS = -lz -lpng -lQt5Widgets -lQt5Gui -lQt5Core -lQt5PrintSupport -lGL
-lpthread -lfreetype -lguile -lgmp -lcrypt -lm -lltdl

I use gcc (Gentoo 7.3.0-r3 p1.4) 7.3.0.

Best regards

Pablo



Archive powered by MHonArc 2.6.19.

Top of Page