Need Help with C Compiler Error in AIX 5.3 During GnuPG Build

2019-09-23 Thread Rey Abeleda via Gnupg-users
Hi,

I am new to GnuPG and have recently subscribed to this mailing list to access 
to help from the GnuPG user community.

I downloaded GnuPG and required libraries and am attempting build of the first 
required package npth-1.6.

The ./configure step failed with the below error.

configure:3552: error: in `/fin3/app/app/capplmgr/mlc-rot/gnupg/npth-1.6':
configure:3554: error: C compiler cannot create executables
See `config.log' for more details


I looked in config.log and extracted the below excerpt that shows more details 
about the error.

:
IBM XL C/C++ Enterprise Edition for AIX, V9.0
Version: 09.00..
configure:3463: $? = 0
configure:3483: checking whether the C compiler works
configure:3505: cc $(INCLUDE_FLAGS) -U__STR__ -DAIXRIOS -DNLS_ASIA -DORE -D_BSD 
-DRIOS -qro -O -DAFSTUBS   conftest.c  >&5
cc: 1501-228 (W) input file $(INCLUDE_FLAGS) not found
configure:3509: $? = 252
configure:3547: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "npth"
| #define PACKAGE_TARNAME "npth"
| #define PACKAGE_VERSION "1.6"
| #define PACKAGE_STRING "npth 1.6"
| #define PACKAGE_BUGREPORT "https://bugs.gnupg.org";
| #define PACKAGE_URL ""
| #define PACKAGE "npth"
| #define VERSION "1.6"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3552: error: in `/fin3/app/app/capplmgr/mlc-rot/gnupg/npth-1.6':
configure:3554: error: C compiler cannot create executables
See `config.log' for more details
:

It seems that the key log entry here is the line: cc: 1501-228 (W) input file 
$(INCLUDE_FLAGS) not found

I would appreciate any help/advise on how to fix this error.

Thanks,
Rey

Reynaldo Abeleda
Senior Analyst, Engineer
Oracle Financials | Superannuation - Retail & Corporate | Wealth Technology
National Australia Bank
Level 7, 105 Miller St, North Sydney NSW 2060




The information contained in this email communication may be confidential. If 
you have received this email in error, please notify the sender by return 
email, delete this email and destroy any copy.

Any advice contained in this email has been prepared without taking into 
account your objectives, financial situation or needs. Before acting on any 
advice in this email, National Australia Bank Limited (NAB) recommends that you 
consider whether it is appropriate for your circumstances. If this email 
contains reference to any financial products, NAB recommends you consider the 
Product Disclosure Statement (PDS) or other disclosure document available from 
NAB, before making any decisions regarding any products.

If this email contains any promotional content that you do not wish to receive, 
please reply to the original sender and write "Don't email promotional 
material" in the subject.

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Need Help with C Compiler Error in AIX 5.3 During GnuPG Build

2019-09-23 Thread Werner Koch via Gnupg-users
On Mon, 23 Sep 2019 02:36, gnupg-users@gnupg.org said:

> configure:3554: error: C compiler cannot create executables

configure does an early test to see whether your C compiler works.  This
is done to detect crippled compilers delivered on some systems.  Seems
not the case here, though.

> configure:3505: cc $(INCLUDE_FLAGS) -U__STR__ -DAIXRIOS -DNLS_ASIA
> -DORE -D_BSD -DRIOS -qro -O -DAFSTUBS conftest.c >&5
> cc: 1501-228 (W) input file $(INCLUDE_FLAGS) not found

... $(INCLUDE_FLAGS) looks like a make macro and definitely does not
belong here.  Check whether you have set any of CFLAGS, CPPFLAGS,
LDFLAGS set in your environment or whether the envvar CC specifies these
flags.  It is also possible that cc is shell script or other wrapper
which invokes the real CC; check for uncommon things in your PATH.


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


signature.asc
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Upgrade query

2019-09-23 Thread Robert Knutson via Gnupg-users
We're currently running 1.4.7 and want to install and use gpg on a new
server.  I was hoping to install one of the latest 2.2.1.7 perhaps... Can
someone tell me if that is even possible?  I was hoping to just install the
new one and then move my /.gnupg dir over there rock-n-roll..Are these
version compatible or do we need to just install that same old version?

>

-- 


The information contained in this e-mail communication is solely intended 
for the person/legal person to whom it  has been sent, and as it may 
contain information of a personal or confidential nature, it may not be 
made public by virtue of law, regulations or agreement. If someone other 
than the intended recipient should receive or come into possession of this 
e-mail communication, he/she will not be entitled to read, disseminate, 
disclose or duplicate it. If you are not the intended recipient, you are 
requested to inform the sender of this e-mail message of this immediately, 
and to destroy the original e-mail communication. Neither Randstad N.V. nor 
its subsidiaries accept any liability for incorrect and incomplete 
transmission or delayed receipt of this e-mail. Randstad N.V. HR Amsterdam 
no.33216172
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


gnupg-2.2.17 install errors

2019-09-23 Thread Robert Knutson via Gnupg-users
I am STILL getting the same errrors with the "configure" (missing libs)
libgpg-error, libgcrypt, libassuan, libksba & npth even AFTER I installed
each of them   Is this a link issue of some kind?


configure:
***
*** You need libgpg-error to build this program.
**  This library is for example available at
***   https://gnupg.org/ftp/gcrypt/libgpg-error
*** (at least version 1.24 is required.)
***
configure:
***
*** You need libgcrypt to build this program.
**  This library is for example available at
***   https://gnupg.org/ftp/gcrypt/libgcrypt/
*** (at least version 1.7.0 (API 1) is required.)
***
configure:
***
*** You need libassuan to build this program.
*** This library is for example available at
***   https://gnupg.org/ftp/gcrypt/libassuan/
*** (at least version 2.5.0 (API 2) is required).
***
configure:
***
*** You need libksba to build this program.
*** This library is for example available at
***   https://gnupg.org/ftp/gcrypt/libksba/
*** (at least version 1.3.4 using API 1 is required).
***
configure:
***
*** It is now required to build with support for the
*** New Portable Threads Library (nPth). Please install this
*** library first.  The library is for example available at
***   https://gnupg.org/ftp/gcrypt/npth/
*** (at least version 1.2 (API 1) is required).
***
configure: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***



As far as I can tell they are all there as you see below..

# ls -ltr /usr/local/lib/
total 16088
-rwxr-xr-x1 root system   158316 Sep 23 11:00 libnpth.a
-rwxr-xr-x1 root system  914 Sep 23 11:00 libnpth.la
-rwxr-xr-x1 root system   994985 Sep 23 11:58 libgpg-error.a
-rwxr-xr-x1 root system  939 Sep 23 11:58 libgpg-error.la
-rwxr-xr-x1 root system  5129134 Sep 23 12:34 libgcrypt.a
-rwxr-xr-x1 root system  972 Sep 23 12:34 libgcrypt.la
-rwxr-xr-x1 root system   796166 Sep 23 12:36 libassuan.a
-rwxr-xr-x1 root system  970 Sep 23 12:36 libassuan.la
drwxr-xr-x2 root system  256 Sep 23 12:36 pkgconfig
-rwxr-xr-x1 root system  1128722 Sep 23 12:38 libksba.a
-rwxr-xr-x1 root system  962 Sep 23 12:38 libksba.la
#

-- 


The information contained in this e-mail communication is solely intended 
for the person/legal person to whom it  has been sent, and as it may 
contain information of a personal or confidential nature, it may not be 
made public by virtue of law, regulations or agreement. If someone other 
than the intended recipient should receive or come into possession of this 
e-mail communication, he/she will not be entitled to read, disseminate, 
disclose or duplicate it. If you are not the intended recipient, you are 
requested to inform the sender of this e-mail message of this immediately, 
and to destroy the original e-mail communication. Neither Randstad N.V. nor 
its subsidiaries accept any liability for incorrect and incomplete 
transmission or delayed receipt of this e-mail. Randstad N.V. HR Amsterdam 
no.33216172
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Upgrade query

2019-09-23 Thread Robert J. Hansen
Please send your email as plain text, not HTML.

> We're currently running 1.4.7 and want to install and use gpg on a new
> server.  I was hoping to install one of the latest 2.2.1.7 perhaps...
> Can someone tell me if that is even possible?  I was hoping to just
> install the new one and then move my /.gnupg dir over there
> rock-n-roll..    Are these version compatible or do we need to just
> install that same old version? 

Migrating from 1.4 to 2.2 is not quite *that* simple, but it isn't hard.
 A while ago I put together some detailed how-to notes: let me dig them
up and I'll get back to you.

Some people will tell you that yes, you can just install-and-go.  It's
certainly possible to *for some users*, but there are corner cases that
can complicate things -- which is why a checklist is useful.

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Upgrade query

2019-09-23 Thread Robert J. Hansen
> Migrating from 1.4 to 2.2 is not quite *that* simple, but it isn't hard.
>  A while ago I put together some detailed how-to notes: let me dig them
> up and I'll get back to you.

Can't immediately find them, but here goes.  This is a bit of a process
but it will leave you with a fresh, clean GnuPG 2.2 directory with all
of your GnuPG 1.4 data intact.  And it should also cover the vast
majority of the odd corner cases, too.



1.  Start by backing up your ~/.gnupg directory.  We're going to be
nuking, paving, and rebuilding.  Don't skip this, as there will be files
in here you'll definitely need.

2.  Get a list of every ultimately-trusted key on your keyring.  I do
this with standard command-line tools:

$ gpg --fixed-list-mode --with-colons --list-keys | \
  grep "^pub:u:" | cut -d ":" -f 5 > ~/trusted_keys.txt

3.  Export your entire public and private keyrings.

$ gpg --export-options export-local-sigs,export-sensitive-revkeys \
  --export > ~/pubkeys.gpg
$ gpg --export-secret-keys > ~/privkeys.gpg

4.  Kill gpg-agent.

$ killall gpg-agent

4.  Empty the ~/.gnupg dir.

$ rm -rf ~/.gnupg/*

5.  From the backup you made in step 1, restore the following files.
(You may not have all of them.  If you're missing some, or even most,
that's okay.)

dirmngr.conf
dirmngr.conf-1
dirmngr.conf-1.4
gpa.conf (no -1, -1.4 variants exist)
gpg.conf
gpg.conf-1
gpg.conf-1.4
gpg-agent.conf
gpg-agent.conf-1
gpg-agent.conf-1.4
gpgsm.conf
gpgsm.conf-1
gpgsm.conf-1.4
policies.txt
scdaemon.conf
scdaemon.conf-1
scdaemon.conf-1.4
scd-event
sshcontrol
trustlist.txt

6.  Look in your new ~/.gnupg dir for GnuPG 1.4-specific configuration
files:

$ ls ~/.gnupg/*.conf-1*

Then look for unversioned configuration files:

$ ls ~/.gnupg/*.conf

If you have, e.g., a gpg.conf-1 file but not a gpg.conf file, make a new
unversioned file out of the old one.  E.g.,

$ cp ~/.gnupg/gpg.conf-1 ~/.gnupg/gpg.conf

7.  Import your secret keys into gpg2:

$ gpg2 --import ~/sec.gpg
$ gpg2 --import-options import-local-sigs,import-clean \
   --import ~/pub.gpg

8.  Mark your previously ultimate-trusted keys as ultimate-trusted
again.  For each key in your ~/trusted_keys.txt file,

$ gpg2 --edit-key [insert key ID here] trust

Set each trust to ultimate by typing '5'.




... You should be done!

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users