Compile GnuPG 1.4 under cygwin?
Jeroen Budts
jeroen at lightyear.be
Tue Dec 28 00:34:00 CET 2004
Hi!
Is it possible to compile GnuPG 1.4.0 using cygwin on WinXP?
When i try to run the configure script everything seems to work fine
(see output below), but when i then do 'make' i get some errors..
Do i need to modify some files?
I searched google for a while but couldn't find any manual or howto..
I am totally new to compiling programs this way and i have in fact as
good as no experience with linux but i'm willing to learn and slowly i'm
moving from windows to linux...
thx! (and sorry if this is a stupid question...)
Jeroen Budts
output of './configure'
--------------------------------------------
teranex at thunderbox /d/gnupg-1.4.0
$ ./configure
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
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 which random module to use... default
checking whether use of /dev/random is requested... yes
checking whether assembler modules are requested... yes
checking whether memory guard is requested... no
checking whether SELinux support is requested... no
checking whether OpenPGP card support is requested... yes
checking whether readline support is requested... yes
checking whether the new iconv based code is requested... yes
checking whether to enable the experimental backsigs code... no
checking whether to enable the RSA public key algorithm... yes
checking whether to enable the IDEA cipher... yes
checking for idea cipher module... no
checking whether to enable the CAST5 cipher... yes
checking whether to enable the BLOWFISH cipher... yes
checking whether to enable the AES ciphers... yes
checking whether to enable the TWOFISH cipher... yes
checking whether to enable the SHA-256 digest... yes
checking whether to enable the SHA-384 and SHA-512 digests... yes
checking whether to enable the BZIP2 compression algorithm... yes
checking whether to enable external program execution... yes
checking whether to enable photo ID viewing... yes
checking whether to use a fixed photo ID viewer... no
checking whether to enable external keyserver helpers... yes
checking whether LDAP keyserver support is requested... yes
checking whether HKP keyserver support is requested... yes
checking whether HTTP key fetching support is requested... yes
checking whether Finger key fetching support is requested... yes
checking whether email keyserver support is requested... yes
checking whether keyserver exec-path is enabled... yes
checking whether the included zlib is requested... no
checking for the size of the key and uid cache... 4096
checking whether use of capabilities is requested... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking whether build environment is sane... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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 ranlib... ranlib
checking for ar... ar
checking for perl... /usr/bin/perl
checking for library containing strerror... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for docbook-to-man... no
checking for faqprog.pl... no
checking for docbook2texi... no
checking for sgml to texi tools... no
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... yes
checking for _ prefix in compiled symbols... yes
checking for gethostbyname... yes
checking for setsockopt... yes
checking for library containing res_query... no
checking for library containing __res_query... no
checking for library containing dn_expand... no
checking for library containing __dn_expand... no
checking for library containing dn_skipname... no
checking for library containing __dn_skipname... no
configure: Resolver functions not found or not usable. Disabling DNS SRV.
checking whether LDAP via "-lldap" is present and sane... no
checking whether LDAP via "-lldap -llber" is present and sane... no
checking whether LDAP via "-lldap -llber -lresolv" is present and sane... no
checking whether LDAP via "-lwldap32" is present and sane... no
checking for sendmail... no
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for signed... 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 long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... no
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... no
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether integer division by zero raises SIGFPE... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for shared library run path origin... done
checking for ptrdiff_t... 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... no
checking nl_types.h presence... no
checking for nl_types.h... no
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 asprintf... yes
checking for fwprintf... no
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 snprintf... yes
checking for stpcpy... no
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for wcslen... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... no
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl
checking for strchr... yes
checking for library containing dlopen... none required
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking for locale.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for working volatile... yes
checking for size_t... (cached) yes
checking for mode_t... yes
checking return type of signal handlers... void
checking whether sys_siglist is declared... no
checking endianess... little
checking for byte typedef... no
checking for ushort typedef... yes
checking for ulong typedef... no
checking for u16 typedef... no
checking for u32 typedef... no
checking for unsigned short... yes
checking size of unsigned short... 2
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for unsigned long long... (cached) yes
checking size of unsigned long long... 8
checking for inttypes.h... (cached) yes
checking for UINT64_C... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking for vprintf... yes
checking for _doprnt... no
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for strerror... yes
checking for stpcpy... (cached) no
checking for strsep... yes
checking for strlwr... yes
checking for tcgetattr... yes
checking for strtoul... (cached) yes
checking for mmap... yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... yes
checking for ctermid... yes
checking for times... yes
checking for unsetenv... yes
checking for memmove... yes
checking for gettimeofday... yes
checking for getrusage... yes
checking for setrlimit... yes
checking for clock_gettime... yes
checking for atexit... yes
checking for raise... yes
checking for getpagesize... (cached) yes
checking for strftime... yes
checking for nl_langinfo... yes
checking for setlocale... (cached) yes
checking for waitpid... yes
checking for wait4... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for rand... yes
checking for pipe... yes
checking for stat... yes
checking for getaddrinfo... no
checking for mkdtemp... no
checking for timegm... no
checking for struct sigaction... yes
checking for sigset_t... yes
checking for getopt... yes
checking for gethrtime... no
checking for mlock... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for memlk in -lrt... no
checking whether mlock is in sys/mman.h... no
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking if mkdir takes one argument... no
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking whether IPC_RMID allowes subsequent attaches... no
checking whether SHM_LOCK is available... no
checking for random device... yes
checking for mpi assembler functions... done
checking whether regular expression support is requested... yes
checking whether the included regex lib is requested... no
checking for regcomp... yes
checking whether your system's regexp library is broken... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflateInit2_ in -lz... yes
checking for bzlib.h... yes
checking for BZ2_bzCompressInit in -lbz2... yes
checking for usb_bulk_write in -lusb... no
checking for usb_get_busses... no
checking for add_history in -lreadline... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating util/Makefile
config.status: creating mpi/Makefile
config.status: creating cipher/Makefile
config.status: creating g10/Makefile
config.status: creating keyserver/Makefile
config.status: creating keyserver/gpgkeys_mailto
config.status: creating keyserver/gpgkeys_test
config.status: creating doc/Makefile
config.status: creating tools/Makefile
config.status: creating zlib/Makefile
config.status: creating checks/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking ./mpi/i386/mpih-add1.S to mpi/mpih-add1.S
config.status: linking ./mpi/i386/mpih-mul1.S to mpi/mpih-mul1.S
config.status: linking ./mpi/i386/mpih-mul2.S to mpi/mpih-mul2.S
config.status: linking ./mpi/i386/mpih-mul3.S to mpi/mpih-mul3.S
config.status: linking ./mpi/i386/mpih-lshift.S to mpi/mpih-lshift.S
config.status: linking ./mpi/i386/mpih-rshift.S to mpi/mpih-rshift.S
config.status: linking ./mpi/i386/mpih-sub1.S to mpi/mpih-sub1.S
config.status: linking ./mpi/generic/mpi-asm-defs.h to mpi/mpi-asm-defs.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing g10defs.h commands
g10defs.h is unchanged
Configured for: Cygwin (i686-pc-cygwin)
output of 'make'
--------------------------------------------
teranex at thunderbox /d/gnupg-1.4.0
$ make
make all-recursive
make[1]: Entering directory `/d/gnupg-1.4.0'
Making all in m4
make[2]: Entering directory `/d/gnupg-1.4.0/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/d/gnupg-1.4.0/m4'
Making all in intl
make[2]: Entering directory `/d/gnupg-1.4.0/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/d/gnupg-1.4.0/intl'
Making all in zlib
make[2]: Entering directory `/d/gnupg-1.4.0/zlib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/d/gnupg-1.4.0/zlib'
Making all in util
make[2]: Entering directory `/d/gnupg-1.4.0/util'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g
-O2 -Wall -MT logger.o -MD -MP -MF ".deps/logger.Tpo" -c -o logger.o
logger.c; \
then mv -f ".deps/logger.Tpo" ".deps/logger.Po"; else rm -f
".deps/logger.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g
-O2 -Wall -MT fileutil.o -MD -MP -MF ".deps/fileutil.Tpo" -c -o
fileutil.o fileutil.c; \
then mv -f ".deps/fileutil.Tpo" ".deps/fileutil.Po"; else rm -f
".deps/fileutil.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g
-O2 -Wall -MT miscutil.o -MD -MP -MF ".deps/miscutil.Tpo" -c -o
miscutil.o miscutil.c; \
then mv -f ".deps/miscutil.Tpo" ".deps/miscutil.Po"; else rm -f
".deps/miscutil.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g
-O2 -Wall -MT strgutil.o -MD -MP -MF ".deps/strgutil.Tpo" -c -o
strgutil.o strgutil.c; \
then mv -f ".deps/strgutil.Tpo" ".deps/strgutil.Po"; else rm -f
".deps/strgutil.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g
-O2 -Wall -MT ttyio.o -MD -MP -MF ".deps/ttyio.Tpo" -c -o ttyio.o ttyio.c; \
then mv -f ".deps/ttyio.Tpo" ".deps/ttyio.Po"; else rm -f
".deps/ttyio.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g
-O2 -Wall -MT argparse.o -MD -MP -MF ".deps/argparse.Tpo" -c -o
argparse.o argparse.c; \
then mv -f ".deps/argparse.Tpo" ".deps/argparse.Po"; else rm -f
".deps/argparse.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g
-O2 -Wall -MT memory.o -MD -MP -MF ".deps/memory.Tpo" -c -o memory.o
memory.c; \
then mv -f ".deps/memory.Tpo" ".deps/memory.Po"; else rm -f
".deps/memory.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g
-O2 -Wall -MT secmem.o -MD -MP -MF ".deps/secmem.Tpo" -c -o secmem.o
secmem.c; \
then mv -f ".deps/secmem.Tpo" ".deps/secmem.Po"; else rm -f
".deps/secmem.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g
-O2 -Wall -MT errors.o -MD -MP -MF ".deps/errors.Tpo" -c -o errors.o
errors.c; \
then mv -f ".deps/errors.Tpo" ".deps/errors.Po"; else rm -f
".deps/errors.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g
-O2 -Wall -MT iobuf.o -MD -MP -MF ".deps/iobuf.Tpo" -c -o iobuf.o iobuf.c; \
then mv -f ".deps/iobuf.Tpo" ".deps/iobuf.Po"; else rm -f
".deps/iobuf.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g
-O2 -Wall -MT dotlock.o -MD -MP -MF ".deps/dotlock.Tpo" -c -o dotlock.o
dotlock.c; \
then mv -f ".deps/dotlock.Tpo" ".deps/dotlock.Po"; else rm -f
".deps/dotlock.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g
-O2 -Wall -MT http.o -MD -MP -MF ".deps/http.Tpo" -c -o http.o http.c; \
then mv -f ".deps/http.Tpo" ".deps/http.Po"; else rm -f
".deps/http.Tpo"; exit 1; fi
In file included from http.c:46:
srv.h:28:26: arpa/nameser.h: No such file or directory
srv.h:29:20: resolv.h: No such file or directory
make[2]: *** [http.o] Error 1
make[2]: Leaving directory `/d/gnupg-1.4.0/util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/gnupg-1.4.0'
make: *** [all] Error 2
More information about the Gnupg-users
mailing list