Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <82638D1E-9737-4C23-BF3B-3FFB05620470@shinnok.com>
Date: Fri, 19 Feb 2021 20:37:05 +0200
From: Shinnok <admin@...nnok.com>
To: john-users@...ts.openwall.com
Subject: Re: Compiling Johnny on Debian Buster fails

Hi Elrippo,

I assume you're using the Qt version 4 in buster's official repos?

https://packages.debian.org/buster/qt4-default <https://packages.debian.org/buster/qt4-default>

I don't think the current version of Johnny has ever been tested with Qt 4. Are you building latest Johnny from GitHub? If yes, I suggest installing Qt 5 and using qtchooser tool to select the proper toolkit and build using the recommend steps.

https://packages.debian.org/buster/qtchooser <https://packages.debian.org/buster/qtchooser>

See the steps for Debian based distro's in the INSTALL distfile:

https://github.com/openwall/johnny/blob/master/INSTALL <https://github.com/openwall/johnny/blob/master/INSTALL>#L48

Export QT_SELECT or qtchooser is very important, if you have both Qt versions of the development SDK installed.

Hope that helps,
Shinnok

> On 13Feb, 2021, at 11:29 AM, Elrippo <elrippo@...me> wrote:
> 
> Dear all,
> 
> hopefully you can point in the right direction.
> Trying to compile Johnny on Debian Buster with errors and i do not know, how to solve this.
> 
> make -j$(nproc)
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DAPP_VERSION=\"2.2\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -I. -I. -o main.o src/main.cpp
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DAPP_VERSION=\"2.2\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -I. -I. -o mainwindow.o src/mainwindow.cpp
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DAPP_VERSION=\"2.2\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -I. -I. -o translator.o src/translator.cpp
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DAPP_VERSION=\"2.2\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -I. -I. -o johnprocess.o src/johnprocess.cpp
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DAPP_VERSION=\"2.2\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -I. -I. -o hashtypechecker.o src/hashtypechecker.cpp
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DAPP_VERSION=\"2.2\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -I. -I. -o textlabel.o src/textlabel.cpp
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DAPP_VERSION=\"2.2\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -I. -I. -o johnhandler.o src/johnhandler.cpp
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DAPP_VERSION=\"2.2\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -I. -I. -o johnattack.o src/johnattack.cpp
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DAPP_VERSION=\"2.2\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -I. -I. -o menu.o src/menu.cpp
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DAPP_VERSION=\"2.2\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -I. -I. -o tabwidget.o src/tabwidget.cpp
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DAPP_VERSION=\"2.2\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -I. -I. -o johnsession.o src/johnsession.cpp
> In file included from src/translator.cpp:8:0:
> src/translator.h:11:10: fatal error: QTranslator: Datei oder Verzeichnis nicht gefunden
> #include <QTranslator>
> ^~~~~~~~~~~~~
> compilation terminated.
> In file included from src/mainwindow.h:11:0,
> from src/main.cpp:8:
> src/johnprocess.h:11:10: fatal error: QtGlobal: Datei oder Verzeichnis nicht gefunden
> #include <QtGlobal> // to define Q_OS_
> ^~~~~~~~~~
> compilation terminated.
> In file included from src/mainwindow.h:11:0,
> from src/mainwindow.cpp:8:
> src/johnprocess.h:11:10: fatal error: QtGlobal: Datei oder Verzeichnis nicht gefunden
> #include <QtGlobal> // to define Q_OS_
> ^~~~~~~~~~
> compilation terminated.
> In file included from src/johnprocess.cpp:8:0:
> src/johnprocess.h:11:10: fatal error: QtGlobal: Datei oder Verzeichnis nicht gefunden
> #include <QtGlobal> // to define Q_OS_
> ^~~~~~~~~~
> compilation terminated.
> In file included from src/textlabel.cpp:8:0:
> src/textlabel.h:11:10: fatal error: QLabel: Datei oder Verzeichnis nicht gefunden
> #include <QLabel>
> ^~~~~~~~
> compilation terminated.
> In file included from src/johnhandler.h:11:0,
> from src/johnhandler.cpp:7:
> src/johnprocess.h:11:10: fatal error: QtGlobal: Datei oder Verzeichnis nicht gefunden
> #include <QtGlobal> // to define Q_OS_
> ^~~~~~~~~~
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DAPP_VERSION=\"2.2\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -I. -I. -o hashsortfilterproxymodel.o src/hashsortfilterproxymodel.cpp
> compilation terminated.
> make: *** [Makefile:350: main.o] Fehler 1
> make: *** Es wird auf noch nicht beendete Prozesse gewartet....
> make: *** [Makefile:366: mainwindow.o] Fehler 1
> make: *** [Makefile:369: translator.o] Fehler 1
> make: *** [Makefile:372: johnprocess.o] Fehler 1
> make: *** [Makefile:380: textlabel.o] Fehler 1
> make: *** [Makefile:384: johnhandler.o] Fehler 1
> In file included from src/johnhandler.h:11:0,
> from src/johnattack.h:11,
> from src/johnattack.cpp:8:
> src/johnprocess.h:11:10: fatal error: QtGlobal: Datei oder Verzeichnis nicht gefunden
> #include <QtGlobal> // to define Q_OS_
> ^~~~~~~~~~
> In file included from src/menu.cpp:8:0:
> src/menu.h:11:10: fatal error: QMenu: Datei oder Verzeichnis nicht gefunden
> #include <QMenu>
> ^~~~~~~
> compilation terminated.
> compilation terminated.
> In file included from src/tabwidget.cpp:8:0:
> src/tabwidget.h:11:10: fatal error: QTabWidget: Datei oder Verzeichnis nicht gefunden
> #include <QTabWidget>
> ^~~~~~~~~~~~
> compilation terminated.
> In file included from src/johnhandler.h:11:0,
> from src/hashtypechecker.h:11,
> from src/hashtypechecker.cpp:8:
> src/johnprocess.h:11:10: fatal error: QtGlobal: Datei oder Verzeichnis nicht gefunden
> #include <QtGlobal> // to define Q_OS_
> ^~~~~~~~~~
> compilation terminated.
> make: *** [Makefile:392: menu.o] Fehler 1
> make: *** [Makefile:389: johnattack.o] Fehler 1
> In file included from src/hashsortfilterproxymodel.cpp:8:0:
> src/hashsortfilterproxymodel.h:11:10: fatal error: QSortFilterProxyModel: Datei oder Verzeichnis nicht gefunden
> #include <QSortFilterProxyModel>
> ^~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make: *** [Makefile:377: hashtypechecker.o] Fehler 1
> In file included from src/johnsession.cpp:8:0:
> src/johnsession.h:11:10: fatal error: QString: Datei oder Verzeichnis nicht gefunden
> #include <QString>
> ^~~~~~~~~
> compilation terminated.
> make: *** [Makefile:395: tabwidget.o] Fehler 1
> make: *** [Makefile:405: hashsortfilterproxymodel.o] Fehler 1
> make: *** [Makefile:398: johnsession.o] Fehler 1
> 
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> 
> mQENBFqs/74BCACq2DIcTrnXhSQL7ndUnp0pU19mrqUhZN2p6Tjadgq5aRIQITVb
> 
> oDCZokSQYt1ERGgi53V3dVY3+5AHmYIGew7+868hE413hI0S509ooDLbbyaPAmKA
> 
> 8ZL2YBdCeZfpytds3w6MQd1giFi4S5qIyZKxLJLC27NOXa648ijleWiziU0/r5q5
> 
> 72w/ZW8JuZXEr5yJ94iNVqN96i/cdugSgbHhoW5qa9b6GsgjL7QVZk86dfQpU7fy
> 
> wpCIVj2DOXBswm8F32gwPZIUEVRSGlQx2KvjiHT3N47/WHkKM3jXQvavN4nh0TK7
> 
> Ph3LAaNgMenEsin6KWVxCaMQF6Df1lvu/9QzABEBAAG0HWVscmlwcG9AcG0ubWUg
> 
> PGVscmlwcG9A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+1L1hYl5
> 
> r2uxwsLXJWhNLZdQHDb1v+IdIQB5yHRG7nMuU1KK95ZyIXg6g3eN2k6lCLsfyR5s
> 
> Rml8Y/TMdp8Quf6suvB18PsGJz8Y6deJs6sg0yXqkQ4ZE51aF9ApvqbI95cCOeTm
> 
> Gm4A25orGfoU3hBsFi6ZKkrPiMfBcqc6og==
> 
> =fClJ
> 
> -----END PGP PUBLIC KEY BLOCK-----


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.