On Mon, Oct 20, 2014 at 10:18:29AM +0200, Stephan Witt wrote: > Am 20.10.2014 um 08:39 schrieb Stephan Witt <st.w...@gmx.net>: > > > Am 19.10.2014 um 22:17 schrieb Enrico Forestieri <for...@lyx.org>: > > > >> On Sun, Oct 19, 2014 at 05:40:00PM +0200, Stephan Witt wrote: > >>> > >>> Ok, I couldn't test it on Linux with Qt 5.x. I think I know what to do > >>> here. > >>> What's your software stack for Qt5.x on Linux? > >> > >> Debian stable, if that's what you mean by software stack. > > > > Ok, thank you. > > > > What I mean is: I'm used to rpm based systems on Linux. I'm using RedHat > > or CentOS if possible. > > I read that on CentOS 6.5 Qt5 is a problem. So I tried it with my Ubuntu > > Box and couldn't find > > how to get a Qt5 developer system ready. I'm not familiar with dpkg and > > apt. So it needs time > > to setup such a system - I thought it may save some time if I ask. > > It doesn't work on my system - an Ubuntu 12.04 upgraded to 14.04 TLS. > There are compatibility problems with boost and Qt5 I cannot solve. > I think (LyX with) Qt5 on Linux is not ready for production? at least on > Ubuntu 14.04 TLS. > > This is what I did after Ubuntu upgrade: > > $ uname -a > Linux ubuntu 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:30:01 UTC 2014 > i686 i686 i686 GNU/Linux > $ cat /etc/debian_version > jessie/sid > > $ cd $HOME/lyx-build > $ sudo apt-get install libqt5x11extras5-dev > # This installs many Qt5 developer packages too... > $ PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH sh ../LyX-2.2-2.2.0dev/configure > --enable-qt5
Please, try appending CPPFLAGS=-fPIC to the configure command, i.e., use ../LyX-2.2-2.2.0dev/configure --enable-qt5 CPPFLAGS=-fPIC -- Enrico