• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] Gaim mit SSL kompilieren

Falkenstein

Hacker
Hallo!
Wie kompilier ich denn gaim 2.0.0.beta2 mit SSL?
Mit der rpm-Version funktioniert msn/SSL nicht.
Irgendein Paket fehlt bloss welches?
System ist OpenSuSE 10.0

Sowohl mit der CVS-Version wie auch mit dem src-Package bekomm ich den gleichen Fehler.







configure:
...
...
...

gaim 2.0.0cvs

Build Protocol Plugins........ : yes
Protocols to link statically.. :
Protocols to build dynamically : gg irc jabber msn novell oscar simple yahoo zephyr

UI Library.................... : GTK+ 2.x
SSL Library/Libraries......... : Mozilla NSS and GNUTLS

Build with Plugin support..... : yes
Build with Mono support....... : yes
Build with Perl support....... : yes
Build with Tcl support........ : yes
Build with Tk support......... : yes
Build with Audio support...... : yes
Build with GtkSpell support... : yes
Build with Voice/Video support : yes
Build with DBUS support....... : yes
DBUS session directory........ : /usr/share/dbus-1/services
Build with Cyrus SASL support. : no
Has you....................... : yes


Use kerberos 4 with zephyr.... : no
Use external libzephyr........ : no

Use XScreenSaver Extension.... : yes
Use X Session Management...... : yes
Use startup notification.......: no

Print debugging messages...... : no

Gaim will be installed in /opt/gnome/bin.
Warning: You have an old copy of gaim at /opt/gnome/bin/gaim.

configure complete, now type 'make'








