[Gpg4win-devel] Build instructions Re: SVN build: Failed to download packages
Dr. Peter Voigt
pvoigt at uos.de
Sat Oct 20 00:00:27 CEST 2012
Well, I would like to give short feedback and ask some more questions
on how to proceed with building gpg4win. I am referring to the Git
sources checked out today (2012-10-19).
Lacking experience with Git one the one hand and not finding any hint
on how to checkout the Git source tree, I fiddled around with Git and
finally obtained the gpg4win sources. I have just had a new look at
the build instructions under
http://www.gpg4win.org/build-installer-gnulinux.html
and not only found the instructions updated but also the Git command
matching my used variant :-)
How should the Git command look like for subsequent refrehes? Or do I
have to checkout everytime the complete source tree?
Do I have to execute the download.sh script everytime after updating
the downloaded Git source tree?
The subsequent download of the packages with "sh download.sh" has
completed without problems now.
As I do not want to install yet another virtual machine I've deceided
to cross compile under openSUSE 11.4. I have no experience with mingw
cross compiler so far. I figured out that the actual cross compiler
can be found under
http://download.opensuse.org/repositories/CrossToolchain:/mingw/openSUSE_12.1/
Although this repository seems to be for openSUSE 12.1 the packages
can be donwloaded and installed without problems. The package
"mingw32-cross-nsis", however, can be found under
http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_11.4/
The suggested "./autogen.sh --build-w32" immediately stops with
following output:
Using /root/w32root as standard install directory
Cross compiler kit not installed
Under Debian GNU/Linux, you may install it using
apt-get install mingw32 mingw32-runtime mingw32-binutils
Stop.
This is probably because my cross compiler is installed under
/opt/cross/i386-mingw32msvc/bin instead of /root/w32root.
Unfortunately, autogen.sh cannot be fed with the right path. Therefore
I cannot use autogen.sh and I tried the for whatever reason commented
out configure command:
./configure --host=i586-mingw32msvc
which gives me the necessary possibility to transfer the mingwm10.dll
location via --with-mingwm-dll switch. Please find subsequently the
full output:
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i586-mingw32msvc-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... i586-pc-mingw32msvc
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for i586-mingw32msvc-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... 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 i586-mingw32msvc-ranlib... no
checking for ranlib... ranlib
checking for i586-mingw32msvc-ar... no
checking for ar... ar
checking for i586-mingw32msvc-strip... strip
checking for i586-mingw32msvc-dlltool... no
checking for dlltool... dlltool
checking for make... make
checking for unzip... unzip
checking for tar... tar
checking for mkdir... mkdir
checking for cp... cp
checking for rm... rm
checking for stow... stow
checking for makensis... makensis
checking for zcat... zcat
checking for texi2dvi... texi2dvi
checking for dvipdf... dvipdf
checking for convert... convert
checking for sha1sum... sha1sum
checking for msgfmt... /usr/bin/msgfmt
checking for gitlog-to-changelog... no
checking for glib-genmarshal... glib-genmarshal
checking for glib-compile-schemas... glib-compile-schemas
checking for glib-compile-resources... no
checking for gdk-pixbuf-csource... gdk-pixbuf-csource
checking for gs... gs
checking for docbook2html... no
checking for docbook2txt... no
checking for docbook2ps... no
checking for docbook2pdf... no
checking for wget... wget
checking for packages directory... /root/admin/gpg4win/gpg4win/packages
checking for Bash... 4.1.10(1)-release
checking for package libiconv... /root/admin/gpg4win/gpg4win/packages/libiconv-1.9.1.bin.woe32.zip
checking for package libiconv... /root/admin/gpg4win/gpg4win/packages/libiconv-1.9.1.tar.gz
checking for package gettext-runtime... /root/admin/gpg4win/gpg4win/packages/gettext-runtime-0.13.1.bin.woe32.zip
checking for package gettext... /root/admin/gpg4win/gpg4win/packages/gettext-0.13.1.tar.gz
checking for package zlib... /root/admin/gpg4win/gpg4win/packages/zlib-1.2.7.tar.gz
checking for package bsfilter-bin... /root/admin/gpg4win/gpg4win/packages/bsfilter-1.0.16-bin.tar.gz
checking for package bsfilter-lib... /root/admin/gpg4win/gpg4win/packages/bsfilter-1.0.16-lib.tar.gz
checking for package bsfilter-src... /root/admin/gpg4win/gpg4win/packages/bsfilter-1.0.16-src.tar.gz
checking for package pkgconfig... /root/admin/gpg4win/gpg4win/packages/pkgconfig-0.23.zip
checking for package pkgconfig... /root/admin/gpg4win/gpg4win/packages/pkgconfig-0.23.tar.gz
checking for package libffi... /root/admin/gpg4win/gpg4win/packages/libffi-3.0.10.tar.gz
checking for package glib... /root/admin/gpg4win/gpg4win/packages/glib-2.32.0.tar.xz
checking for package atk... /root/admin/gpg4win/gpg4win/packages/atk-1.32.0.zip
checking for package atk-dev... /root/admin/gpg4win/gpg4win/packages/atk-dev-1.32.0.zip
checking for package atk... /root/admin/gpg4win/gpg4win/packages/atk-1.32.0.tar.bz2
checking for package pango... /root/admin/gpg4win/gpg4win/packages/pango-1.29.4.zip
checking for package pango-dev... /root/admin/gpg4win/gpg4win/packages/pango-dev-1.29.4.zip
checking for package pango... /root/admin/gpg4win/gpg4win/packages/pango-1.29.4.tar.bz2
checking for package cairo... /root/admin/gpg4win/gpg4win/packages/cairo-1.10.2.zip
checking for package cairo-dev... /root/admin/gpg4win/gpg4win/packages/cairo-dev-1.10.2.zip
checking for package cairo... /root/admin/gpg4win/gpg4win/packages/cairo-1.10.2.tar.gz
checking for package expat... /root/admin/gpg4win/gpg4win/packages/expat-2.0.1.zip
checking for package expat-dev... /root/admin/gpg4win/gpg4win/packages/expat-dev-2.0.1.zip
checking for package expat... /root/admin/gpg4win/gpg4win/packages/expat-2.0.1.tar.gz
checking for package freetype... /root/admin/gpg4win/gpg4win/packages/freetype-2.4.2.zip
checking for package freetype-dev... /root/admin/gpg4win/gpg4win/packages/freetype-dev-2.4.2.zip
checking for package freetype... /root/admin/gpg4win/gpg4win/packages/freetype-2.4.2.tar.bz2
checking for package fontconfig... /root/admin/gpg4win/gpg4win/packages/fontconfig-2.8.0.zip
checking for package fontconfig-dev... /root/admin/gpg4win/gpg4win/packages/fontconfig-dev-2.8.0.zip
checking for package fontconfig... /root/admin/gpg4win/gpg4win/packages/fontconfig-2.8.0.tar.gz
checking for package gdk-pixbuf... /root/admin/gpg4win/gpg4win/packages/gdk-pixbuf-2.26.0.tar.xz
checking for package gtk+... /root/admin/gpg4win/gpg4win/packages/gtk+-2.24.10.tar.xz
checking for package libpng... /root/admin/gpg4win/gpg4win/packages/libpng-1.4.12.tar.bz2
checking for package enchant... /root/admin/gpg4win/gpg4win/packages/enchant-1.6.0.tar.gz
checking for package bzip2... /root/admin/gpg4win/gpg4win/packages/bzip2-1.0.6-g10.tar.gz
checking for package adns... /root/admin/gpg4win/gpg4win/packages/adns-1.4-g10-2.tar.bz2
checking for package libgpg-error... /root/admin/gpg4win/gpg4win/packages/libgpg-error-1.10.tar.bz2
checking for package libgcrypt... /root/admin/gpg4win/gpg4win/packages/libgcrypt-1.5.0.tar.bz2
checking for package libksba... /root/admin/gpg4win/gpg4win/packages/libksba-1.2.0.tar.bz2
checking for package w32pth... /root/admin/gpg4win/gpg4win/packages/w32pth-2.0.2.tar.bz2
checking for package libassuan... /root/admin/gpg4win/gpg4win/packages/libassuan-2.0.3.tar.bz2
checking for package dirmngr... /root/admin/gpg4win/gpg4win/packages/dirmngr-1.1.0.tar.bz2
checking for package pinentry... /root/admin/gpg4win/gpg4win/packages/pinentry-0.8.1.tar.gz
checking for package gpgme... /root/admin/gpg4win/gpg4win/packages/gpgme-1.3.2.tar.bz2
checking for package curl... /root/admin/gpg4win/gpg4win/packages/curl-7.19.0.tar.bz2
checking for package gnupg2... /root/admin/gpg4win/gpg4win/packages/gnupg2-2.0.19.tar.bz2
checking for package pthreads-w32... /root/admin/gpg4win/gpg4win/packages/pthreads-w32-2-8-0-release.tar.gz
checking for package gpgol... /root/admin/gpg4win/gpg4win/packages/gpgol-1.1.3.tar.bz2
checking for package gpgex... /root/admin/gpg4win/gpg4win/packages/gpgex-0.9.7.tar.bz2
checking for package scute... /root/admin/gpg4win/gpg4win/packages/scute-1.4.0.tar.bz2
checking for package paperkey... /root/admin/gpg4win/gpg4win/packages/paperkey-1.2.tar.gz
checking for package gpa... /root/admin/gpg4win/gpg4win/packages/gpa-0.9.2.tar.bz2
checking for package libgsasl... /root/admin/gpg4win/gpg4win/packages/libgsasl-1.4.4.tar.gz
checking for package libtasn1... /root/admin/gpg4win/gpg4win/packages/libtasn1-2.2.tar.gz
checking for package gnutls... /root/admin/gpg4win/gpg4win/packages/gnutls-2.8.6.tar.bz2
checking for package libetpan... /root/admin/gpg4win/gpg4win/packages/libetpan-0.58.tar.gz
checking for package libxml2... /root/admin/gpg4win/gpg4win/packages/libxml2-2.7.8.tar.gz
checking for package regex... /root/admin/gpg4win/gpg4win/packages/regex-20090805.tar.gz
checking for package crypt... /root/admin/gpg4win/gpg4win/packages/crypt-1.1.tar.gz
checking for package claws-mail... /root/admin/gpg4win/gpg4win/packages/claws-mail-3.8.1.tar.bz2
checking for package notification_plugin... /root/admin/gpg4win/gpg4win/packages/notification_plugin-0.30.tar.gz
checking for package gtkhtml2_viewer... /root/admin/gpg4win/gpg4win/packages/gtkhtml2_viewer-0.33.tar.gz
checking for package vcalendar... /root/admin/gpg4win/gpg4win/packages/vcalendar-2.0.13.tar.gz
checking for package rssyl... /root/admin/gpg4win/gpg4win/packages/rssyl-0.33.tar.gz
checking for package tnef_parse... /root/admin/gpg4win/gpg4win/packages/tnef_parse-0.3.13.tar.gz
checking for package attachwarner... /root/admin/gpg4win/gpg4win/packages/attachwarner-0.2.24cvs1.tar.gz
checking for package bsfilter_plugin... /root/admin/gpg4win/gpg4win/packages/bsfilter_plugin-1.0.8cvs1.tar.gz
checking for internal package compendium... yes
checking for package kdesupport-bin... /root/admin/gpg4win/gpg4win/packages/kdesupport-20090701-bin.zip
checking for package kdesupport-lib... /root/admin/gpg4win/gpg4win/packages/kdesupport-20090701-lib.zip
checking for package kdesupport-src... /root/admin/gpg4win/gpg4win/packages/kdesupport-20090701-src.zip
checking for package oxygen-icons-bin... /root/admin/gpg4win/gpg4win/packages/oxygen-icons-20100218-bin.zip
checking for package oxygen-icons-src... /root/admin/gpg4win/gpg4win/packages/oxygen-icons-20100218-src.zip
checking for package qt-bin... /root/admin/gpg4win/gpg4win/packages/qt-4.4.0-4-bin.zip
checking for package qt-lib... /root/admin/gpg4win/gpg4win/packages/qt-4.4.0-4-lib.zip
checking for package qt-src... /root/admin/gpg4win/gpg4win/packages/qt-4.4.0-4-src.zip
checking for package kdelibs-bin... /root/admin/gpg4win/gpg4win/packages/kdelibs-20110203-bin.zip
checking for package kdelibs-lib... /root/admin/gpg4win/gpg4win/packages/kdelibs-20110203-lib.zip
checking for package kdelibs-src... /root/admin/gpg4win/gpg4win/packages/kdelibs-20110203-src.zip
checking for package kleopatra-bin... /root/admin/gpg4win/gpg4win/packages/kleopatra-20110204-bin.zip
checking for package kleopatra-src... /root/admin/gpg4win/gpg4win/packages/kleopatra-20110204-src.zip
checking build list... adns bsfilter bzip2 compendium crypt expat kdesupport libgsasl libiconv libtasn1 oxygen-icons paperkey pkgconfig pthreads-w32 regex w32pth zlib qt gettext libpng libffi libxml2 fontconfig freetype kdelibs libgpg-error glib libassuan libksba libgcrypt enchant gdk-pixbuf cairo pango atk scute gpgex gnutls dirmngr gtk+ libetpan curl pinentry gnupg2 gpgme kleopatra claws-mail gpa gpgol bsfilter_plugin attachwarner tnef_parse rssyl vcalendar gtkhtml2_viewer notification_plugin
configure: creating ./config.status
config.status: creating Makefile
config.status: creating packages/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating include/config.nsi
config.status: creating src/gpg4win.mk
config.status: creating doc/Makefile
config.status: creating doc/logo/Makefile
config.status: creating doc/manual/Makefile
config.status: creating doc/manual/version.tex
config.status: creating src/dictionaries/Makefile
config.status: creating patches/gnupg2/01-version.patch
config.status: creating config.h
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
config.status: executing gpg4win-conf commands
configure: WARNING:
***
*** Some tools not found. They may or may not be needed depending on
*** the packages you want to include. For example GLIB and GTK+
*** require certain tools; you may need to install a recent version of
*** GLIB and GTK+ on the build machine to allow for cross-compiling.
***
configure: glib_compile_resources is missing
configure: docbook2pdf is missing
configure: docbook2txt is missing
configure: docbook2ps is missing
configure: docbook2pdf is missing
gpg4win-2.1.1-beta103 prepared for make
Revision: 36fc560 (14076)
Platform: i586-pc-mingw32msvc
The docbook tools are obviously missing. There are a lot of
docbook-xxx packages under openSUSE 11.4 but they are differently
packaged than under Debian. It will take some time to test out which
packages will be the right ones.
Besides the docbook packages I don't know how to handle the warning
about glib_compile_resources. My currently installed glib2 and gtk2
packages are:
rpm --query --all |grep glib2
glib2-branding-openSUSE-11.4-4.2.noarch
glib2-tools-2.28.0-3.8.1.x86_64
glib2-devel-2.28.0-3.8.1.x86_64
libpackagekit-glib2-14-0.6.14-0.8.1.x86_64
rpm --query --all |grep gtk2
gtk2-engine-murrine-0.98.1.1-2.1.x86_64
gtk2-metatheme-sonar-11.3.0-13.1.noarch
gtk2-tools-32bit-2.22.1-13.15.1.x86_64
gtk2-engine-murrine-32bit-0.98.1.1-2.1.x86_64
libcanberra-gtk2-module-32bit-0.26-2.1.x86_64
gtk2-data-2.22.1-13.15.1.noarch
gtk2-immodule-thai-2.22.1-13.15.1.x86_64
gtk2-branding-openSUSE-11.4-5.4.noarch
gtk2-immodule-vietnamese-2.22.1-13.15.1.x86_64
gtk2-immodule-amharic-2.22.1-13.15.1.x86_64
gtk2-immodule-inuktitut-2.22.1-13.15.1.x86_64
gtk2-devel-2.22.1-13.15.1.x86_64
libcanberra-gtk2-module-0.26-2.1.x86_64
gtk2-tools-2.22.1-13.15.1.x86_64
Are the installed packages sufficient or can I ignore the glib and gtk
warnings?
Regards,
Peter
More information about the Gpg4win-devel
mailing list