[xmppd-dev] jabberd14 1.6 install help
Matthias Wimmer
m at tthias.eu
Sun Jan 4 11:56:09 CET 2009
Hi Paul!
Oh I forgot about this. This is a changed interface in GnuTLS. Fixed
this problem in the repository, but there is no new jabberd14 out there
that contains this fix yet.
Just remove the lines from "// load an OpenPGP key" (inclusive) to "//
setup protocols to use" (exclusive) from the file jabberd/mio_tls.cc and
it will compile (- or update your GnuTLS library).
It's normally save to remove these lines, they would only be used, if
you are doing TLS with OpenPGP keys instead of X.509 keys. By removing
these lines you just disable support for OpenPGP keys in TLS (which is
not used by anybody anyway).
Matthias
Paul Cahill schrieb:
> Okay. I've got all the necessary packages installed now. I ran make;make
> install and Here is the output:
> make install
> Making install in jabberd
> make[1]: Entering directory `/inet/install/jabberd14-1.6.1.2-pre3/jabberd'
> Making install in base
> make[2]: Entering directory
> `/inet/install/jabberd14-1.6.1.2-pre3/jabberd/base'
> make[3]: Entering directory
> `/inet/install/jabberd14-1.6.1.2-pre3/jabberd/base'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory
> `/inet/install/jabberd14-1.6.1.2-pre3/jabberd/base'
> make[2]: Leaving directory
> `/inet/install/jabberd14-1.6.1.2-pre3/jabberd/base'
> Making install in lib
> make[2]: Entering directory
> `/inet/install/jabberd14-1.6.1.2-pre3/jabberd/lib'
> make[3]: Entering directory
> `/inet/install/jabberd14-1.6.1.2-pre3/jabberd/lib'
> make[3]: Nothing to be done for `install-exec-am'.
> test -z "/inet/recycler/jabber/live/jabberd14/include" || /bin/mkdir -p
> "/inet/recycler/jabber/live/jabberd14/include"
> /usr/bin/install -c -m 644 'jabberdlib.h'
> '/inet/recycler/jabber/live/jabberd14/include/jabberdlib.h'
> make[3]: Leaving directory
> `/inet/install/jabberd14-1.6.1.2-pre3/jabberd/lib'
> make[2]: Leaving directory
> `/inet/install/jabberd14-1.6.1.2-pre3/jabberd/lib'
> make[2]: Entering directory `/inet/install/jabberd14-1.6.1.2-pre3/jabberd'
> /bin/bash ../libtool --tag=CXX --mode=compile g++
> -DLOCALEDIR=\"/inet/recycler/jabber/live/jabberd14/share/locale\"
> -DHAVE_CONFIG_H -I. -I.. -Ilib -g -O2 -MT mio_tls.lo -MD -MP -MF
> .deps/mio_tls.Tpo -c -o mio_tls.lo mio_tls.cc
> g++ -DLOCALEDIR=\"/inet/recycler/jabber/live/jabberd14/share/locale\"
> -DHAVE_CONFIG_H -I. -I.. -Ilib -g -O2 -MT mio_tls.lo -MD -MP -MF
> .deps/mio_tls.Tpo -c mio_tls.cc -fPIC -DPIC -o .libs/mio_tls.o
> /usr/include/gnutls/extra.h: In function ââ¬Ëvoid
> mio_tls_process_credentials(xmlnode_t*, const
> std::list<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, std::allocator<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > > >&, const
> std::list<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, std::allocator<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > > >&,
> gnutls_dh_params_int*, const std::list<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> std::allocator<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > > >&, const std::list<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> std::allocator<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > > >&)ââ¬â¢:
> /usr/include/gnutls/extra.h:69: error: too many arguments to function
> ââ¬Ëint
> gnutls_certificate_set_openpgp_key_file(gnutls_certificate_credentials_st*,
> const char*, const char*)ââ¬â¢
> mio_tls.cc:615: error: at this point in file
> /usr/include/gnutls/extra.h:90: error: too many arguments to function
> ââ¬Ëint
> gnutls_certificate_set_openpgp_keyring_file(gnutls_certificate_credentials_st*,
> const char*)ââ¬â¢
> mio_tls.cc:634: error: at this point in file
> mio_tls.cc: In function ââ¬Ëvoid mio_tls_process_key(xmlnode_t*, const
> std::list<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, std::allocator<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > > >&, const
> std::list<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, std::allocator<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > > >&,
> gnutls_dh_params_int*)ââ¬â¢:
> mio_tls.cc:811: warning: deprecated conversion from string constant to
> ââ¬Ëchar*ââ¬â¢
> make[2]: *** [mio_tls.lo] Error 1
> make[2]: Leaving directory `/inet/install/jabberd14-1.6.1.2-pre3/jabberd'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/inet/install/jabberd14-1.6.1.2-pre3/jabberd'
> make: *** [install-recursive] Error 1
>
> Those errors don't look like good ones. More advice? Thanks!
>
> Paul
>
> On Mon, Dec 29, 2008 at 6:23 PM, Matthias Wimmer <m at tthias.eu> wrote:
>
> Hi Paul!
>
> Paul Cahill schrieb:
>
> Okay, so after installing pkg-config, where do I need to go?
> I've never used the pkg-config software before. I still get
> the configure: error: Couldn't find required libidn installation
>
>
> Do you also still get the "checking for pkg-config... no"?
>
> If yes: check your pkg-config installation.
>
> If no: will, than you probably now miss the development package of
> libidn. (libidn11-dev)
>
> (You do not need to use anything from pkg-config yourself. This
> package is just required by the configure script itself to check for
> software that is installed.)
>
>
> Matthias
>
> _______________________________________________
> dev mailing list
> dev at xmppd.org <mailto:dev at xmppd.org>
> http://lists.xmppd.org/cgi-bin/listinfo/dev
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> dev mailing list
> dev at xmppd.org
> http://lists.xmppd.org/cgi-bin/listinfo/dev
-------------- nächster Teil --------------
Ein Dateianhang mit Bin�rdaten wurde abgetrennt...
Dateiname : smime.p7s
Dateityp : application/x-pkcs7-signature
Dateigr��e : 3271 bytes
Beschreibung: S/MIME Cryptographic Signature
URL : http://lists.xmppd.org/pipermail/dev/attachments/20090104/753a1bbf/attachment.bin
More information about the dev
mailing list