Installing Agypten-Project - Error during compilation

mailing-list at gmx.net mailing-list at gmx.net
Mon Feb 9 12:45:31 CET 2004


Hello!

I made every as it is said at http://kmail.kde.org/kmail-pgpmime-howto.html

There are always Errors during the compilation of newpg and pinentry!

During ./configure there aren't any errors ?

Does anyone have an idea ?

cd newpg-0.9.4 && ./configure && make && make check && su -c "make install"

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for libgcrypt-config... /usr/local/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.1.8... yes
checking for ksba-config... /usr/local/bin/ksba-config
checking for KSBA - version >= 0.4.6... yes
checking for opensc-config... no
checking for OpenSC - version >= 0.7.0... no
checking for pth-config... no
configure: WARNING:
***
*** To support concurrent access to the gpg-agent and the SCdaemon
*** we need the support of the GNU Portable Threads Library.
*** Download it from ftp://ftp.gnu.org/gnu/pth/
*** On a Debian GNU/Linux system you might want to try
***   apt-get install libpth-dev
***
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for strerror in -lcposix... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft,
char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for GNU gettext in libc... yes
checking for dcgettext... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for bison... bison
checking version of bison... 1.35, ok
checking for catalogs to be installed...  de
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for locale.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for size_t... (cached) yes
checking return type of signal handlers... void
checking whether sys_siglist is declared... no
checking for byte typedef... no
checking for ushort typedef... yes
checking for ulong typedef... yes
checking for SO_PEERCRED... yes
checking for memicmp... no
checking for stpcpy... (cached) yes
checking for strlwr... no
checking for strtoul... (cached) yes
checking for memmove... yes
checking for stricmp... no
checking for strtol... yes
checking for getrusage... yes
checking for setrlimit... yes
checking for stat... yes
checking for setlocale... (cached) yes
checking for flockfile... yes
checking for funlockfile... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for vasprintf... yes
checking for fopencookie... yes
checking for mkdtemp... yes
checking for fseeko... yes
checking for ftello... yes
checking for isascii... yes
checking for putc_unlocked... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating jnlib/Makefile
config.status: creating assuan/Makefile
config.status: creating common/Makefile
config.status: creating kbx/Makefile
config.status: creating sm/Makefile
config.status: creating agent/Makefile
config.status: creating scd/Makefile
config.status: creating doc/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

        NewPG v0.9.4 has been configured as follows:

        OpenPGP:   no
        S/MIME:    yes
        Agent:     yes (not multi-threaded)
        Smartcard: no

        Protect tool:     /usr/local/lib/newpg/gpg-protect-tool
        Default agent:    /usr/local/bin/gpg-agent
        Default pinentry: /usr/local/bin/pinentry
        Default scdaemon: /usr/local/bin/scdaemon
        Default dirmngr:  /usr/local/bin/dirmngr

