Page MenuHome GnuPG

configure error: libgpg-error: tests/Makefile.in missing in git repo
Closed, ResolvedPublic

Description

Compiling libgpg-error from the git repo fails as
./configure does not complete run because tests/Makefile.in is missing.

configure-output:
...
...
checking for an ANSI C-conforming const... yes
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for multithread API to use... posix
checking for pthread_rwlock_t... yes
checking size of pthread_mutex_t... 40
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: error: cannot find input file: `tests/Makefile.in'

Workaround: use tests/Makefile.in from tar-file (
ftp://ftp.gnupg.org/gcrypt/libgpg-error/)

Related Objects

Event Timeline

Run ./autogen.sh first to build these files. There should also be a README.GIT.

BTW, GIT versions are for developers and we expect some experience with software
development. These are not releases of a software and even may not work or harm
your system.

werner claimed this task.
werner added a project: Not A Bug.
mschauler lowered the priority of this task from Normal to Wishlist.

I agree.
In fact, there is no README.GIT in this repo (at least not in commit
2f4e8c33b88d), but only a README.SVN

The correct fix for the issue on my system (OpenSUSE 13.1) is to run "automake
--add-missing" before running autogen.sh
This will add "build-aux/test-driver"

Ah well, you better do not use automake 1.13 - the test suite may or may not
work with that braindead new defaults of that version.