Page MenuHome GnuPG

Configure script fails on size detection with '--enable-minimal' - 1.4.7
Closed, ResolvedPublic


I am trying to configure version 1.4.7 with --enable-minimal set. However, the
configure script fails with this final output:
checking for u16 typedef... no
checking for u32 typedef... no
checking for unsigned short... yes
checking size of unsigned short... configure: error: cannot compute sizeof
(unsigned short)
See `config.log' for more details.

The error in config.log is:
In file included from /usr/include/stdlib.h:433,

from conftest.c:68:

/usr/include/sys/types.h:72: error: two or more data types in declaration specifiers
configure:18561: $? = 1
configure: program exited with status 1

This appears to be a problem with the typedef of mode_t. The /usr/include/sys/*
have not been modified from my distribution defaults (Ubuntu dapper). I have
tried the configure on both arm and x86 with the same result.

Event Timeline

dshaw claimed this task.