make:
...
...
...
Making all in ssl
gmake[3]: Entering directory `/usr/local/src/gaim/gaim/plugins/ssl'
if /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DDATADIR=\"/opt/gnome/share\" -DLIBDIR=\"/opt/gnome/lib/gaim/\" -I../../src -Wall -Waggregate-return -Wcast-align -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wextra -Wno-sign-compare -Wno-unused-parameter -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -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/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/mozilla/include/nss -I/usr/include/nspr4 -I/opt/gnome/include -g -g -O2 -MT ssl-nss.lo -MD -MP -MF ".deps/ssl-nss.Tpo" -c -o ssl-nss.lo ssl-nss.c; \
then mv -f ".deps/ssl-nss.Tpo" ".deps/ssl-nss.Plo"; else rm -f ".deps/ssl-nss.Tpo"; exit 1; fi
ssl-nss.c:37:22: error: pk11func.h: No such file or directory
ssl-nss.c:39:20: error: secerr.h: No such file or directory
ssl-nss.c:40:20: error: secmod.h: No such file or directory
ssl-nss.c:41:17: error: ssl.h: No such file or directory
ssl-nss.c:42:20: error: sslerr.h: No such file or directory
ssl-nss.c:43:22: error: sslproto.h: No such file or directory
ssl-nss.c: In function `ssl_nss_init_nss':
ssl-nss.c:111: error: implicit declaration of function `NSS_NoDB_Init'
ssl-nss.c:111: warning: nested extern declaration of `NSS_NoDB_Init'
ssl-nss.c:119: error: implicit declaration of function `SECMOD_AddNewModule'
ssl-nss.c:119: warning: nested extern declaration of `SECMOD_AddNewModule'
ssl-nss.c:121: error: implicit declaration of function `NSS_SetDomesticPolicy'
ssl-nss.c:121: warning: nested extern declaration of `NSS_SetDomesticPolicy'
ssl-nss.c: At top level:
ssl-nss.c:128: error: syntax error before `ssl_auth_cert'
ssl-nss.c:130: warning: return type defaults to `int'
ssl-nss.c:130: warning: no previous prototype for `ssl_auth_cert'
ssl-nss.c: In function `ssl_auth_cert':
ssl-nss.c:131: error: `SECSuccess' undeclared (first use in this function)
ssl-nss.c:131: error: (Each undeclared identifier is reported only once
ssl-nss.c:131: error: for each function it appears in.)
ssl-nss.c: At top level:
ssl-nss.c:156: error: syntax error before `ssl_bad_cert'
ssl-nss.c:157: warning: return type defaults to `int'
ssl-nss.c:157: warning: no previous prototype for `ssl_bad_cert'
ssl-nss.c: In function `ssl_bad_cert':
ssl-nss.c:158: error: `SECStatus' undeclared (first use in this function)
ssl-nss.c:158: error: syntax error before `status'
ssl-nss.c:162: error: `status' undeclared (first use in this function)
ssl-nss.c:164: error: implicit declaration of function `PORT_GetError'
ssl-nss.c:164: warning: nested extern declaration of `PORT_GetError'
ssl-nss.c:168: error: `SEC_ERROR_INVALID_AVA' undeclared (first use in this function)
ssl-nss.c:169: error: `SEC_ERROR_INVALID_TIME' undeclared (first use in this function)
ssl-nss.c:170: error: `SEC_ERROR_BAD_SIGNATURE' undeclared (first use in this function)
ssl-nss.c:171: error: `SEC_ERROR_EXPIRED_CERTIFICATE' undeclared (first use in this function)
ssl-nss.c:172: error: `SEC_ERROR_UNKNOWN_ISSUER' undeclared (first use in this function)
ssl-nss.c:173: error: `SEC_ERROR_UNTRUSTED_CERT' undeclared (first use in this function)
ssl-nss.c:174: error: `SEC_ERROR_CERT_VALID' undeclared (first use in this function)
ssl-nss.c:175: error: `SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE' undeclared (first use in this function)
ssl-nss.c:176: error: `SEC_ERROR_CRL_EXPIRED' undeclared (first use in this function)
ssl-nss.c:177: error: `SEC_ERROR_CRL_BAD_SIGNATURE' undeclared (first use in this function)
ssl-nss.c:178: error: `SEC_ERROR_EXTENSION_VALUE_INVALID' undeclared (first use in this function)
ssl-nss.c:179: error: `SEC_ERROR_CA_CERT_INVALID' undeclared (first use in this function)
ssl-nss.c:180: error: `SEC_ERROR_CERT_USAGES_INVALID' undeclared (first use in this function)
ssl-nss.c:181: error: `SEC_ERROR_UNKNOWN_CRITICAL_EXTENSION' undeclared (first use in this function)
ssl-nss.c:182: error: `SECSuccess' undeclared (first use in this function)
ssl-nss.c:186: error: `SECFailure' undeclared (first use in this function)
ssl-nss.c: In function `ssl_nss_handshake_cb':
ssl-nss.c:218: error: implicit declaration of function `SSL_ForceHandshake'
ssl-nss.c:218: warning: nested extern declaration of `SSL_ForceHandshake'
ssl-nss.c:218: error: `SECSuccess' undeclared (first use in this function)
ssl-nss.c: In function `ssl_nss_connect_cb':
ssl-nss.c:270: error: implicit declaration of function `SSL_ImportFD'
ssl-nss.c:270: warning: nested extern declaration of `SSL_ImportFD'
ssl-nss.c:270: warning: assignment makes pointer from integer without a cast
ssl-nss.c:284: error: implicit declaration of function `SSL_OptionSet'
ssl-nss.c:284: warning: nested extern declaration of `SSL_OptionSet'
ssl-nss.c:284: error: `SSL_SECURITY' undeclared (first use in this function)
ssl-nss.c:285: error: `SSL_HANDSHAKE_AS_CLIENT' undeclared (first use in this function)
ssl-nss.c:287: error: implicit declaration of function `SSL_AuthCertificateHook'
ssl-nss.c:287: warning: nested extern declaration of `SSL_AuthCertificateHook'
ssl-nss.c:288: error: `SSLAuthCertificate' undeclared (first use in this function)
ssl-nss.c:288: error: syntax error before `ssl_auth_cert'
ssl-nss.c:290: error: implicit declaration of function `SSL_BadCertHook'
ssl-nss.c:290: warning: nested extern declaration of `SSL_BadCertHook'
ssl-nss.c:290: error: `SSLBadCertHandler' undeclared (first use in this function)
ssl-nss.c:290: error: syntax error before `ssl_bad_cert'
ssl-nss.c:293: error: implicit declaration of function `SSL_SetURL'
ssl-nss.c:293: warning: nested extern declaration of `SSL_SetURL'
ssl-nss.c:300: error: implicit declaration of function `SSL_ResetHandshake'
ssl-nss.c:300: warning: nested extern declaration of `SSL_ResetHandshake'
gmake[3]: *** [ssl-nss.lo] Fehler 1
gmake[3]: Leaving directory `/usr/local/src/gaim/gaim/plugins/ssl'
gmake[2]: *** [all-recursive] Fehler 1
gmake[2]: Leaving directory `/usr/local/src/gaim/gaim/plugins'
gmake[1]: *** [all-recursive] Fehler 1
gmake[1]: Leaving directory `/usr/local/src/gaim/gaim'
gmake: *** [all] Fehler 2
linux:/usr/local/src/gaim/gaim #
 

LittleDream

Newbie
bei mir läuft es durch. ich habe folgende ssl pakete installiert:

openssl-devel, gnutls-devel, mozilla-nss-devel

denke, dass die pakete etwas damit zu tun haben werden ...
 
OP
Falkenstein

Falkenstein

Hacker
Das kanns eigentlich nicht sein,

linux:~ # smart install openssl-devel gnutls-devel mozilla-nss-devel
Lade Zwischenspeicher...
Update Zwischenspeicher... ################################################################################# [100%]

WARNUNG!: openssl-devel-0.9.7g-2.2@i586 ist bereits installiert
WARNUNG!: gnutls-devel-1.2.5-3@i586 ist bereits installiert
WARNUNG!: mozilla-nss-devel-3.11-11@i586 ist bereits installiert
Berechne Vorgang ...
Sichere Zwischenspeicher...

Irgendwas haut mit ssl-nss nicht hin.
Falsche Version?

/update

Hab mir andere mozilla-nss(-devel) -Packages besorgt.
Jetzt läuft das Kompilieren durch.
Beim Anmelden auf msn bekomm ich die Fehlermeldung:
"Für msn wird SSL benötigt. Besorgen Sie sich..."

Als rpm läuft 2.0.0.beta2 ja, aber ohne SSL
 
OP
Falkenstein

Falkenstein

Hacker
Jetzt gehts. Weiss der Geier warum. Hab eigentlich nur das "Plugin-Pack" mit SSL-Info und gaim-2.0.0beta2.rpm installiert und komm jetzt bei msn rein.
 
Oben