Subject: mailing-list for TeXmacs Users
List archive
From : Henri Girard <address@hidden>- To: Zhang Zhen <address@hidden>
- Cc: address@hidden
- Subject: Re: [TeXmacs] Compile error on ubuntu 16.04
- Date: Sat, 17 Nov 2018 09:39:51 +0100
I don't know where is the problem... I will try to compile texmacs, but I am with 18.04 bionic. qt4 or qt5 formerly compiled well I keep you inform Le 17/11/2018 à 01:17, Zhang Zhen a
écrit :
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.
Best,
Zhen
On Fri, Nov 16, 2018 at 7:09 PM Zhang Zhen <address@hidden>
wrote:
with the makefile generated by ./configure
make process got following error:
In file included from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:37:0,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:37,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1,
from Plugins/Qt/qt_widget.hpp:17,
from
Plugins/Qt/qt_simple_widget.hpp:18,
from Edit/editor.hpp:20,
from Texmacs/server.hpp:14,
from
./Texmacs/Texmacs/texmacs.cpp:25:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1067:4:
error: #error "You must build your code with position
independent code if Qt was built with
-reduce-relocations. " "Compile your code with -fPIC
(-fPIE is not enough)."
# error "You must build your code with position
independent code if Qt was built with
-reduce-relocations. "\
^
makefile:345: recipe for target 'Objects/texmacs.o'
failed
make[1]: *** [Objects/texmacs.o] Error 1
make[1]: Leaving directory
'/home/zarzen/Desktop/texmacs-master/src'
Makefile:59: recipe for target 'TEXMACS' failed
make: *** [TEXMACS] Error 2
On Fri, Nov 16, 2018 at 11:40 AM Henri Girard
<address@hidden>
wrote:
For ubuntu it's good to do ./configure --prefix=/usr (then
texmacs is in your path) make sudo make install Keep the compiled sources if you want to uninstall it sudo make uninstall Does the standard |
- [TeXmacs] Compile error on ubuntu 16.04, Zhang Zhen, 11/16/2018
- Re: [TeXmacs] Compile error on ubuntu 16.04, Massimiliano Gubinelli, 11/16/2018
- Re: [TeXmacs] Compile error on ubuntu 16.04, Henri Girard, 11/16/2018
- Re: [TeXmacs] Compile error on ubuntu 16.04, Zhang Zhen, 11/17/2018
- Re: [TeXmacs] Compile error on ubuntu 16.04, Zhang Zhen, 11/17/2018
- Re: [TeXmacs] Compile error on ubuntu 16.04, Henri Girard, 11/17/2018
- Re: [TeXmacs] Compile error on ubuntu 16.04, Henri Girard, 11/17/2018
- Re: [TeXmacs] Compile error on ubuntu 16.04, Pablo S. Casas, 11/17/2018
- Re: [TeXmacs] Compile error on ubuntu 16.04, Henri Girard, 11/17/2018
- Re: [TeXmacs] Compile error on ubuntu 16.04, Zhang Zhen, 11/17/2018
- Re: [TeXmacs] Compile error on ubuntu 16.04, Zhang Zhen, 11/17/2018
- Re: [TeXmacs] Compile error on ubuntu 16.04, Henri Girard, 11/16/2018
- Re: [TeXmacs] Compile error on ubuntu 16.04, Massimiliano Gubinelli, 11/16/2018
Archive powered by MHonArc 2.6.19.