make  all-recursive
make[1]: Entering directory `/mnt/downloads/Agypten/newpg-0.9.4'
Making all in intl
make[2]: Entering directory `/mnt/downloads/Agypten/newpg-0.9.4/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/downloads/Agypten/newpg-0.9.4/intl'
Making all in jnlib
make[2]: Entering directory `/mnt/downloads/Agypten/newpg-0.9.4/jnlib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/downloads/Agypten/newpg-0.9.4/jnlib'
Making all in assuan
make[2]: Entering directory `/mnt/downloads/Agypten/newpg-0.9.4/assuan'
make  all-am
make[3]: Entering directory `/mnt/downloads/Agypten/newpg-0.9.4/assuan'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/mnt/downloads/Agypten/newpg-0.9.4/assuan'
make[2]: Leaving directory `/mnt/downloads/Agypten/newpg-0.9.4/assuan'
Making all in common
make[2]: Entering directory `/mnt/downloads/Agypten/newpg-0.9.4/common'
make  all-am
make[3]: Entering directory `/mnt/downloads/Agypten/newpg-0.9.4/common'
source='maperror.c' object='maperror.o' libtool=no \
depfile='.deps/maperror.Po' tmpdepfile='.deps/maperror.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include  -I/usr/local/include
-I/usr/local/include   -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes
-c `test -f 'maperror.c' || echo './'`maperror.c
maperror.c: In function `map_ksba_err':
maperror.c:46: `KSBA_Out_Of_Core' undeclared (first use in this function)
maperror.c:46: (Each undeclared identifier is reported only once
maperror.c:46: for each function it appears in.)
maperror.c:47: `KSBA_Invalid_Value' undeclared (first use in this function)
maperror.c:48: `KSBA_Not_Implemented' undeclared (first use in this function)
maperror.c:49: `KSBA_Conflict' undeclared (first use in this function)
maperror.c:50: `KSBA_Read_Error' undeclared (first use in this function)
maperror.c:51: `KSBA_Write_Error' undeclared (first use in this function)
maperror.c:52: `KSBA_No_Data' undeclared (first use in this function)
maperror.c:53: `KSBA_Bug' undeclared (first use in this function)
maperror.c:54: `KSBA_Unsupported_Algorithm' undeclared (first use in this
function)
maperror.c:55: `KSBA_Invalid_Index' undeclared (first use in this function)
maperror.c:56: `KSBA_Invalid_Sexp' undeclared (first use in this function)
maperror.c:57: `KSBA_Unknown_Sexp' undeclared (first use in this function)
maperror.c: In function `map_gcry_err':
maperror.c:72: `GCRYERR_EOF' undeclared (first use in this function)
maperror.c:80: `GCRYERR_WRONG_PK_ALGO' undeclared (first use in this
 function) maperror.c:81: `GCRYERR_INV_PK_ALGO' undeclared (first use in this
 function) maperror.c:82: `GCRYERR_INV_MD_ALGO' undeclared (first use in this
 function) maperror.c:83: `GCRYERR_INV_CIPHER_ALGO' undeclared (first use in
 this function)
maperror.c:86: `GCRYERR_INV_KEYLEN' undeclared (first use in this function)
maperror.c:87: `GCRYERR_WEAK_KEY' undeclared (first use in this function)
maperror.c:88: `GCRYERR_BAD_PUBLIC_KEY' undeclared (first use in this
function)
maperror.c:89: `GCRYERR_BAD_SECRET_KEY' undeclared (first use in this
function)
maperror.c:90: `GCRYERR_BAD_SIGNATURE' undeclared (first use in this
 function) maperror.c:92: `GCRYERR_BAD_MPI' undeclared (first use in this
 function) maperror.c:96: `GCRYERR_INV_ARG' undeclared (first use in this
 function) maperror.c:97: `GCRYERR_INV_OP' undeclared (first use in this
 function) maperror.c:98: `GCRYERR_INTERNAL' undeclared (first use in this
 function) maperror.c:99: `GCRYERR_INV_CIPHER_MODE' undeclared (first use in
 this function)
maperror.c:103: `GCRYERR_SELFTEST' undeclared (first use in this function)
maperror.c:107: `GCRYERR_SEXP_INV_LEN_SPEC' undeclared (first use in this
function)
maperror.c:108: `GCRYERR_SEXP_STRING_TOO_LONG' undeclared (first use in this
function)
maperror.c:109: `GCRYERR_SEXP_UNMATCHED_PAREN' undeclared (first use in this
function)
maperror.c:110: `GCRYERR_SEXP_NOT_CANONICAL' undeclared (first use in this
function)
maperror.c:111: `GCRYERR_SEXP_BAD_CHARACTER' undeclared (first use in this
function)
maperror.c:112: `GCRYERR_SEXP_BAD_QUOTATION' undeclared (first use in this
function)
maperror.c:113: `GCRYERR_SEXP_ZERO_PREFIX' undeclared (first use in this
function)
maperror.c:114: `GCRYERR_SEXP_NESTED_DH' undeclared (first use in this
function)
maperror.c:115: `GCRYERR_SEXP_UNMATCHED_DH' undeclared (first use in this
function)
maperror.c:116: `GCRYERR_SEXP_UNEXPECTED_PUNC' undeclared (first use in this
function)
maperror.c:117: `GCRYERR_SEXP_BAD_HEX_CHAR' undeclared (first use in this
function)
maperror.c:118: `GCRYERR_SEXP_ODD_HEX_NUMBERS' undeclared (first use in this
function)
maperror.c:119: `GCRYERR_SEXP_BAD_OCT_CHAR' undeclared (first use in this
function)
maperror.c:123: `GCRYERR_NO_MEM' undeclared (first use in this function)
maperror.c:125: `GCRYERR_NOT_IMPL' undeclared (first use in this function)
maperror.c:126: `GCRYERR_CONFLICT' undeclared (first use in this function)
maperror.c:128: `GCRYERR_INV_OBJ' undeclared (first use in this function)
maperror.c:129: `GCRYERR_TOO_SHORT' undeclared (first use in this function)
maperror.c:130: `GCRYERR_TOO_LARGE' undeclared (first use in this function)
maperror.c:131: `GCRYERR_NO_OBJ' undeclared (first use in this function)
make[3]: *** [maperror.o] Error 1
make[3]: Leaving directory `/mnt/downloads/Agypten/newpg-0.9.4/common'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/downloads/Agypten/newpg-0.9.4/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/downloads/Agypten/newpg-0.9.4'
make: *** [all] Error 2

cd pinentry-0.7.0 && ./configure --disable-pinentry-gtk
--disable-pinentry-curses --disable-fallback-curses && make && su -c "make
install"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for seteuid... yes
checking for stpcpy... yes
checking for mmap... yes
checking for mlock... yes
checking whether mlock is broken... no
checking for fopencookie... yes
checking for byte typedef... no
checking for ulong typedef... yes
checking for setcap... :
checking for cap_set_proc in -lcap... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pthread_create in -lpthread... yes
checking for Qt... libraries /usr/lib/qt-3.1/lib, headers
/usr/lib/qt-3.1/include using -mt
checking if Qt compiles without flags... no
checking for moc... /usr/lib/qt-3.1/bin/moc
checking for rpath... yes
configure: creating ./config.status
config.status: creating assuan/Makefile
config.status: creating secmem/Makefile
config.status: creating pinentry/Makefile
config.status: creating curses/Makefile
config.status: creating gtk/Makefile
config.status: creating qt/Makefile
config.status: creating doc/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure:
        Pinentry v0.7.0 has been configured as follows:

        Curses Pinentry: no
        GTK+ Pinentry: no
        Qt Pinentry: yes

        Fallback to Curses: no

make  all-recursive
make[1]: Entering directory `/mnt/downloads/Agypten/pinentry-0.7.0'
Making all in assuan
make[2]: Entering directory `/mnt/downloads/Agypten/pinentry-0.7.0/assuan'
make  all-am
make[3]: Entering directory `/mnt/downloads/Agypten/pinentry-0.7.0/assuan'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/mnt/downloads/Agypten/pinentry-0.7.0/assuan'
make[2]: Leaving directory `/mnt/downloads/Agypten/pinentry-0.7.0/assuan'
Making all in secmem
make[2]: Entering directory `/mnt/downloads/Agypten/pinentry-0.7.0/secmem'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/downloads/Agypten/pinentry-0.7.0/secmem'
Making all in pinentry
make[2]: Entering directory `/mnt/downloads/Agypten/pinentry-0.7.0/pinentry'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/downloads/Agypten/pinentry-0.7.0/pinentry'
Making all in qt
make[2]: Entering directory `/mnt/downloads/Agypten/pinentry-0.7.0/qt'
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../assuan -I../secmem
-I/usr/lib/qt-3.1/include  -Wall -DQT_THREAD_SUPPORT  -I/usr/X11R6/include
-D_REENTRANT -g -O2 -MT secqstring.o -MD -MP -MF ".deps/secqstring.Tpo" \
  -c -o secqstring.o `test -f 'secqstring.cpp' || echo './'`secqstring.cpp; \
then mv -f ".deps/secqstring.Tpo" ".deps/secqstring.Po"; \
else rm -f ".deps/secqstring.Tpo"; exit 1; \
fi
secqstring.cpp:68:38: private/qunicodetables_p.h: No such file or directory
secqstring.cpp: In member function `bool SecQString::isRightToLeft() const':
secqstring.cpp:904: `::direction' undeclared (first use here)
make[2]: *** [secqstring.o] Error 1
make[2]: Leaving directory `/mnt/downloads/Agypten/pinentry-0.7.0/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/downloads/Agypten/pinentry-0.7.0'
make: *** [all] Error 2

Thanks a lot!
Georg




More information about the Gpa-dev mailing list