gpgme --disable-largefile
Closed, ResolvedPublic

Description

"./configure --disable-largefile" results later in a compile time error:
In file included from conversion.c:33:
gpgme.h:78:5: error: #if with no expression
This is caused by configure setting NEED__FILE_OFFSET_BITS to an empty value.
System is an Ubuntu 8.04 LTS on 32bit hardware.
No problem occures when omitting --disable-largefile.
config.log is attached.

Details

Version
1.2.0
perske added a subscriber: perske.Nov 19 2009, 6:45 PM

perske set Version to 1.2.0.Nov 19 2009, 6:45 PM
perske added projects: Bug Report, gpgme.
werner added a subscriber: marcus.Nov 26 2009, 9:43 AM
werner added a subscriber: werner.

Marcus, please make it fail more gracefully.

werner assigned this task to marcus.Nov 26 2009, 9:43 AM

Why "make it fail"; why not "make it run"?
I guess (did not test) that the bug can be fixed by replacing

#if @NEED__FILE_OFFSET_BITS@

with

#if @NEED__FILE_OFFSET_BITS@ - 0

or by making configure always setting a nonempty value;
depending on your preferred style of programming.

Thanks in advance :-)

marcus closed this task as Resolved.Dec 17 2009, 5:15 PM

fixed in rev 1442, thanks for reporting it

2009-12-17 Marcus Brinkmann <marcus@g10code.de>

  • configure.ac: Make largefile check more robust.