Page MenuHome GnuPG

gnupg does not compile with cc under Tru64 V4.0G
Closed, ResolvedPublic

Description

Release: 1.2.2

Environment

AlphaServer ES40, Compaq C V6.1-123 on Digital UNIX V4.0G (Rev. 1530)

Description

Stupid Compaq C compiler does not recognize preprocessor conditional directives (e.g. #if ...) where hash mark does not appear in column 1. Consequently configure generates not-quite-correct config.h and also many modules fail to compile with illegal syntax, conflicting type definitions, etc.

How To Repeat

Perform a standard build of gnupg-1.2.2 under Tru64 V4.0G using the Compaq C compiler. Note this problem does *NOT* occur with Tru64 V5.1A (using Compaq C V6.4-014).

Fix

In rough metacode, I performed the following:

for each file in source tree named configure or *.h or *.c:
cp -p $1 $1.orig
sed 's/^[ ]#/#' < $1.orig > $1

(note the square brackets enclose a space followed by a tab)

After this, I was able to execute configure and make to get a working executable.

Event Timeline

dshaw added a project: Restricted Project.
dshaw added a subscriber: werner.

Please download and check the new release candidate where
this issue should be resolved. If you could confirm that, I
can close this bug.
http://lists.gnupg.org/pipermail/gnupg-users/2003-June/018873.html

dshaw removed a project: Restricted Project.

Didn't hear back. Assuming issue resolved in 1.2.3.