installation problem in Debian Jessie (Qt 5.6.0)

Post in this forum any question related to the installation on any of the supported platforms (Linux, Mac OS X, Windows)
efranco
Posts: 3
Joined: Tue Jun 07, 2016 2:20 pm

installation problem in Debian Jessie (Qt 5.6.0)

Postby efranco » Wed Nov 23, 2016 2:54 am

Marc,

I post in this forum because I have an error installing the version 2.9.1. and I though it was the correct forum.

OS: Debian Jessie
Architecture: x86_64

I configure the installacion with ./configure and everything is all right until there. After I run "make" I got the following error:

cd QGpCoreTools/ && ( test -e Makefile || /home/esteban/anaconda3/bin/qmake /home/esteban/Downloads/geopsypack-55items-src-2.9.0/QGpCoreTools/QGpCoreTools.pro -o Makefile ) && make -f Makefile
make[1]: Entering directory '/home/esteban/Downloads/geopsypack-55items-src-2.9.0/QGpCoreTools'
make -f Makefile.Release
make[2]: Entering directory '/home/esteban/Downloads/geopsypack-55items-src-2.9.0/QGpCoreTools'
g++ -c -pipe -O2 -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DMAKE_QGPCORETOOLS_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -I. -Isrc -Iui -I../include -I../../../anaconda3/include/qt -I../../../anaconda3/include/qt/QtCore -Irelease -I../../../anaconda3/mkspecs/linux-g++ -o release/AbstractStream.o src/AbstractStream.cpp
In file included from src/AbstractStream.cpp:27:0:
src/AbstractStream.h: In member function ‘QGpCoreTools::AbstractStream& QGpCoreTools::AbstractStream::operator<<(char)’:
src/AbstractStream.h:59:69: error: ‘fromAscii’ is not a member of ‘QChar’
AbstractStream& operator<<(char val) {return operator<<(QString(QChar::fromAscii(val)));}
^
Makefile.Release:2683: recipe for target 'release/AbstractStream.o' failed
make[2]: *** [release/AbstractStream.o] Error 1
make[2]: Leaving directory '/home/esteban/Downloads/geopsypack-55items-src-2.9.0/QGpCoreTools'
Makefile:38: recipe for target 'release' failed
make[1]: *** [release] Error 2
make[1]: Leaving directory '/home/esteban/Downloads/geopsypack-55items-src-2.9.0/QGpCoreTools'
Makefile:118: recipe for target 'sub-QGpCoreTools-make_first-ordered' failed
make: *** [sub-QGpCoreTools-make_first-ordered] Error 2


I suppose the error must be related with qt4 installation. I already installed. When I write in terminal:
qmake --version i got.

QMake version 3.0
Using Qt version 5.6.0 in /home/esteban/anaconda3/lib


I also check with the command: dpkg -l | grep qt4 to check if I have installed all the necessary package for the geopsy installation, I got:

