Operating System - HP-UX
1827706 Members
2526 Online
109967 Solutions
New Discussion

Re: gnupg installation and compilation issues

 
Sridhara M
New Member

gnupg installation and compilation issues

We are getting the following errors while compiling. I ran ./configure before make install.

/opt/pgp-6.5.8/gnupg-1.4.9>make install

No suffix list.
Making install in m4
No suffix list.
No suffix list.
Making install in intl
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -Ae -D_HPUX_SOURCE bindtextdom.c
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
cpp: "libgnuintl.h", line 415: error 4065: Recursion in macro "libintl_set_relocation_prefix".
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Question: Do we need to install gcc or C/ANSI compiler.

It is on HP-UX 11.23

Appreciate your assistance. Any work around.
11 REPLIES 11
Steven Schweda
Honored Contributor

Re: gnupg installation and compilation issues

> Question: Do we need to install gcc or
> C/ANSI compiler.

Almost certainly. The bundled C compiler on
PA-RISC is too weak to do much real work.
(On IA64 it's only slightly better.)
Steven Schweda
Honored Contributor

Re: gnupg installation and compilation issues

Or, if you look around, you may be able to
find a built kit which is suitable for your
environment.
Dennis Handly
Acclaimed Contributor

Re: gnupg installation and compilation issues

>Do we need to install gcc or C/ANSI compiler.

Yes. Your K&R cpp doesn't ignore recursion in the define body as required by the Standard.

>Steven: (On IA64 it's only slightly better.)

Only slightly? ;-)
Isn't ANSI C so much better than K&R?
Steven Schweda
Honored Contributor

Re: gnupg installation and compilation issues

> Only slightly? ;-)

I'll admit that the IA64 bundled C compiler
was not crippled so effectively as the
PA-RISC bundled C compiler. I can't tell
whether that's because someone was being
nice, or it was just too much work to cripple
the IA64 compiler as thoroughly.

I'm not complaining about the IA64 compiler
being too good. (But give me a chance, and
I'll be happy to complain about not being
able to get a good compiler for HP-UX for the
same price ($0) as I can for Solaris, Tru64,
or VMS. Other than GCC, of course.)
Dennis Handly
Acclaimed Contributor

Re: gnupg installation and compilation issues

>Steven: it was just too much work to cripple the Integrity compiler as thoroughly.

Yes, because aC++ doesn't support K&R.
Sridhara M
New Member

Re: gnupg installation and compilation issues

I installed the eval version of C/ANSI compiler but getting the following errors when i tried to do make install. It complains about missing or empty ,/opt/aCC/newconfig/aCC.cwd. See below Is it the eval key?

Apprecaite your assistance
-------------------------------------------
Making install in intl
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -Ae -D_HPUX_SOURCE bindtextdom.c
Internal Error: Codeword file $TIMEBOMB_CWD,/opt/aCC/newconfig/aCC.cwd missing or empty.
-------------------------
Tim Nelson
Honored Contributor

Re: gnupg installation and compilation issues

Why not just use the ready to rock and roll version included on IExpress ??? Simplify your life ?

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123

Sridhara M
New Member

Re: gnupg installation and compilation issues

We will eventually go with that option. First we are trying on the sand box.
Steven Schweda
Honored Contributor

Re: gnupg installation and compilation issues

> Why not just use the ready to rock and roll
> version included on IExpress ???

If you can build an open-source product (like
GnuPG) from its sources, then:

1. You can probably get the latest version
working before you can find it already built
somewhere. The current GnuPG 1.x version is
1.4.9. I don't know what the latest HP-UX
Internet Express kit offers.

2. You can control the build-time options.
(GnuPG, for example, may include cURL or LDAP
support.) I don't know how the HP-UX
Internet Express kit was configured.

These considerations may not matter to
everyone, but not everyone likes rock and
roll, and sometimes it depends on the band.

> Simplify your life ?

Sometimes simplifying is good. Sometimes
it's not so good, especially when simplifying
one part of one's life complicates another
part of it.
Steven Schweda
Honored Contributor

Re: gnupg installation and compilation issues

> [...] Is it the eval key?

> [...] Internal Error: Codeword file [...]

Sure sounds like a key problem. What's in
the file it mentions? Did you get a trial
key (codeword) and install it properly?
Sridhara M
New Member

Re: gnupg installation and compilation issues

I don't have the key yet. I am trying to get the key and follow the steps to put that in and see if compiles without issues.

Thanks