[Gpg4win-devel] Build instructions Re: SVN build: Failed to download packages

Dr. Peter Voigt pvoigt at uos.de
Sat Oct 20 14:24:34 CEST 2012


Werner Koch <wk at gnupg.org> writes:

> On Sat, 20 Oct 2012 00:00, pvoigt at uos.de said:
>
>> How should the Git command look like for subsequent refrehes? Or do I
>> have to checkout everytime the complete source tree?
>
>   git pull
>

Thanks.

>> Do I have to execute the download.sh script everytime after updating
>> the downloaded Git source tree?
>
> No. Unless you removed the tarballs downloaded by the script.  Note that
>
>   sh download.sh --quiet
>
> is a good way to qucikly check whether all files are available.
>

Usefull - nice.

>> The suggested "./autogen.sh --build-w32" immediately stops with
>> following output:
>> Using /root/w32root as standard install directory
>
> [ You should not run a build as root ]
>

Well, while still fighting with the cross compiler installation I
wanted to exclude further errors. Had even to install some stuff from
source, e.g. GNU stow.

>> This is probably because my cross compiler is installed under
>> /opt/cross/i386-mingw32msvc/bin instead of /root/w32root.
>
> The compiler should also be available under the i386-mingw32msvc-gcc; if
> that is not the case you need to tweak some stuff.  If it is installed
> under that name in /opt/cross/i386-mingw32msvc/bin, it should be
> sufficient to put that directory into your PATH.
>
>
>
>> checking for i586-mingw32msvc-gcc... no
>
> No cross compiler - that is the same as autogen.sh figured out.
>
>> checking whether we are cross compiling... no
>
> Indeed.
>
>> Are the installed packages sufficient or can I ignore the glib and gtk
>> warnings? 
>
> You need to fix the above problems first.
>

Well, I have no idea why the cross compiler isn't completely available
for openSUSE 11.4. The packaging schema of mingw is a mystery to
me. This openSUSE version is even still under maintenance till
Novemver :-). Want to stay with it a bit longer because I've tweaked
it a lot on two physical and one virtual machine.

Nevertheless, I finally found out at least two installation errors of
my cross compiler:
1.) I have to replace package cross-mingw-gcc with
    cross-mingw-gcc-core.
2.) I have to install all cross-mingw-* packages from a different
    location
    http://download.opensuse.org/repositories/CrossToolchain:/mingw/SLE_11_SP2/
    I finally found this out because i386-mingw32msvc-cpp complains
    about wrong GLIBC version. I have no clue, why rpm/yast did not
    detect it already during installation. The compiler from this
    location runs at least without glibc error message.

I turns out that mingwm10.dll is located under
/opt/cross/i386-mingw32msvc/bin while i386-mingw32msvc-cpp can be
found under /opt/cross/bin. I added both directories to my PATH.

Here is my autogen.sh output - hope it's OK:

*** Activating trailing whitespace git pre-commit hook. ***
    For more information see this thread:
      http://mail.gnome.org/archives/desktop-devel-list/2009-May/msg00084html
    To deactivate this pre-commit hook again move .git/hooks/pre-commit
    and .git/hooks/pre-commit.sample out of the way.
