Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error compilation wilink in ubuntu 14.04 32bit ( NOW I USE UBUNTU 16.04 ) #8

Open
uNouss opened this issue May 2, 2016 · 3 comments

Comments

@uNouss
Copy link

uNouss commented May 2, 2016

hello, i try to compile wilink source code from github for ubuntu 14.04 32bit, but i have this error with ./release

WARNING: DESTDIR: Cannot access directory '/bin/wiLink.2'
cd wiLink/ && make -f Makefile 
make[3]: entrant dans le répertoire « /home/unouss/QT/wilink/release-linux/src/imports/wiLink »
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DHAVE_XSS -DUSE_SYSTRAY -DQXMPP_SHARED -DQT_NO_DEBUG -DQT_PLUGIN -DQT_MULTIMEDIA_LIB -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../../../../src/imports/wiLink -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4 -I../../../../src/imports/wiLink/diagnostics -I../../../../src/imports/wiLink/sound -I../../../../src/imports/wiLink/wallet -I../../../../src/3rdparty/qxmpp/src/base -I../../../../src/3rdparty/qxmpp/src/client -I../../../../src/3rdparty/qxmpp/src/server -I. -I../../../../src/imports/wiLink -I. -o interface.o ../../../../src/imports/wiLink/diagnostics/interface.cpp
../../../../src/imports/wiLink/diagnostics/interface.cpp:21:23: fatal error: QJsonObject: Aucun fichier ou dossier de ce type
 #include <QJsonObject>
                       ^
compilation terminated.
make[3]: *** [interface.o] Erreur 1
make[3]: quittant le répertoire « /home/unouss/QT/wilink/release-linux/src/imports/wiLink »
make[2]: *** [sub-wiLink-make_default] Erreur 2
make[2]: quittant le répertoire « /home/unouss/QT/wilink/release-linux/src/imports »
make[1]: *** [sub-imports-make_default-ordered] Erreur 2
make[1]: quittant le répertoire « /home/unouss/QT/wilink/release-linux/src »
make: *** [sub-src-make_default] Erreur 2

and dpkg-buildpackage return this error

dpkg-buildpackage: paquet source wilink
dpkg-buildpackage: version source 2.4.906-1
dpkg-buildpackage: distribution source unstable
dpkg-buildpackage: source changé par Jeremy Lainé <jeremy.laine@m4x.org>
dpkg-buildpackage: architecture hôte i386
 dpkg-source --before-build wilink
