Mailing List Archive

Digital alpha binaries
Has anyone compiled gnupgp for Digital Unix systems running on digital
Alpha servers? I have been trying unsuccessfully so far to get
Mindpsring/Earthlink to compile it on their server to use with a virtual
host account we have. Any help appreciated.

Gary
Re: Digital alpha binaries [ In reply to ]
gnielson writes:
> Has anyone compiled gnupgp for Digital Unix systems running on digital
> Alpha servers? I have been trying unsuccessfully so far to get
> Mindpsring/Earthlink to compile it on their server to use with a virtual
> host account we have. Any help appreciated.

I have compiled it successfully on Dec Unix 4.0F with gcc 2.95.2. But
there are several issues:

- I would rather not use gcc on this platform because it's buggy; but
compiling with cc fails in ./include/types.h

- make check fails in 18 out of 23 tests

- there is no mlock() on this platform

- I'm using the same ~/.gnupg/entropy socket with egd running on a
number of machines. I don't know whether this causes problems.

Details available on request. I am very interested to get this
working across all systems on our network.
Re: Digital alpha binaries [ In reply to ]
Update:

> - I would rather not use gcc on this platform because it's buggy; but
> compiling with cc fails in ./include/types.h

Here is one way to compile with DU cc:

$ CC='cc -std' CPPFLAGS=-I/usr/local/include CFLAGS=-O2 ./configure --enable-static-rnd=egd --disable-nls --disable-asm

CC requires -std (relaxed ANSI mode). The default is K&R mode (== -std0).
CPPFLAGS is needed because I have zlib includes in there (funny enough, I
don't need the corresponding LDFLAGS=-L/usr/local/lib for libz.so. cc finds
it anyway).
CFLAGS are a matter of personal preference.
DU has no /dev/random, so I'm using egd.
--disable-asm: If you try to use asm modules, the compiler driver invokes
a program calles ugen. It's not on my system, I don't know what it does
(and I don't have the OS CD's here anymore). The asm files all have a .S
suffix. Read here what the compiler does to .S files:

http://x26.deja.com/[ST_rn=ps]/getdoc.xp?AN=455794538&CONTEXT=947795209.1650327563&hitnum=0


Here is another way:

$ CC='cc -std' CPPFLAGS=-I/usr/local/include CFLAGS=-O2 ./configure --enable-static-rnd=egd --disable-nls

Then, cd into mpi/ and rename all .S files to .s:

$ for i in *.S ; do mv $i `basename $i .S`.s ; done

cd .. and make.


> - make check fails in 18 out of 23 tests

No change.

> - there is no mlock() on this platform

No change.

> - I'm using the same ~/.gnupg/entropy socket with egd running on a
> number of machines. I don't know whether this causes problems.

No change.

--
cursor address, n:
"Hello, cursor!"
-- Stan Kelly-Bootle, "The Devil's DP Dictionary"