„build-aux/git-hooks/pre-commit“ -> „.git/hooks/pre-commit“
*** Adding GIT filter.cleanpo.clean configuration.
*** Activating commit log message check hook. ***
„build-aux/git-hooks/commit-msg“ -> „.git/hooks/commit-msg“
Running aclocal -I m4 ...
Running autoheader...
Running automake --gnu ...
doc/manual/Makefile.am:309: `%'-style pattern rules are a GNU make extension
doc/manual/Makefile.am:312: `%'-style pattern rules are a GNU make extension
doc/manual/Makefile.am:316: `%'-style pattern rules are a GNU make extension
doc/manual/Makefile.am:356: `%'-style pattern rules are a GNU make extension
src/Makefile.am:93: addsuffix .txt,$(addprefix README.,$(gpg4win_readme_ll: non-POSIX variable name
src/Makefile.am:93: (probably a GNU make extension)
src/Makefile.am:97: addsuffix .txt, \
src/Makefile.am:97:                 $(addprefix HOWTO-SMIME.,$(gpg4win_howto_smime_ll: non-POSIX variable name
src/Makefile.am:97: (probably a GNU make extension)
src/Makefile.am:505: eval $(call INCLUDE_BY_MAKE,gpg4win.mk: non-POSIX variable name
src/Makefile.am:505: (probably a GNU make extension)
src/Makefile.am:509: addsuffix .nsi,$(addprefix inst-,$(gpg4win_build_list: non-POSIX variable name
src/Makefile.am:509: (probably a GNU make extension)
src/Makefile.am:509: addsuffix .nsi,$(addprefix uninst-,$(gpg4win_build_list: non-POSIX variable name
src/Makefile.am:509: (probably a GNU make extension)
Running autoconf ...
You may now run "./autogen.sh --build-w32 && make".

The "./autogen.sh --build-w32" now runs much further than before,
however "mingwm10.dll" is obviously not found under
/opt/cross/i386-mingw32msvc/bin/ although being in PATH:

Using /home/pvoigt/w32root as standard install directory
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i386-mingw32msvc-strip... i386-mingw32msvc-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... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... i386-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 i386-mingw32msvc-gcc... i386-mingw32msvc-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i386-mingw32msvc-gcc accepts -g... yes
checking for i386-mingw32msvc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i386-mingw32msvc-gcc... gcc3
checking how to run the C preprocessor... i386-mingw32msvc-gcc -E
checking for i386-mingw32msvc-ranlib... i386-mingw32msvc-ranlib
checking for i386-mingw32msvc-ar... i386-mingw32msvc-ar
checking for i386-mingw32msvc-strip... (cached) i386-mingw32msvc-strip
checking for i386-mingw32msvc-dlltool... i386-mingw32msvc-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... /home/pvoigt/gpg4win/packages
checking for Bash... 4.1.10(1)-release
checking for package libiconv... /home/pvoigt/gpg4win/packages/libiconv-1.9.1.bin.woe32.zip
checking for package libiconv... /home/pvoigt/gpg4win/packages/libiconv-1.9.1.tar.gz
checking for package gettext-runtime... /home/pvoigt/gpg4win/packages/gettext-runtime-0.13.1.bin.woe32.zip
checking for package gettext... /home/pvoigt/gpg4win/packages/gettext-0.13.1.tar.gz
checking for package zlib... /home/pvoigt/gpg4win/packages/zlib-1.2.7.tar.gz
checking for package bsfilter-bin... /home/pvoigt/gpg4win/packages/bsfilter-1.0.16-bin.tar.gz
checking for package bsfilter-lib... /home/pvoigt/gpg4win/packages/bsfilter-1.0.16-lib.tar.gz
checking for package bsfilter-src... /home/pvoigt/gpg4win/packages/bsfilter-1.0.16-src.tar.gz
checking for package pkgconfig... /home/pvoigt/gpg4win/packages/pkgconfig-0.23.zip
checking for package pkgconfig... /home/pvoigt/gpg4win/packages/pkgconfig-0.23.tar.gz
checking for package libffi... /home/pvoigt/gpg4win/packages/libffi-3.0.10.tar.gz
checking for package glib... /home/pvoigt/gpg4win/packages/glib-2.32.0.tar.xz
checking for package atk... /home/pvoigt/gpg4win/packages/atk-1.32.0.zip
checking for package atk-dev... /home/pvoigt/gpg4win/packages/atk-dev-1.32.0.zip
checking for package atk... /home/pvoigt/gpg4win/packages/atk-1.32.0.tar.bz2
checking for package pango... /home/pvoigt/gpg4win/packages/pango-1.29.4.zip
checking for package pango-dev... /home/pvoigt/gpg4win/packages/pango-dev-1.29.4.zip
checking for package pango... /home/pvoigt/gpg4win/packages/pango-1.29.4.tar.bz2
checking for package cairo... /home/pvoigt/gpg4win/packages/cairo-1.10.2.zip
checking for package cairo-dev... /home/pvoigt/gpg4win/packages/cairo-dev-1.10.2.zip
checking for package cairo... /home/pvoigt/gpg4win/packages/cairo-1.10.2.tar.gz
checking for package expat... /home/pvoigt/gpg4win/packages/expat-2.0.1.zip
checking for package expat-dev... /home/pvoigt/gpg4win/packages/expat-dev-2.0.1.zip
checking for package expat... /home/pvoigt/gpg4win/packages/expat-2.0.1.tar.gz
checking for package freetype... /home/pvoigt/gpg4win/packages/freetype-2.4.2.zip
checking for package freetype-dev... /home/pvoigt/gpg4win/packages/freetype-dev-2.4.2.zip
checking for package freetype... /home/pvoigt/gpg4win/packages/freetype-2.4.2.tar.bz2
checking for package fontconfig... /home/pvoigt/gpg4win/packages/fontconfig-2.8.0.zip
checking for package fontconfig-dev... /home/pvoigt/gpg4win/packages/fontconfig-dev-2.8.0.zip
checking for package fontconfig... /home/pvoigt/gpg4win/packages/fontconfig-2.8.0.tar.gz
checking for package gdk-pixbuf... /home/pvoigt/gpg4win/packages/gdk-pixbuf-2.26.0.tar.xz
checking for package gtk+... /home/pvoigt/gpg4win/packages/gtk+-2.24.10.tar.xz
checking for package libpng... /home/pvoigt/gpg4win/packages/libpng-1.4.12.tar.bz2
checking for package enchant... /home/pvoigt/gpg4win/packages/enchant-1.6.0.tar.gz
checking for package bzip2... /home/pvoigt/gpg4win/packages/bzip2-1.0.6-g10.tar.gz
checking for package adns... /home/pvoigt/gpg4win/packages/adns-1.4-g10-2.tar.bz2
checking for package libgpg-error... /home/pvoigt/gpg4win/packages/libgpg-error-1.10.tar.bz2
checking for package libgcrypt... /home/pvoigt/gpg4win/packages/libgcrypt-1.5.0.tar.bz2
checking for package libksba... /home/pvoigt/gpg4win/packages/libksba-1.2.0.tar.bz2
checking for package w32pth... /home/pvoigt/gpg4win/packages/w32pth-2.0.2.tar.bz2
checking for package libassuan... /home/pvoigt/gpg4win/packages/libassuan-2.0.3.tar.bz2
checking for package dirmngr... /home/pvoigt/gpg4win/packages/dirmngr-1.1.0.tar.bz2
checking for package pinentry... /home/pvoigt/gpg4win/packages/pinentry-0.8.1.tar.gz
checking for package gpgme... /home/pvoigt/gpg4win/packages/gpgme-1.3.2.tar.bz2
checking for package curl... /home/pvoigt/gpg4win/packages/curl-7.19.0.tar.bz2
checking for package gnupg2... /home/pvoigt/gpg4win/packages/gnupg2-2.0.19.tar.bz2
checking for package pthreads-w32... /home/pvoigt/gpg4win/packages/pthreads-w32-2-8-0-release.tar.gz
checking for package gpgol... /home/pvoigt/gpg4win/packages/gpgol-1.1.3.tar.bz2
checking for package gpgex... /home/pvoigt/gpg4win/packages/gpgex-0.9.7.tar.bz2
checking for package scute... /home/pvoigt/gpg4win/packages/scute-1.4.0.tar.bz2
checking for package paperkey... /home/pvoigt/gpg4win/packages/paperkey-1.2.tar.gz
checking for package gpa... /home/pvoigt/gpg4win/packages/gpa-0.9.2.tar.bz2
checking for package libgsasl... /home/pvoigt/gpg4win/packages/libgsasl-1.4.4.tar.gz
checking for package libtasn1... /home/pvoigt/gpg4win/packages/libtasn1-2.2.tar.gz
checking for package gnutls... /home/pvoigt/gpg4win/packages/gnutls-2.8.6.tar.bz2
checking for package libetpan... /home/pvoigt/gpg4win/packages/libetpan-0.58.tar.gz
checking for package libxml2... /home/pvoigt/gpg4win/packages/libxml2-2.7.8.tar.gz
checking for package regex... /home/pvoigt/gpg4win/packages/regex-20090805.tar.gz
checking for package crypt... /home/pvoigt/gpg4win/packages/crypt-1.1.tar.gz
checking for package claws-mail... /home/pvoigt/gpg4win/packages/claws-mail-3.8.1.tar.bz2
checking for package notification_plugin... /home/pvoigt/gpg4win/packages/notification_plugin-0.30.tar.gz
checking for package gtkhtml2_viewer... /home/pvoigt/gpg4win/packages/gtkhtml2_viewer-0.33.tar.gz
checking for package vcalendar... /home/pvoigt/gpg4win/packages/vcalendar-2.0.13.tar.gz
checking for package rssyl... /home/pvoigt/gpg4win/packages/rssyl-0.33.tar.gz
checking for package tnef_parse... /home/pvoigt/gpg4win/packages/tnef_parse-0.3.13.tar.gz
checking for package attachwarner... /home/pvoigt/gpg4win/packages/attachwarner-0.2.24cvs1.tar.gz
checking for package bsfilter_plugin... /home/pvoigt/gpg4win/packages/bsfilter_plugin-1.0.8cvs1.tar.gz
checking for internal package compendium... yes
checking for package kdesupport-bin... /home/pvoigt/gpg4win/packages/kdesupport-20090701-bin.zip
checking for package kdesupport-lib... /home/pvoigt/gpg4win/packages/kdesupport-20090701-lib.zip
checking for package kdesupport-src... /home/pvoigt/gpg4win/packages/kdesupport-20090701-src.zip
checking for package oxygen-icons-bin... /home/pvoigt/gpg4win/packages/oxygen-icons-20100218-bin.zip
checking for package oxygen-icons-src... /home/pvoigt/gpg4win/packages/oxygen-icons-20100218-src.zip
checking for package qt-bin... /home/pvoigt/gpg4win/packages/qt-4.4.0-4-bin.zip
checking for package qt-lib... /home/pvoigt/gpg4win/packages/qt-4.4.0-4-lib.zip
checking for package qt-src... /home/pvoigt/gpg4win/packages/qt-4.4.0-4-src.zip
checking for package kdelibs-bin... /home/pvoigt/gpg4win/packages/kdelibs-20110203-bin.zip
checking for package kdelibs-lib... /home/pvoigt/gpg4win/packages/kdelibs-20110203-lib.zip
checking for package kdelibs-src... /home/pvoigt/gpg4win/packages/kdelibs-20110203-src.zip
checking for package kleopatra-bin... /home/pvoigt/gpg4win/packages/kleopatra-20110204-bin.zip
checking for package kleopatra-src... /home/pvoigt/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
cp: cannot stat `no': No such file or directory
configure: mingwm10.dll is missing
configure: error:
***
*** Required tools not found. Please consult the above messages
*** and install them before running configure again.
***

Do you have any idea how to tell autogen.sh where to find mingwm10.dll.

> Shalom-Salam,
>
>    Werner

Regards,
Peter


More information about the Gpg4win-devel mailing list