System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Install gnugp 1.4.10 on HP UX 11.23

Fandi Kurnia
Frequent Advisor

Install gnugp 1.4.10 on HP UX 11.23

Hello experts,

I need your help. I install gnugp1.4.10 on HP UX 11.23, i have followed step. But I got Error on command "make". Who ever solved the problem.

there is some messages :
# pwd
/installer/gnupg-1.4.10

#./configure
...
...
config.status: creating tools/gpg-zip
config.status: creating zlib/Makefile
config.status: creating checks/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking ./mpi/generic/mpih-add1.c to mpi/mpih-add1.c
config.status: linking ./mpi/generic/mpih-mul1.c to mpi/mpih-mul1.c
config.status: linking ./mpi/generic/mpih-mul2.c to mpi/mpih-mul2.c
config.status: linking ./mpi/generic/mpih-mul3.c to mpi/mpih-mul3.c
config.status: linking ./mpi/generic/mpih-lshift.c to mpi/mpih-lshift.c
config.status: linking ./mpi/generic/mpih-rshift.c to mpi/mpih-rshift.c
config.status: linking ./mpi/generic/mpih-sub1.c to mpi/mpih-sub1.c
config.status: linking ./mpi/generic/mpi-asm-defs.h to mpi/mpi-asm-defs.h
config.status: linking ./zlib/zlib.h to zlib.h
config.status: linking ./zlib/zconf.h to zconf.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Version info: gnupg 1.4.10
Configured for: HP-UX (ia64-hp-hpux11.23)


when I execute 'make', error appear :

# make
No suffix list.
make all-recursive
No suffix list.
Making all in m4
No suffix list.
No suffix list.
Making all in intl
: -y -d --name-prefix=__gettext --output plural.c plural.y
rm -f plural.h
Making all in zlib
Making all in util
No suffix list.
Making all in mpi
No suffix list.
Making all in cipher
No suffix list.
Making all in tools
Making all in g10
No suffix list.
source='app-openpgp.c' object='app-openpgp.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../intl -DLOCALEDIR="\"/usr/local/share/locale\"" -DGNUPG_LIBEXECDIR="\"/usr/local/libexec/gnupg\"" -DGNUPG_DATADIR="\"/usr/local/share/gnupg\"" -DGNUPG_LIBDIR="\"/usr/local/lib/gnupg\"" -Ae -D_HPUX_SOURCE -c app-openpgp.c
(Bundled) cc: warning 922: "-Ae" is unsupported in the bundled compiler, ignored.
Warning 942: "app-openpgp.c", line 2095 # Types 'const unsigned char *' and
'char *' are not assignment-compatible.
pinvalue, strlen (pinvalue));
^^^^^^^^
Error 277: "app-openpgp.c", line 3601 # Type qualifier 'const' is repeated in
declaration.
const char const desc[3][5] = {"sign", "encr", "auth"};
^^^^^
Warning 867: "app-openpgp.c", line 3601 # 'const' specifier is repeated in
declaration.
const char const desc[3][5] = {"sign", "encr", "auth"};
^^^^^
*** Error exit code 2

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.


I cannot install gnugp. Any suggestion for my problem experts.


regards


Fandi Kurnia
9 REPLIES
Horia Chirculescu
Honored Contributor

Re: Install gnugp 1.4.10 on HP UX 11.23

>gnugp1.4.10

Any reason why you need this old version?

You could use the binary depot for version 2.0.12 from porting page:

http://hpux.connect.org.uk/hppd/hpux/Users/gnupg-2.0.12/

Do not forget to check/install all the dependencies (Run-time dependencies)!

Horia.
Best regards from Romania,
Horia.
James R. Ferguson
Acclaimed Contributor

Re: Install gnugp 1.4.10 on HP UX 11.23

Hi:

You are attempting to compile with the bundled C compiler:

> (Bundled) cc: warning 922: "-Ae" is unsupported in the bundled compiler, ignored.

You need the ANSI C compiler from HP or a GNU C compiler to do any serious compilation:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AA

or:

http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.3/

Regards!

...JRF...
Steven Schweda
Honored Contributor

Re: Install gnugp 1.4.10 on HP UX 11.23

> >gnugp1.4.10
>
> Any reason why you need this old version?
>
> You could use the binary depot for version
> 2.0.12 [...]

GnuPG 1.4.10 is newer than 2.0.12.

http://gnupg.org/

[...]
GnuPG comes in two flavours: 1.4.10 is
the well known and portable standalone
version, whereas 2.0.14 is the enhanced
and somewhat harder to build version.
[...]

> # make
> No suffix list.
> [...]

I normally build GnuPG on VMS, so I know
nothing, but I'd guess that you need to use
GNU "make", not the relatively old-fashioned
HP-UX "make". As already suggested, using
GCC instead of "(Bundled) cc" might also be
wise.
Horia Chirculescu
Honored Contributor

Re: Install gnugp 1.4.10 on HP UX 11.23

Steven, when I said "old version" I meant this: (extracted from the same web page
http://www.gnupg.org/download/
)

"GnuPG 2.0

GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP and S/MIME"

This is the new version and it is a step forward on my opinion (comparing to 1.4 branch version).

Horia.
Best regards from Romania,
Horia.
Steven Schweda
Honored Contributor

Re: Install gnugp 1.4.10 on HP UX 11.23

> This is the new version and it is a step
> forward on my opinion (comparing to 1.4
> branch version).

That depends on which way "forward" is.

> Do not forget to check/install all the
> dependencies (Run-time dependencies)!

How many does 1.4.x have? 2.0.x?

The fact remains that 1.4.10 is current,
while the suggested 2.0.12 is two (bug-fix?)
versions behind current (2.0.14).

"We will keep maintaining GnuPG-1 versions
because they are very useful for small
systems and for server based applications
requiring only OpenPGP support."
Horia Chirculescu
Honored Contributor

Re: Install gnugp 1.4.10 on HP UX 11.23

>The fact remains that 1.4.10 is current,

It is the current version from the 1.4 branch.

>while the suggested 2.0.12 is two (bug-fix?)
versions behind current (2.0.14).

Yes, true, but this is something else.
The 2.0.12 is a compiled package available from a trusted source for HP-UX.

>"We will keep maintaining GnuPG-1 versions
This is what i am talking. GnuPG-1 is a "still supported version". Version 2 is the new thing.


Horia.
Best regards from Romania,
Horia.
Fandi Kurnia
Frequent Advisor

Re: Install gnugp 1.4.10 on HP UX 11.23

thx for reply all,

why I using , gnugp 1.4.x, because I found it in from gnugp websites. Horia, i try your gnugp, thx horia.

James R Ferguson :
Thank you, maybe that main solution for my problem. I will install it, and I will report to you, if I get any problem on installation.

Steven Schweda & Horia :

thank you for your inter-exchange earnings of gnugp, the more I understand and clear about the HP UX itself. God bless you.

Regard
Fandi
Dennis Handly
Acclaimed Contributor

Re: Install gnugp 1.4.10 on HP UX 11.23

>Error 277: "app-openpgp.c", line 3601 # Type qualifier 'const' is repeated in
declaration.
const char const desc[3][5] = {"sign", "encr", "auth"};

You could fix the error and remove the redundant "const".
Fandi Kurnia
Frequent Advisor

Re: Install gnugp 1.4.10 on HP UX 11.23

Thank for horia, james, steven , and handly for all solution. This best solutions are horia and james. Now I can sleep.


Regards

Fandi.