Hello all,
Excuse me if this is not the correct place for this question.
I am (was?) trying to build the new version of
"sylpheed-claws-2.0.0-rc1" under opensuse 10.0 (linux 2.6.13-15) just
for fun.
I used the same "configure" options that are used in
"sylpheed-claws-1.9.100-0.pm.1.src.rpm" - the current version.
./configure --host=i686-suse-linux --build=i686-suse-linux
--target=i686-suse-linux --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --enable-crash-dialog --enable-openssl
--enable-spamassassin-plugin --enable-pgpcore-plugin
--enable-pgpmime-plugin --enable-pgpinline-plugin --enable-aspell
--enable-ldap --enable-jpilot --enable-gnomeprint
--enable-clamav-plugin --disable-mathml-viewer-plugin
--enable-dillo-viewer-plugin --enable-compface
The ".configure" runs fine.
If, however, I try to do a "make|gmake" or "rpmbuild --rebuild
--target=i686 sylpheed-claws-1.9.100-0.pm.1.src.rpm", I get a pile of
errors related to "gpgme.h" file
I was hoping that someone could give a few ideas on what I could try
next. The first sign of the error is
"/usr/include/gpgme.h:53:23: error: gpg-error.h: No
such file or directory..."
#####################################################
ERROR during build (SHORT)
#####################################################
-DPIC -o .libs/passphrase.o In file included from passphrase.h:23, from
passphrase.c:48: /usr/include/gpgme.h:53:23: error: gpg-error.h: No
such file or directory In file included from passphrase.h:23, from
passphrase.c:48: /usr/include/gpgme.h:95: error: syntax error before
‘gpgme_error_t’ /usr/include/gpgme.h:96: error: syntax error before
‘gpgme_err_code_t’ /usr/include/gpgme.h:97: error: syntax error before
‘gpgme_err_source_t’ /usr/include/gpgme.h:101: error: syntax error
before ‘gpgme_err_make’ /usr/include/gpgme.h:101: error: syntax error
before ‘source’
#####################################################
ERROR during build (LONG)
#####################################################
...
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../ -I../../common
-I../../gtk -pthread -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/gtk-2.0
-I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0
-I/opt/gnome/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
-Wno-deprecated-declarations -I/usr/local/include -g -O2 -Wall -MT
passphrase.lo -MD -MP -MF .deps/passphrase.Tpo -c passphrase.c -fPIC
-DPIC -o .libs/passphrase.o In file included from passphrase.h:23, from
passphrase.c:48: /usr/include/gpgme.h:53:23: error: gpg-error.h: No
such file or directory In file included from passphrase.h:23, from
passphrase.c:48: /usr/include/gpgme.h:95: error: syntax error before
‘gpgme_error_t’ /usr/include/gpgme.h:96: error: syntax error before
‘gpgme_err_code_t’ /usr/include/gpgme.h:97: error: syntax error before
‘gpgme_err_source_t’ /usr/include/gpgme.h:101: error: syntax error
before ‘gpgme_err_make’ /usr/include/gpgme.h:101: error: syntax error
before ‘source’ /usr/include/gpgme.h: In function
‘gpgme_err_make’: /usr/include/gpgme.h:103: error: ‘source’ undeclared
(first use in this function) /usr/include/gpgme.h:103: error: (Each
undeclared identifier is reported only once /usr/include/gpgme.h:103:
error: for each function it appears in.) /usr/include/gpgme.h:103:
error: ‘code’ undeclared (first use in this
function) /usr/include/gpgme.h: At top level: /usr/include/gpgme.h:114:
error: syntax error before ‘gpgme_error’ /usr/include/gpgme.h:114:
error: syntax error before ‘code’ /usr/include/gpgme.h: In function
‘gpgme_error’: /usr/include/gpgme.h:116: error: ‘GPG_ERR_SOURCE_USER_1’
undeclared (first use in this function) /usr/include/gpgme.h:116:
error: ‘code’ undeclared (first use in this
function) /usr/include/gpgme.h: At top level: /usr/include/gpgme.h:121:
error: syntax error before ‘gpgme_err_code’ /usr/include/gpgme.h:121:
error: syntax error before ‘err’ /usr/include/gpgme.h: In function
‘gpgme_err_code’: /usr/include/gpgme.h:123: error: ‘err’ undeclared
(first use in this function) /usr/include/gpgme.h: At top
level: /usr/include/gpgme.h:128: error: syntax error before
‘gpgme_err_source’ /usr/include/gpgme.h:128: error: syntax error before
‘err’ /usr/include/gpgme.h: In function
‘gpgme_err_source’: /usr/include/gpgme.h:130: error: ‘err’ undeclared
(first use in this function) /usr/include/gpgme.h: At top
level: /usr/include/gpgme.h:136: error: syntax error before
‘err’ /usr/include/gpgme.h:145: error: syntax error before
‘err’ /usr/include/gpgme.h:150: error: syntax error before
‘err’ /usr/include/gpgme.h:156: error: syntax error before
‘gpgme_err_code_from_errno’ /usr/include/gpgme.h:161: error: syntax
error before ‘code’ /usr/include/gpgme.h:166: error: syntax error
before ‘gpgme_err_make_from_errno’ /usr/include/gpgme.h:166: error:
syntax error before ‘source’ /usr/include/gpgme.h:170: error: syntax
error before ‘gpgme_error_from_errno’ /usr/include/gpgme.h:522: error:
syntax error before ‘gpgme_error_t’ /usr/include/gpgme.h:545: error:
syntax error before ‘}’ token /usr/include/gpgme.h:664: error: syntax
error before ‘*’ token /usr/include/gpgme.h:667: error: ‘gpgme_error_t’
declared as function returning a function /usr/include/gpgme.h:667:
error: ‘gpgme_error_t’ redeclared as different kind of
symbol /usr/include/gpgme.h:95: error: previous declaration of
‘gpgme_error_t’ was here /usr/include/gpgme.h:676: error:
‘gpgme_edit_cb_t’ declared as function returning a
function /usr/include/gpgme.h:682: error: ‘gpgme_new’ declared as
function returning a function /usr/include/gpgme.h:688: error:
‘gpgme_set_protocol’ declared as function returning a
function /usr/include/gpgme.h:716: error: ‘gpgme_set_keylist_mode’
declared as function returning a function /usr/include/gpgme.h:724:
error: syntax error before
‘gpgme_passphrase_cb_t’ /usr/include/gpgme.h:728: error: syntax error
before ‘gpgme_passphrase_cb_t’ /usr/include/gpgme.h:744: error:
‘gpgme_set_locale’ declared as function returning a
function /usr/include/gpgme.h:759: error: ‘gpgme_signers_add’ declared
as function returning a function /usr/include/gpgme.h:788: error:
‘gpgme_get_sig_key’ declared as function returning a
function /usr/include/gpgme.h:794: error: ‘gpgme_io_cb_t’ declared as
function returning a function /usr/include/gpgme.h:803: error:
‘gpgme_register_io_cb_t’ declared as function returning a
function /usr/include/gpgme.h:892: error: ‘gpgme_data_new’ declared as
function returning a function /usr/include/gpgme.h:902: error:
‘gpgme_data_new_from_mem’ declared as function returning a
function /usr/include/gpgme.h:911: error: ‘gpgme_data_new_from_cbs’
declared as function returning a function /usr/include/gpgme.h:913:
error: ‘gpgme_data_new_from_fd’ declared as function returning a
function /usr/include/gpgme.h:915: error: ‘gpgme_data_new_from_stream’
declared as function returning a function /usr/include/gpgme.h:922:
error: ‘gpgme_data_set_encoding’ declared as function returning a
function /usr/include/gpgme.h:933: error: ‘gpgme_data_new_with_read_cb’
declared as function returning a function /usr/include/gpgme.h:940:
error: ‘gpgme_data_new_from_file’ declared as function returning a
function /usr/include/gpgme.h:947: error:
‘gpgme_data_new_from_filepart’ declared as function returning a
function /usr/include/gpgme.h:951: error: ‘gpgme_data_rewind’ declared
as function returning a function /usr/include/gpgme.h:959: error:
‘gpgme_get_key’ declared as function returning a
function /usr/include/gpgme.h:1007: error: ‘gpgme_cancel’ declared as
function returning a function /usr/include/gpgme.h:1014: error: field
‘reason’ declared as a function /usr/include/gpgme.h:1041: error:
‘gpgme_op_encrypt_start’ declared as function returning a
function /usr/include/gpgme.h:1044: error: ‘gpgme_op_encrypt’ declared
as function returning a function /usr/include/gpgme.h:1053: error:
‘gpgme_op_encrypt_sign_start’ declared as function returning a
function /usr/include/gpgme.h:1056: error: ‘gpgme_op_encrypt_sign’
declared as function returning a function /usr/include/gpgme.h:1078:
error: ‘gpgme_op_decrypt_start’ declared as function returning a
function /usr/include/gpgme.h:1080: error: ‘gpgme_op_decrypt’ declared
as function returning a function /usr/include/gpgme.h:1086: error:
‘gpgme_op_decrypt_verify_start’ declared as function returning a
function /usr/include/gpgme.h:1088: error: ‘gpgme_op_decrypt_verify’
declared as function returning a function /usr/include/gpgme.h:1141:
error: ‘gpgme_op_sign_start’ declared as function returning a
function /usr/include/gpgme.h:1144: error: ‘gpgme_op_sign’ declared as
function returning a function /usr/include/gpgme.h:1187: error: field
‘status’ declared as a function /usr/include/gpgme.h:1205: error: field
‘validity_reason’ declared as a function /usr/include/gpgme.h:1221:
error: ‘gpgme_op_verify_start’ declared as function returning a
function /usr/include/gpgme.h:1224: error: ‘gpgme_op_verify’ declared
as function returning a function /usr/include/gpgme.h:1254: error:
field ‘result’ declared as a function /usr/include/gpgme.h:1317: error:
‘gpgme_op_import_start’ declared as function returning a
function /usr/include/gpgme.h:1318: error: ‘gpgme_op_import’ declared
as function returning a function /usr/include/gpgme.h:1320: error:
‘gpgme_op_import_ext’ declared as function returning a
function /usr/include/gpgme.h:1326: error: ‘gpgme_op_export_start’
declared as function returning a function /usr/include/gpgme.h:1328:
error: ‘gpgme_op_export’ declared as function returning a
function /usr/include/gpgme.h:1333: error: ‘gpgme_op_export_ext_start’
declared as function returning a function /usr/include/gpgme.h:1336:
error: ‘gpgme_op_export_ext’ declared as function returning a
function /usr/include/gpgme.h:1360: error: ‘gpgme_op_genkey_start’
declared as function returning a function /usr/include/gpgme.h:1362:
error: ‘gpgme_op_genkey’ declared as function returning a
function /usr/include/gpgme.h:1371: error: ‘gpgme_op_delete_start’
declared as function returning a function /usr/include/gpgme.h:1373:
error: ‘gpgme_op_delete’ declared as function returning a
function /usr/include/gpgme.h:1380: error: ‘gpgme_op_edit_start’
declared as function returning a function /usr/include/gpgme.h:1383:
error: ‘gpgme_op_edit’ declared as function returning a
function /usr/include/gpgme.h:1389: error: ‘gpgme_op_card_edit_start’
declared as function returning a function /usr/include/gpgme.h:1392:
error: ‘gpgme_op_card_edit’ declared as function returning a
function /usr/include/gpgme.h:1412: error: ‘gpgme_op_keylist_start’
declared as function returning a function /usr/include/gpgme.h:1415:
error: ‘gpgme_op_keylist_ext_start’ declared as function returning a
function /usr/include/gpgme.h:1418: error: ‘gpgme_op_keylist_next’
declared as function returning a function /usr/include/gpgme.h:1421:
error: ‘gpgme_op_keylist_end’ declared as function returning a
function /usr/include/gpgme.h:1463: error: ‘gpgme_op_trustlist_start’
declared as function returning a function /usr/include/gpgme.h:1467:
error: ‘gpgme_op_trustlist_next’ declared as function returning a
function /usr/include/gpgme.h:1470: error: ‘gpgme_op_trustlist_end’
declared as function returning a function /usr/include/gpgme.h:1506:
error: ‘gpgme_get_engine_info’ declared as function returning a
function /usr/include/gpgme.h:1513: error: ‘gpgme_engine_check_version’
declared as function returning a function /usr/include/gpgme.h:1533:
error: syntax error before ‘GpgmePassphraseCb’ In file included from
passphrase.c:48: passphrase.h:32: error: ‘gpgmegtk_passphrase_cb’
declared as function returning a function passphrase.c:297: error:
‘gpgmegtk_passphrase_cb’ declared as function returning a function
passphrase.c: In function ‘gpgmegtk_passphrase_cb’: passphrase.c:303:
error: ‘GPG_ERR_NO_ERROR’ undeclared (first use in this function)
passphrase.c:312: error: ‘GPG_ERR_CANCELED’ undeclared (first use in
this function) gmake[5]: *** [passphrase.lo] Error 1 gmake[5]: Leaving
directory `/space1/sylpheed-claws-2.0.0-rc1/src/plugins/pgpcore'
gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory
`/space1/sylpheed-claws-2.0.0-rc1/src/plugins' gmake[3]: ***
[all-recursive] Error 1 gmake[3]: Leaving directory
`/space1/sylpheed-claws-2.0.0-rc1/src' gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/space1/sylpheed-claws-2.0.0-rc1/src'
gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory
`/space1/sylpheed-claws-2.0.0-rc1' gmake: *** [all] Error 2
#####################################################
Has anyone else had the above error(s). The first one is
"/usr/include/gpgme.h:53:23: error: gpg-error.h: No such file or
directory"
Any help would be greatly appreciated.
TIA
James