joshterrill / gpg2-larger-than-4096 Goto Github PK
View Code? Open in Web Editor NEWeverything you need to install gnupg and create keys larger than 4096 bits
everything you need to install gnupg and create keys larger than 4096 bits
Hi there,
I solved n/a problem but this time i am getting this error. I think this is related with speedo.mk
root@kali:~/Downloads/gpg2-larger-than-4096-master/gnupg-2.1.8# make -f build-aux/speedo.mk native INSTALL_PREFIX=/usr/local
make -f /root/Downloads/gpg2-larger-than-4096-master/gnupg-2.1.8/build-aux/speedo.mk UPD_SWDB=1 TARGETOS=native WHAT=release WITH_GUI=0 all
make[1]: Entering directory '/root/Downloads/gpg2-larger-than-4096-master/gnupg-2.1.8'
gpgv: Signature made Tue 18 Dec 2018 09:50:45 AM +03 using RSA key ID 4F25E3B6
gpgv: Good signature from "Werner Koch (dist sig)"
Information from the version database
GnuPG ..........: (building 2.1.8)
Libgpg-error ...: 1.33
Npth ...........: 1.6
Libgcrypt ......: 1.8.4
Libassuan ......: 2.5.2
Zlib ...........: 1.2.8
Bzip2 ..........: 1.0.6-g10
ADNS ...........: 1.4-g10-7
GPGME ..........: 1.12.0
Pinentry .......: 1.1.0
GPA ............: 0.10.0
GpgEX.... ......: 1.0.6
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/root/Downloads/gpg2-larger-than-4096-master/gnupg-2.1.8'
Hi there,
Hope you are fine. I am getting this error when i try to enter make -f build-aux/speedo.mk native command
root@kali:~/Downloads/gnupg-2.1.8# make -f build-aux/speedo.mk native make -f /root/Downloads/gnupg-2.1.8/build-aux/speedo.mk UPD_SWDB=1 TARGETOS=native WHAT=release WITH_GUI=0 all make[1]: Entering directory '/root/Downloads/gnupg-2.1.8' gpgv: Signature made Tue 18 Dec 2018 09:50:45 AM +03 using RSA key ID 4F25E3B6 gpgv: Good signature from "Werner Koch (dist sig)" GnuPG 2.1 version missing in swdb.lst! /root/Downloads/gnupg-2.1.8/build-aux/speedo.mk:246: *** Error getting GnuPG software version database. Stop. make[1]: Leaving directory '/root/Downloads/gnupg-2.1.8' make: *** [build-aux/speedo.mk:70: native] Error 2
Can you help me?
EDIT: I realized 2.1 version is missing in swdb.lst file about below error.
GnuPG 2.1 version missing in swdb.lst!
/root/Downloads/gnupg-2.1.8/build-aux/speedo.mk:246: *** Error getting GnuPG software version database. Stop.
EDIT2: I changed SELFCHECK from 1 to 0 and tried with this way. But this time i got this error.
speedo: unpacking libgcrypt from ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.8.4.tar.bz2
speedo: configuring libgcrypt
configure: error: libgpg-error is needed.
See ftp://ftp.gnupg.org/gcrypt/libgpg-error/ .
make[1]: *** [/root/Downloads/gnupg-2.1.8/build-aux/speedo.mk:1027: /root/Downloads/gnupg-2.1.8/PLAY/stamps/stamp-libgcrypt-01-configure] Error 1
make[1]: Leaving directory '/root/Downloads/gnupg-2.1.8'
make: *** [build-aux/speedo.mk:70: native] Error 2
EDIT3: I installed libgpg-error by apt-get install libgpg-error0 libgpg-error-dev and tried again. This time i got this error.
speedo: unpacking gpgme from ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.12.0.tar.bz2
speedo: configuring gpgme
configure: WARNING: unrecognized options: --disable-w32-qt
Package Qt5Core was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Core.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Core' found
configure: WARNING:
***
*** Qt5 (Qt5Core) not found Qt Binding will be disabled.
***
configure: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***
make[1]: *** [/root/Downloads/gnupg-2.1.8/build-aux/speedo.mk:1027: /root/Downloads/gnupg-2.1.8/PLAY/stamps/stamp-gpgme-01-configure] Error 1
make[1]: Leaving directory '/root/Downloads/gnupg-2.1.8'
make: *** [build-aux/speedo.mk:70: native] Error 2
EDIT4: I installed Qt5 by apt-get install qt5-default command and tried again. This time i got this error.
GPA ............: 0.10.0
GpgEX.... ......: 1.0.6
speedo: configuring gpgme
mkdir: cannot create directory ‘/root/Downloads/gnupg-2.1.8/PLAY/build/gpgme’: File exists
configure: WARNING: unrecognized options: --disable-w32-qt
configure: WARNING: Doxygen not found - Qt binding doc will not be built.
configure: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***
make[1]: *** [/root/Downloads/gnupg-2.1.8/build-aux/speedo.mk:1027: /root/Downloads/gnupg-2.1.8/PLAY/stamps/stamp-gpgme-01-configure] Error 1
make[1]: Leaving directory '/root/Downloads/gnupg-2.1.8'
make: *** [build-aux/speedo.mk:70: native] Error 2
EDIT5: I installed Doxygen by apt-get install doxygen and this time i got this error. Doxygen requirement is gone but unrecognized option is still available.
GpgEX.... ......: 1.0.6
speedo: configuring gpgme
mkdir: cannot create directory ‘/root/Downloads/gnupg-2.1.8/PLAY/build/gpgme’: File exists
configure: WARNING: unrecognized options: --disable-w32-qt
configure: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***
make[1]: *** [/root/Downloads/gnupg-2.1.8/build-aux/speedo.mk:1027: /root/Downloads/gnupg-2.1.8/PLAY/stamps/stamp-gpgme-01-configure] Error 1
make[1]: Leaving directory '/root/Downloads/gnupg-2.1.8'
make: *** [build-aux/speedo.mk:70: native] Error 2
EDIT6: I installed doxygen-gui by apt-get install doxygen-gui and that "Required libraries not found" error is gone.
GpgEX.... ......: 1.0.6
speedo: configuring gpgme
mkdir: cannot create directory ‘/root/Downloads/gnupg-2.1.8/PLAY/build/gpgme’: File exists
configure: WARNING: unrecognized options: --disable-w32-qt
^Cmake[1]: *** [/root/Downloads/gnupg-2.1.8/build-aux/speedo.mk:1027: /root/Downloads/gnupg-2.1.8/PLAY/stamps/stamp-gpgme-01-configure] Interrupt
make: *** [build-aux/speedo.mk:70: native] Interrupt
EDIT7: I found this page and realized there is no "disable-w32-qt" command and also saw there is only "disable-qt" available and changed "disable-w32-qt" lines (446-451) with "disable-qt" commands. This time i got this error. Also i realized there is already 2 "disable-qt" entries in 576 and 582.
GpgEX.... ......: 1.0.6
speedo: configuring gpgme
mkdir: cannot create directory ‘/root/Downloads/gnupg-2.1.8/PLAY/build/gpgme’: File exists
configure: WARNING: unrecognized options: --disable-qt
^Cmake[1]: *** [/root/Downloads/gnupg-2.1.8/build-aux/speedo.mk:1027: /root/Downloads/gnupg-2.1.8/PLAY/stamps/stamp-gpgme-01-configure] Interrupt
make: *** [build-aux/speedo.mk:70: native] Interrupt
EDIT8: I thought "Required libraries" error gone but it is still here. I deleted (I DEFINITELY DON'T WANT TO COMPILE WITH THIS BECAUSE I AM NOT SURE BUT IT CAN FAIL WHEN GENERATE KEYS WITHOUT THIS OPTION. FOR THIS REASON I WANT TO SOLVE THIS) "disable-w32-qt" commands from "speedo.mk" and tried. I got still this error. I couldn't understand which library is missing, there is no notification.
root@kali:~/Downloads/gnupg-2.1.8# make -f build-aux/speedo.mk native INSTALL_PREFIX=/usr/local
make -f /root/Downloads/gnupg-2.1.8/build-aux/speedo.mk UPD_SWDB=1 TARGETOS=native WHAT=release WITH_GUI=0 all
make[1]: Entering directory '/root/Downloads/gnupg-2.1.8'
gpgv: Signature made Tue 18 Dec 2018 09:50:45 AM +03 using RSA key ID 4F25E3B6
gpgv: Good signature from "Werner Koch (dist sig)"
Information from the version database
GnuPG ..........: (building 2.1.8)
Libgpg-error ...: 1.33
Npth ...........: 1.6
Libgcrypt ......: 1.8.4
Libassuan ......: 2.5.2
Zlib ...........: 1.2.8
Bzip2 ..........: 1.0.6-g10
ADNS ...........: 1.4-g10-7
GPGME ..........: 1.12.0
Pinentry .......: 1.1.0
GPA ............: 0.10.0
GpgEX.... ......: 1.0.6
speedo: configuring gpgme
mkdir: cannot create directory ‘/root/Downloads/gnupg-2.1.8/PLAY/build/gpgme’: File exists
configure: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***
make[1]: *** [/root/Downloads/gnupg-2.1.8/build-aux/speedo.mk:1027: /root/Downloads/gnupg-2.1.8/PLAY/stamps/stamp-gpgme-01-configure] Error 1
make[1]: Leaving directory '/root/Downloads/gnupg-2.1.8'
make: *** [build-aux/speedo.mk:70: native] Error 2
EDIT9: I checked all required libraries from here and here. All of them are installed and rebooted. No luck, same error.
EDIT10: I found these logs from /root/Downloads/gnupg-2.1.8/PLAY/build/gnupg/config.log file.
configure:8060: WARNING:
***
*** The config script /usr/bin/gpg-error-config was
*** built for x86_64-pc-linux-gnu and thus may not match the
*** used host x86_64-unknown-linux-gnu.
*** You may want to use the configure option --with-gpg-error-prefix
*** to specify a matching config script or use $SYSROOT.
***
configure:8122: checking for libgcrypt-config
configure:8153: result: /usr/local/bin/libgcrypt-config
configure:8170: checking for LIBGCRYPT - version >= 1.6.0
configure:8204: result: yes (1.8.4)
configure:8216: checking LIBGCRYPT API version
configure:8219: result: okay
configure:8243: WARNING:
***
*** The config script /usr/local/bin/libgcrypt-config was
*** built for x86_64-pc-linux-gnu and thus may not match the
*** used host x86_64-unknown-linux-gnu.
*** You may want to use the configure option --with-libgcrypt-prefix
*** to specify a matching config script or use $SYSROOT.
***
And solved all of them except below (i am getting this error if i change name of the build folder in /root/Downloads/gnupg-2.1.8/PLAY/, why i am changing because i want to see the error. If i don't change name of that folder there is no error messages, just i can see "Required libraries not found" message below)
/bin/sh: 1: cd: can't cd to /root/Downloads/gnupg-2.1.8/PLAY/build/gpgme
configure: WARNING:
***
*** The config script /usr/bin/libassuan-config was
*** built for x86_64-pc-linux-gnu and thus may not match the
*** used host x86_64-unknown-linux-gnu.
*** You may want to use the configure option --with-libassuan-prefix
*** to specify a matching config script.
***
configure: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***
make[1]: *** [/root/Downloads/gnupg-2.1.8/build-aux/speedo.mk:1027: /root/Downloads/gnupg-2.1.8/PLAY/stamps/stamp-gpgme-01-configure] Error 1
make[1]: Leaving directory '/root/Downloads/gnupg-2.1.8'
make: *** [build-aux/speedo.mk:70: native] Error 2
I tried configure with "--with-libassuan-prefix" but i got this error.
configure: WARNING: unrecognized options: --with-libassuan-prefix
I stucked here. I will freak out and i had a headache because of this. Please help..
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.