dpkg-checkbuilddeps : dépendances de construction non trouvées : libqxmpp-dev (>= 0.9.3)
dpkg-buildpackage: avertissement: dépendances de construction et conflits non satisfaits ; échec.
dpkg-buildpackage: avertissement: (Utilisez l'option -d pour forcer.)
@jlaine
Copy link
Owner

jlaine commented May 3, 2016

You need qt5
On 2 May 2016 8:50 a.m., "You Nouss" notifications@github.com wrote:

hello, i try to compile wilink source code from github but i have this
error

WARNING: DESTDIR: Cannot access directory '/bin/wiLink.2'
cd wiLink/ && make -f Makefile
make[3]: entrant dans le répertoire « /home/unouss/QT/wilink/release-linux/src/imports/wiLink »
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DHAVE_XSS -DUSE_SYSTRAY -DQXMPP_SHARED -DQT_NO_DEBUG -DQT_PLUGIN -DQT_MULTIMEDIA_LIB -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../../../../src/imports/wiLink -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4 -I../../../../src/imports/wiLink/diagnostics -I../../../../src/imports/wiLink/sound -I../../../../src/imports/wiLink/wallet -I../../../../src/3rdparty/qxmpp/src/base -I../../../../src/3rdparty/qxmpp/src/client -I../../../../src/3rdparty/qxmpp/src/server -I. -I../../../../src/imports/wiLink -I. -o interface.o ../../../../src/imports/wiLink/diagnostics/interface.cpp
../../../../src/imports/wiLink/diagnostics/interface.cpp:21:23: fatal error: QJsonObject: Aucun fichier ou dossier de ce type
#include
^
compilation terminated.
make[3]: *** [interface.o] Erreur 1
make[3]: quittant le répertoire « /home/unouss/QT/wilink/release-linux/src/imports/wiLink »
make[2]: *** [sub-wiLink-make_default] Erreur 2
make[2]: quittant le répertoire « /home/unouss/QT/wilink/release-linux/src/imports »
make[1]: *** [sub-imports-make_default-ordered] Erreur 2
make[1]: quittant le répertoire « /home/unouss/QT/wilink/release-linux/src »
make: *** [sub-src-make_default] Erreur 2


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#8

@uNouss
Copy link
Author

uNouss commented Sep 2, 2016

@jlaine i recently upgrade ubuntu to 16.04 LTS but i can't compile wilink
here is the output error if i try to compile:
Now i have qt5

kleptok@PC:~/Téléchargements$ git clone https://github.com/jlaine/wilink.git
Clonage dans 'wilink'...
remote: Counting objects: 49801, done.
remote: Total 49801 (delta 0), reused 0 (delta 0), pack-reused 49801
Réception d'objets: 100% (49801/49801), 11.59 MiB | 37.00 KiB/s, fait.
Résolution des deltas: 100% (39329/39329), fait.
Vérification de la connectivité... fait.
kleptok@PC:~/Téléchargements$ git submodule update --init
fatal: Not a git repository (or any of the parent directories): .git
kleptok@PC:~/Téléchargements$ cd wilink/
kleptok@PC:~/Téléchargements/wilink$ git submodule update --init
Sous-module 'src/3rdparty/qxmpp' (https://github.com/qxmpp-project/qxmpp.git) enregistré pour le chemin 'src/3rdparty/qxmpp'
Clonage dans 'src/3rdparty/qxmpp'...
fatal: unable to access 'https://github.com/qxmpp-project/qxmpp.git/': Could not resolve host: github.com
fatal: Le clonage de 'https://github.com/qxmpp-project/qxmpp.git' dans le chemin de sous-module 'src/3rdparty/qxmpp' a échoué
kleptok@PC:~/Téléchargements/wilink$ git submodule update --init
Clonage dans 'src/3rdparty/qxmpp'...
remote: Counting objects: 15065, done.
remote: Total 15065 (delta 0), reused 0 (delta 0), pack-reused 15065
Réception d'objets: 100% (15065/15065), 2.66 MiB | 44.00 KiB/s, fait.
Résolution des deltas: 100% (11588/11588), fait.
Vérification de la connectivité... fait.
Chemin de sous-module 'src/3rdparty/qxmpp' : '90b681f47c7370d23bf7cd8cdda0fe41449cc255' extrait
kleptok@PC:~/Téléchargements/wilink$ dpkg-buildpackage 
dpkg-buildpackage: paquet source wilink
dpkg-buildpackage: version source 2.4.906-1
dpkg-buildpackage: distribution source unstable
dpkg-buildpackage: source changé par Jeremy Lainé <jeremy.laine@m4x.org>
dpkg-buildpackage: architecture hôte i386
 dpkg-source --before-build wilink
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b wilink
dpkg-source: avertissement: aucun format source indiqué dans debian/source/format, voir dpkg-source(1)
dpkg-source: info: utilisation du format source « 1.0 »
dpkg-source: avertissement: répertoire source wilink n'est pas <paquet_source>-<version_amont> wilink-2.4.906
dpkg-source: info: construction de wilink dans wilink_2.4.906-1.tar.gz
dpkg-source: info: construction de wilink dans wilink_2.4.906-1.dsc
 debian/rules build
dh build
   dh_testdir
   dh_update_autotools_config
   debian/rules override_dh_auto_configure
make[1] : on entre dans le répertoire « /home/kleptok/Téléchargements/wilink »
dh_auto_configure -- WILINK_SPCTEM_QXMPP=1
    qmake -makefile -nocache QMAKE_STRIP=: PREFIX=/usr WILINK_SPCTEM_QXMPP=1
make[1] : on quitte le répertoire « /home/kleptok/Téléchargements/wilink »
   dh_auto_build
    make -j1
make[1] : on entre dans le répertoire « /home/kleptok/Téléchargements/wilink »
cd src/ && ( test -e Makefile || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/kleptok/Téléchargements/wilink/src/src.pro -nocache QMAKE_STRIP=: PREFIX=/usr WILINK_SPCTEM_QXMPP=1 -o Makefile ) && make -f Makefile 
make[2] : on entre dans le répertoire « /home/kleptok/Téléchargements/wilink/src »
cd 3rdparty/ && ( test -e Makefile || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/kleptok/Téléchargements/wilink/src/3rdparty/3rdparty.pro -nocache QMAKE_STRIP=: PREFIX=/usr WILINK_SPCTEM_QXMPP=1 -o Makefile ) && make -f Makefile 
make[3] : on entre dans le répertoire « /home/kleptok/Téléchargements/wilink/src/3rdparty »
make[3]: rien à faire pour « first ».
make[3] : on quitte le répertoire « /home/kleptok/Téléchargements/wilink/src/3rdparty »
cd imports/ && ( test -e Makefile || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/kleptok/Téléchargements/wilink/src/imports/imports.pro -nocache QMAKE_STRIP=: PREFIX=/usr WILINK_SPCTEM_QXMPP=1 -o Makefile ) && make -f Makefile 
make[3] : on entre dans le répertoire « /home/kleptok/Téléchargements/wilink/src/imports »
cd wiLink/ && ( test -e Makefile || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/kleptok/Téléchargements/wilink/src/imports/wiLink/wiLink.pro -nocache QMAKE_STRIP=: PREFIX=/usr WILINK_SPCTEM_QXMPP=1 -o Makefile ) && make -f Makefile 
Project ERROR: Unknown module(s) in QT: quick
Makefile:42 : la recette pour la cible « sub-wiLink-make_first » a échouée
make[3]: *** [sub-wiLink-make_first] Erreur 3
make[3] : on quitte le répertoire « /home/kleptok/Téléchargements/wilink/src/imports »
Makefile:87 : la recette pour la cible « sub-imports-make_first-ordered » a échouée
make[2]: *** [sub-imports-make_first-ordered] Erreur 2
make[2] : on quitte le répertoire « /home/kleptok/Téléchargements/wilink/src »
Makefile:42 : la recette pour la cible « sub-src-make_first » a échouée
make[1]: *** [sub-src-make_first] Erreur 2
make[1] : on quitte le répertoire « /home/kleptok/Téléchargements/wilink »
dh_auto_build: make -j1 returned exit code 2
debian/rules:7 : la recette pour la cible « build » a échouée
make: *** [build] Erreur 25
dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de type 2
kleptok@PC:~/Téléchargements/wilink$ 

@uNouss uNouss changed the title error compilation wilink in ubuntu 14.04 32bit error compilation wilink in ubuntu 14.04 32bit ( NOW I USE UBUNTU 16.04 ) Sep 2, 2016
@uNouss
Copy link
Author

uNouss commented Sep 3, 2016

After i install this package qtdeclarative5-dev now compilation pass without issue but if i try to launch wilink after installation i have this error

~$ wiLink 
qml: PanelSwapper creating panel WebPanel.qml {}
DummyWallet initialised
qml: PanelSwapper creating panel WebTab.qml {url: https://apps.wifirst.net, urlBar: false}

WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
WARNING: The experimental API will change from version to version, or even be removed. You have been warned!

qml: PluginLoader loading plugin ChatPlugin.qml
qml: PanelSwapper creating panel ChatPanel.qml {}
qml: PluginLoader loading plugin DiagnosticPlugin.qml
qml: PluginLoader loading plugin PhonePlugin.qml
qml: PanelSwapper creating panel PhonePanel.qml {}
qml: Phone fetching settings
qml: PluginLoader loading plugin WebPlugin.qml
Erreur de segmentation (core dumped)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants