Possible errors building gnupg 2.07 under leopard mac os x 10.5
Enrico Sorichetti
enricosorichetti at mac.com
Mon Nov 12 14:17:10 CET 2007
This is my first post, let me know if I unknowingly infringed any rule
I am trying to build gnupg 2.0.7 on leopard and I am getting the
following errors
********************************************************
Making all in g10
gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../common -I../include -I../
intl -DLOCALEDIR=\"/usr/local/share/locale\" -DGNUPG_BINDIR="\"/usr/
local/bin\"" -DGNUPG_LIBEXECDIR="\"/usr/local/libexec\"" -
DGNUPG_LIBDIR="\"/usr/local/lib/gnupg\"" -DGNUPG_DATADIR="\"/usr/local/
share/gnupg\"" -DGNUPG_SYSCONFDIR="\"/usr/local/etc/gnupg\"" -I/
usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/
local/include -g -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT
status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c
status.c:391: error: two or more data types in declaration specifiers
status.c: In function 'do_get_from_fd':
status.c:391: error: parameter name omitted
status.c:399: error: syntax error before '_Bool'
status.c:426: error: syntax error before '_Bool'
make[2]: *** [status.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
********************************************************
the function involved in g10/status.c is :
do_get_from_fd( const char *keyword, int hidden, int bool )
I am not an expert, but ...
changing the variable "bool" to ( I choosed ) flag
lets the compilation succeed
before starting I had installed all the prerequisite packages in "/usr/
local"
as per my habit I used ./configure --disable-nls for all of them
and it seemed that everything was ok, But
after fixing issue 1 I got :
********************************************************
Making all in openpgp
../../g10/gpg2 --homedir . --quiet --yes --no-permission-warning --
import ./pubdemo.asc
dyld: lazy symbol binding failed: Symbol not found: __gcry_mpih_sub_n
Referenced from: /usr/local/lib/libgcrypt.11.dylib
Expected in: flat namespace
dyld: Symbol not found: __gcry_mpih_sub_n
Referenced from: /usr/local/lib/libgcrypt.11.dylib
Expected in: flat namespace
make[3]: *** [prepared.stamp] Trace/BPT trap
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
********************************************************
I wonder if I have done something wrong,
and where can I start to try to debug the problem..
I ran the make a second time after
export DYLD_LIBRARY_PATH=/usr/local/lib
but with same result
regards
enrico sorichetti
More information about the Gnupg-devel
mailing list