ii libqt4-assistant 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 transitional package for Qt 4 assistant module
ii libqt4-core 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 transitional package for Qt 4 core non-GUI runtime libraries
ii libqt4-dbg:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 library debugging symbols
ii libqt4-dbus:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 D-Bus module
ii libqt4-dbus:i386 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 i386 Qt 4 D-Bus module
ii libqt4-declarative:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 Declarative module
ii libqt4-declarative-gestures:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 gestures QML plugin
ii libqt4-declarative-particles:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 particles QML plugin
ii libqt4-designer:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 designer module
ii libqt4-dev 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 development files
ii libqt4-dev-bin 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 development programs
ii libqt4-gui 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 transitional package for Qt 4 GUI runtime libraries
ii libqt4-help:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 help module
ii libqt4-network:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 network module
ii libqt4-network:i386 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 i386 Qt 4 network module
ii libqt4-opengl:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 OpenGL module
ii libqt4-opengl:i386 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 i386 Qt 4 OpenGL module
ii libqt4-opengl-dev 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 OpenGL library development files
ii libqt4-qt3support:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 3 compatibility library for Qt 4
ii libqt4-script:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 script module
ii libqt4-scripttools:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 script tools module
ii libqt4-sql:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 SQL module
ii libqt4-sql-ibase:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 InterBase/FireBird database driver
ii libqt4-sql-mysql:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 MySQL database driver
ii libqt4-sql-odbc:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 ODBC database driver
ii libqt4-sql-psql:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 PostgreSQL database driver
ii libqt4-sql-sqlite:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 SQLite 3 database driver
ii libqt4-sql-sqlite2:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 SQLite 2 database driver
ii libqt4-svg:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 SVG module
ii libqt4-test:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 test module
ii libqt4-webkit 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 transitional package for Qt 4 WebKit module
ii libqt4-webkit-dbg 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 transitional package for Qt 4 WebKit debugging symbols
ii libqt4-xml:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 XML module
ii libqt4-xml:i386 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 i386 Qt 4 XML module
ii libqt4-xmlpatterns:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 XML patterns module
ii libqt4-xmlpatterns:i386 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 i386 Qt 4 XML patterns module
ii libqt4-xmlpatterns-dbg:amd64 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 XML patterns library debugging symbols
ii qt4-demos 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 examples and demos
ii qt4-designer 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 graphical designer for Qt 4 applications
ii qt4-dev-tools 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 development tools
ii qt4-doc 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 all Qt 4 API documentation
ii qt4-doc-html 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 all Qt 4 API documentation (HTML format)
ii qt4-linguist-tools 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 Linguist tools
ii qt4-qmake 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 qmake Makefile generator tool
ii qt4-qtconfig 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64 Qt 4 configuration tool


Am I wrong thinking the error is with the qt4 package? do you have any advice to be able to successfully install the package?

Thanks for any advice.

efranco
Posts: 3
Joined: Tue Jun 07, 2016 2:20 pm

installation problem in Debian Jessie (Qt 5.6.0)

Postby efranco » Wed Nov 23, 2016 7:45 pm

Hi Marc,

I am trying to install Geopsy in a linux debian Jessie, 64 bits. Try with the last three different versions of Geopsy (2.8, 2.9 and 2.10) all of them break in the same part.



in the step to run 'make' it crashes and always shows me the same error (attached below), I think it must be with the qt package, when I run 'qmake -version' in tirminal I got:

QMake version 3.0
Using Qt version 5.6.0 in /home/esteban/anaconda3/lib


I don't know what may cause the problem in addition to the qt package but I know it is well installed.

Many thanks for the feedback and the help.
Attachments
Error in sub-QGpCoreTools-make first-ordered.txt
(1.63 KiB) Downloaded 186 times

admin
Site Admin
Posts: 417
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: installation problem in Debian Jessie (Qt 5.6.0)

Postby admin » Mon Dec 05, 2016 9:18 am

Hi,

You have to switch to the development release with one of the latest snapshots. The "testing" release does not support Qt 5. Only the devel does.

Marc

admin
Site Admin
Posts: 417
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: installation problem in Debian Jessie (Qt 5.6.0)

Postby admin » Mon Dec 05, 2016 9:38 am

If you want to install the "testing" release, you can temporarily redirect the current "qmake" to the qt4 equivalent.

First check that qtchooser is available:

Code: Select all

$ which qmake
/usr/bin/qmake
$ ls -l /usr/bin/qmake
lrwxrwxrwx 1 root root 9 May 15  2016 /usr/bin/qmake -> qtchooser

If so, to get the list of installed Qt releases:

Code: Select all

$qtchooser -l
qt4
qt5

Before running the ./configure from Geopsy, define QT_SELECT

Code: Select all

$ export QT_SELECT=qt5
$ /usr/bin/qmake -v
QMake version 3.0
Using Qt version 5.6.1 in /usr/lib64
$ export QT_SELECT=qt4
$ /usr/bin/qmake -v
QMake version 2.01a
Using Qt version 4.8.6 in /usr/lib64/qt4


If you do not have qtchooser, you can define a symbolic link or an alias from qmake to qmake-qt4. An re-run ./configure.


Return to “Installation”

Who is online

Users browsing this forum: No registered users and 2 guests