Oui mais quand il est dit dans votre windows …
il faut traduire peut être dans votre fenêtre de l’OS que l’on a (Linux, OS d’un MAC ou Windows de Microsoft)
Avec NOGUI=0
ça peut le faire?
qui veut dire : si vous voulez la version GUI omettez simplement le NOGUI = 1 Option
Donc, il faut que je relance à partir du code make sans NOGUI=1?
je dirai oui mais sans ceinture ni bretelles
C’est chaud …
j’ai donc exécuté dans /src
le make avec sudo sans NOGUI=1
:
pi@raspberrypi ~/src $ sudo make WX_ROOT=/home/pi//wxWidgets-3.0.2/ wxbuild
Configuring wxWidgets library...
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gthread-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gthread-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gthread-2.0' found
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
Package gthread-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gthread-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gthread-2.0' found
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.
Makefile:311: recipe for target 'wxbuild' failed
make: *** [wxbuild] Error 1
pi@raspberrypi ~/src $
et je suis tombé sur un package manquant : que faire?
je viens de voir que j’ai fait une faute de frappe dans le sudo make
eh ben non …j’ai la meme chose :
pi@raspberrypi ~/src $ sudo make WX_ROOT=/home/pi/wxWidgets-3.0.2/ wxbuild
Configuring wxWidgets library...
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gthread-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gthread-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gthread-2.0' found
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
Package gthread-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gthread-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gthread-2.0' found
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.
Makefile:311: recipe for target 'wxbuild' failed
make: *** [wxbuild] Error 1
pi@raspberrypi ~/src $
je suis en train d’installer :
sudo apt-get install gtk+2.0
Bravo!..
C’est ça l’esprit sous Linux!..
… On ne peut que applaudir
Allez!.. on va encore t’aider un peu. Que te dit-il ton message d’erreur à la compile? :
No package 'gtk+-2.0' found
Tu es en train de l’installer mais je doute que ça ait marché. En effet, quand je fais un tour dans les dépots je ne trouve pas de paquet « gtk+2.0 » du moins pour « jessie » 64bits
Sous « debian », il y a une commande fort utile qui permet de rechercher une expression dans les paquets connus de la distributions et que l’on se doit de connaitre lorsqu’on fait ce que tu es en train de faire: « apt-cache search ».
apt-cache search gtk+2.0
répond sous debian « jessie »:
libgdk-pixbuf2.0-doc - GDK Pixbuf library (documentation)
gtk2.0-examples - example files for GTK+ 2.0
libgtk2.0-cil-dev - CLI binding for the GTK+ toolkit 2.12
monodoc-gtk2.0-manual - compiled XML documentation for GTK# 2.10
gtk2-engines-xfce - GTK+-2.0 theme engine for Xfce
libgwengui-gtk2-0 - Gwenhywfar GUI implementation for GTK2
librccgtk2-0 - Library for autoconvert codepages GTK2 interface
uim-gtk2.0 - Universal Input Method - GTK+2.x front end
libgtk2.0-0 - bibliothèque d'interface graphique utilisateur GTK+
libgtk2.0-0-dbg - Bibliothèques GTK+ et symboles de débogage
libgtk2.0-bin - programmes pour la bibliothèque d'interface graphique GTK+
libgtk2.0-cil - points d'entrées CLI pour la boîte à outils GTK+ 2.12
libgtk2.0-common - fichiers communs pour la bibliothèque d'interface graphique GTK+
libgtk2.0-dev - Fichiers de développement pour la bibliothèque GTK+
libgtk2.0-doc - Documentation pour la bibliothèque d'interface graphique utilisateur GTK+
On voit que dans la liste, il y a un « libgtk2.0-0 ». Donc, il y a de grandes chances pour que ce soit celui-là qu’il te faut.
Donc moi, j’opterai pour un petit
sudo apt-get install libgtk2.0-0
puis on relance la compile et on recommence pour l’erreur suivante jusqu’à ce que tout baigne!.. je sais c’est dur!.. mais on est tous passé par là… et c’est parce que il y a des gens qui font ce que tu es en train de faire que Debian a maintenant dans ses dépots un nombre conséquents de logiciels
Attention toutefois à ne pas casser ton système: je te suggère de marquer sur un papier ce que tu fais au fur et à mesure pour pouvoir revenir en arrière.
désolé mais ce qui suit à fonctionner :
pi@raspberrypi ~/src $ sudo apt-get install gtk+2.0
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
...
avec des km et des km de lignes pour finir par
....
Paramétrage de libmono-system-xml-linq4.0-cil (3.2.8+dfsg-10) ...
Paramétrage de libwebkit1.1-cil (0.3-6) ...
* Installing 1 assembly from libwebkit1.1-cil into Mono
Paramétrage de monodoc-base (3.2.8+dfsg-10) ...
Paramétrage de libmono-system-web4.0-cil (3.2.8+dfsg-10) ...
Paramétrage de monodoc-browser (3.10-1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.19-18+deb8u2) ...
Traitement des actions différées (« triggers ») pour dictionaries-common (1.23.17) ...
Traitement des actions différées (« triggers ») pour systemd (215-17+deb8u3) ...
Traitement des actions différées (« triggers ») pour dbus (1.8.20-0+deb8u1) ...
pi@raspberrypi ~/src $
et j’ai continué le tuto par :
pi@raspberrypi ~/src $ sudo make WX_ROOT=/home/pi/wxWidgets-3.0.2/ wxbuild
qui se déroule
merci pour le code apt-cache
… que je ne connaissais pas…
à vrai dire, je me posais la question comment vous faisiez tous pour savoir qu’il fallait installer tel paquet…
Si je casse mon système, je n’ai pas de filet de sécurité, je serai bon pour formater ma carte micro SD de mon raspberry pi2 sur un PC
et d’installer NOOBS et par conséquent debian ou raspbian sur ma nouvelle micro SD…
Le code est passé :
pi@raspberrypi ~/src $ sudo make WX_ROOT=/home/pi/wxWidgets-3.0.2/ wxbuild
Configuring wxWidgets library...
configure: WARNING: OpenGL libraries not available, disabling support for OpenGL
Building wxWidgets library...
/home/pi/wxWidgets-3.0.2/src/gtk/app.cpp: In member function ‘virtual bool wxApp::Initialize(int&, wxChar**)’:
/home/pi/wxWidgets-3.0.2/src/gtk/app.cpp:293:9: warning: ‘void g_thread_init(gpointer)’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:265) [-Wdeprecated-declarations]
g_thread_init(NULL);
^
/home/pi/wxWidgets-3.0.2/src/gtk/app.cpp:293:27: warning: ‘void g_thread_init(gpointer)’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:265) [-Wdeprecated-declarations]
g_thread_init(NULL);
^
/home/pi/wxWidgets-3.0.2/src/gtk/listbox.cpp:72:67: warning: unused parameter ‘listbox’ [-Wunused-parameter]
GetEntry(GtkListStore *store, GtkTreeIter *iter, const wxListBox *listbox)
^
/home/pi/wxWidgets-3.0.2/src/common/bmpbase.cpp:54:54: warning: unused parameter ‘data’ [-Wunused-parameter]
wxBitmap wxBitmapHelpers::NewFromPNGData(const void* data, size_t size)
^
/home/pi/wxWidgets-3.0.2/src/common/bmpbase.cpp:54:67: warning: unused parameter ‘size’ [-Wunused-parameter]
wxBitmap wxBitmapHelpers::NewFromPNGData(const void* data, size_t size)
^
/home/pi/wxWidgets-3.0.2/src/common/quantize.cpp: In static member function ‘static bool wxQuantize::Quantize(const wxImage&, wxImage&, wxPalette**, int, unsigned char**, int)’:
/home/pi/wxWidgets-3.0.2/src/common/quantize.cpp:1509:9: warning: variable ‘paletteShift’ set but not used [-Wunused-but-set-variable]
int paletteShift = 0;
^
/home/pi/wxWidgets-3.0.2/src/ribbon/buttonbar.cpp: In member function ‘void wxRibbonButtonBar::OnMouseMove(wxMouseEvent&)’:
/home/pi/wxWidgets-3.0.2/src/ribbon/buttonbar.cpp:992:38: warning: variable ‘tooltipButton’ set but not used [-Wunused-but-set-variable]
wxRibbonButtonBarButtonInstance* tooltipButton = NULL;
^
pi@raspberrypi ~/src $
je continu le tuto par :
pi@raspberrypi ~/src $ sudo make WXSTATIC=1
pi@raspberrypi ~/src $ sudo make WXSTATIC=1
Converting Textual_logo_96dpi.bmp
Converting VeraCrypt_Wizard.bmp
Converting Drive_icon_96dpi.bmp
Converting Drive_icon_mask_96dpi.bmp
Converting Logo_96dpi.bmp
Compiling Resources.cpp
Compiling FatalErrorHandler.cpp
Compiling GraphicUserInterface.cpp
GraphicUserInterface.cpp: In member function ‘virtual void VeraCrypt::GraphicUserInterface::RestoreVolumeHeaders(VeraCrypt::SharedPtr<VeraCrypt::VolumePath>) const’:
GraphicUserInterface.cpp:1363:11: warning: variable ‘headerSize’ set but not used [-Wunused-but-set-variable]
uint64 headerSize;
^
Compiling VolumeHistory.cpp
Compiling AboutDialog.cpp
Compiling BenchmarkDialog.cpp
Compiling ChangePasswordDialog.cpp
Compiling DeviceSelectionDialog.cpp
Compiling EncryptionOptionsWizardPage.cpp
Compiling EncryptionTestDialog.cpp
Compiling FavoriteVolumesDialog.cpp
Compiling Forms.cpp
Compiling InfoWizardPage.cpp
Compiling KeyfileGeneratorDialog.cpp
Compiling KeyfilesDialog.cpp
Compiling KeyfilesPanel.cpp
Compiling LegalNoticesDialog.cpp
Compiling MainFrame.cpp
Compiling MountOptionsDialog.cpp
Compiling NewSecurityTokenKeyfileDialog.cpp
Compiling PreferencesDialog.cpp
Compiling ProgressWizardPage.cpp
Compiling RandomPoolEnrichmentDialog.cpp
Compiling SecurityTokenKeyfilesDialog.cpp
Compiling SelectDirectoryWizardPage.cpp
Compiling VolumePasswordPanel.cpp
Compiling VolumePropertiesDialog.cpp
Compiling VolumeCreationProgressWizardPage.cpp
Compiling VolumeCreationWizard.cpp
Compiling VolumeFormatOptionsWizardPage.cpp
Compiling VolumeLocationWizardPage.cpp
Compiling VolumePasswordWizardPage.cpp
Compiling VolumeSizeWizardPage.cpp
Compiling WaitDialog.cpp
Compiling WizardFrame.cpp
Linking veracrypt
Header is 498 lines long
About to compress 3816 KB of data...
Adding files to archive named "/home/pi/src/Setup/Linux/veracrypt-1.0f-1-setup-gui-unknown"...
./
./veracrypt_install_gui_unknown.sh
CRC: 962840274
MD5: 5e3d34f100e10ba5e2a4ff35ba9c6542
Self-extractable archive "/home/pi/src/Setup/Linux/veracrypt-1.0f-1-setup-gui-unknown" successfully created.
pi@raspberrypi ~/src $
Le code ci-dessus s’est bien déroulé après quelques minutes.
Je continu le tuto par :
pi@raspberrypi ~/src $ cd Setup/Linux
pi@raspberrypi ~/src/Setup/Linux $ ./veracrypt-1.0f-1-setup-console-unknown
Verifying archive integrity... All good.
Uncompressing VeraCrypt 1.0f-1 Installer 100%
Après tout ceci, le lancement de VERACRYPT par le menu accessoires ne s’éffectue pas : la souris mouline 10s puis rien ne se passe.
Et j’ai tjrs la main sur le Raspberry.
Apparemment, cela ne fonctionne pas
Si tu as un menu, il doit y avoir un fichier veracrypt.deskop
Il faut voir quelle est la commande qui est dedans
sudo locate veracrypt
apparemment, il n’existe pas :
pi@raspberrypi ~/src/Setup/Linux $ sudo locate veracrypt
sudo: locate: command not found
pi@raspberrypi ~/src/Setup/Linux $
Il faut installer locate …
# apt-get update
# apt-get install locate
Pour pouvoir utiliser locate
# updatedb
Pour ton problème as-tu déjà installé build-essential ?