Originally posted by: SystemAdmin
pachai,
I regret it has taken me so long to respond.
> We are hoping to install gnupg-2.0.0 - It has prerequisites and corequisites
I am only aware of glibc required to use, and gcc required to build.
Please let me know of other prerequisites.
> I was wondering if there is a complete summary on this issue?
I wrote a spec file (rpm build script), included below.
Though not a complete summary, due to limited testing,
it should answer most of your questions.
Before using this in a secure situation, check the md5sum/sha1sum/...
of the .tar.gz with a trusted source (e.g.
http://www.gnupg.org/). Check the PATH/CPATH/LIBPATH/LD_LIBRARY_PATH settings that appear
in the %build section of the included .spec file.
As I am unfamiliar with IBM standard, most of these environment settings
are unnecessary, and a few may be problematic,
but some were required for our successful installation.
If you simply remove all the settings and attempt to build,
the error messages will probably indicate what variables
must be set from your environment.
I would appreciate learning the complete minimum settings for IBM standard.
I don't expect any debugging to be necessary except to,
tweak for versions of gnupg other than 1.4.5, and
remove unnecessary settings.
To use: (summary: detail according to local sysadmin policy)
1. Install rpm support.
2. cp the spec below into /usr/src/packages/SPECS/gnupg.spec
3. cp gnupg-%{version}.tar.gz from a trusted source
into /usr/src/packages/SOURCES .
4. Change Version: and Release: appropriately.
5. rpm -ba /usr/src/packages/SPECS/gnupg.spec
6. Debug as necessary.
7. cp /usr/src/packages/SRPMS/gnupg-* and
/usr/src/packages/RPMS/*/gnupg-* to /opt/freeware/gnupg/derived/
8. rpm -i /opt/freeware/gnupg/derived/gnupg-*.aix*.rpm
Hopefully helpful,
#AIX-Forum