Manuell installation av app, bitlbee

Frågor om LiveCDn samt installation och uppgradering av Ubuntu och dess varianter
Användarvisningsbild
mildred80
Inlägg: 41
Blev medlem: 08 apr 2009, 20:18
OS: Ubuntu
Utgåva: 22.04 Jammy Jellyfish LTS
Kontakt:

Manuell installation av app, bitlbee

Inlägg av mildred80 »

Jag vill börja använda Bitlbee, jag har använt det tidigare och det är riktigt nice...men jag har nu problem med installationen. Den version som finns i repon funkar inte för msn, det är en känd bugg.
Denna buggen är fixad sedan ganska länge, men den har inte kommit in till repona än. Därför vill jag installera den manuellt. Jag får inte det att fungera, hoppas att någon kan hjälpa mig. Det ser ut såhär:

I /usr/local/src ligger bitlbee-1.2.8:

Kod: Markera allt

./configure --ssl=openssl
BitlBee configure

No detection code exists for OpenSSL. Make sure that you have a complete
install of OpenSSL (including devel/header files) before reporting
compilation problems.

Also, keep in mind that the OpenSSL is, according to some people, not
completely GPL-compatible. Using GnuTLS or NSS is recommended and better
supported by us. However, on many BSD machines, OpenSSL can be considered
part of the operating system, which makes it GPL-compatible.

For more info, see: http://www.openssl.org/support/faq.html#LEGAL2
                    http://www.gnome.org/~markmc/openssl-and-the-gpl.html

Please note that distributing a BitlBee binary which links to OpenSSL is
probably illegal. If you want to create and distribute a binary BitlBee
package, you really should use GnuTLS or NSS instead.

Also, the OpenSSL license requires us to say this:
 *    "This product includes software developed by the OpenSSL Project
 *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"

Architecture: Linux

Configuration done:
  Debugging disabled.
  Binary stripping enabled.
  Using event handler: glib
  Using SSL library: openssl
  Building with these storage backends: text xml
  Building with these protocols: msn jabber oscar yahoo twitter
make ger:

Kod: Markera allt

* Compiling account.c
* Compiling bitlbee.c
bitlbee.c: In function ‘bitlbee_daemon_init’:
bitlbee.c:138: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
* Compiling chat.c
* Compiling crypting.c
* Compiling help.c
help.c: In function ‘help_get’:
help.c:160: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
* Compiling ipc.c
* Compiling irc.c
irc.c: In function ‘irc_motd’:
irc.c:905: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
* Compiling irc_commands.c
* Compiling nick.c
* Compiling query.c
* Compiling root_commands.c
* Compiling set.c
* Compiling storage.c
* Compiling storage_text.c
storage_text.c: In function ‘text_load’:
storage_text.c:60: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
storage_text.c: In function ‘text_check_pass’:
storage_text.c:122: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
* Compiling storage_xml.c
* Compiling user.c
* Compiling unix.c
unix.c: In function ‘main’:
unix.c:156: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
* Compiling conf.c
* Compiling log.c
make[1]: Går till katalogen "/usr/local/src/bitlbee-1.2.8/lib"
* Compiling arc.c
* Compiling base64.c
* Compiling events_glib.c
* Compiling http_client.c
* Compiling ini.c
* Compiling md5.c
* Compiling misc.c
* Compiling oauth.c
* Compiling proxy.c
* Compiling sha1.c
* Compiling ssl_openssl.c
ssl_openssl.c:26:28: error: openssl/crypto.h: Filen eller katalogen finns inte
ssl_openssl.c:27:26: error: openssl/rand.h: Filen eller katalogen finns inte
ssl_openssl.c:28:26: error: openssl/x509.h: Filen eller katalogen finns inte
ssl_openssl.c:29:25: error: openssl/pem.h: Filen eller katalogen finns inte
ssl_openssl.c:30:25: error: openssl/ssl.h: Filen eller katalogen finns inte
ssl_openssl.c:31:25: error: openssl/err.h: Filen eller katalogen finns inte
ssl_openssl.c:50: error: expected specifier-qualifier-list before ‘SSL’
ssl_openssl.c: In function ‘ssl_connected’:
ssl_openssl.c:110: error: ‘SSL_METHOD’ undeclared (first use in this function)
ssl_openssl.c:110: error: (Each undeclared identifier is reported only once
ssl_openssl.c:110: error: for each function it appears in.)
ssl_openssl.c:110: error: ‘meth’ undeclared (first use in this function)
ssl_openssl.c:118: warning: implicit declaration of function ‘SSLeay_add_ssl_algorithms’
ssl_openssl.c:121: warning: implicit declaration of function ‘TLSv1_client_method’
ssl_openssl.c:122: error: ‘struct scd’ has no member named ‘ssl_ctx’
ssl_openssl.c:122: warning: implicit declaration of function ‘SSL_CTX_new’
ssl_openssl.c:123: error: ‘struct scd’ has no member named ‘ssl_ctx’
ssl_openssl.c:126: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:126: warning: implicit declaration of function ‘SSL_new’
ssl_openssl.c:126: error: ‘struct scd’ has no member named ‘ssl_ctx’
ssl_openssl.c:127: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:132: warning: implicit declaration of function ‘SSL_set_fd’
ssl_openssl.c:132: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:139: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:141: warning: implicit declaration of function ‘SSL_shutdown’
ssl_openssl.c:141: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:142: warning: implicit declaration of function ‘SSL_free’
ssl_openssl.c:142: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:144: error: ‘struct scd’ has no member named ‘ssl_ctx’
ssl_openssl.c:146: warning: implicit declaration of function ‘SSL_CTX_free’
ssl_openssl.c:146: error: ‘struct scd’ has no member named ‘ssl_ctx’
ssl_openssl.c: In function ‘ssl_handshake’:
ssl_openssl.c:160: warning: implicit declaration of function ‘SSL_connect’
ssl_openssl.c:160: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:162: warning: implicit declaration of function ‘SSL_get_error’
ssl_openssl.c:162: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:163: error: ‘SSL_ERROR_WANT_READ’ undeclared (first use in this function)
ssl_openssl.c:163: error: ‘SSL_ERROR_WANT_WRITE’ undeclared (first use in this function)
ssl_openssl.c:167: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:168: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:169: error: ‘struct scd’ has no member named ‘ssl_ctx’
ssl_openssl.c: In function ‘ssl_read’:
ssl_openssl.c:197: warning: implicit declaration of function ‘SSL_read’
ssl_openssl.c:197: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:202: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:203: error: ‘SSL_ERROR_WANT_READ’ undeclared (first use in this function)
ssl_openssl.c:203: error: ‘SSL_ERROR_WANT_WRITE’ undeclared (first use in this function)
ssl_openssl.c: In function ‘ssl_write’:
ssl_openssl.c:220: warning: implicit declaration of function ‘SSL_write’
ssl_openssl.c:220: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:225: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:226: error: ‘SSL_ERROR_WANT_READ’ undeclared (first use in this function)
ssl_openssl.c:226: error: ‘SSL_ERROR_WANT_WRITE’ undeclared (first use in this function)
ssl_openssl.c: In function ‘ssl_pending’:
ssl_openssl.c:245: warning: implicit declaration of function ‘SSL_pending’
ssl_openssl.c:245: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c: In function ‘ssl_disconnect’:
ssl_openssl.c:256: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:260: error: ‘struct scd’ has no member named ‘ssl’
ssl_openssl.c:261: error: ‘struct scd’ has no member named ‘ssl_ctx’
ssl_openssl.c: In function ‘ssl_getdirection’:
ssl_openssl.c:272: error: ‘SSL_ERROR_WANT_WRITE’ undeclared (first use in this function)
make[1]: *** [ssl_openssl.o] Fel 1
make[1]: Lämnar katalogen "/usr/local/src/bitlbee-1.2.8/lib"
make: *** [lib] Fel 2
sudo checkinstall ger till sist:

Kod: Markera allt

checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.


The package documentation directory ./doc-pak does not exist. 
Should I create a default set of package docs?  [y]: 

Preparing package documentation...OK

Please write a description for the package.
End your description with an empty line or EOF.
>> 

*****************************************
**** Debian package creation selected ***
*****************************************

This package will be built according to these values: 

0 -  Maintainer: [ root@zelda ]
1 -  Summary: [ Package created with checkinstall 1.6.1 ]
2 -  Name:    [ bitlbee ]
3 -  Version: [ 1.2.8 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ amd64 ]
8 -  Source location: [ bitlbee-1.2.8 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ bitlbee ]

Enter a number to change any of them or press ENTER to continue: 

Installing with make...Installing with install...

========================= Installation results ===========================
mkdir -p /usr/local/sbin/
install -m 0755 bitlbee /usr/local/sbin//bitlbee
install: kan inte ta status på "bitlbee": Filen eller katalogen finns inte
make: *** [install-bin] Fel 1

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.
Det blev en hel del kod här, men kan någon se vad som gör att det inte går igenom? Själv kan jag för lite om hur ubuntu och paketen fungerar...alla tips tas tacksamt emot.
Användarvisningsbild
micke_nordin
Inlägg: 1539
Blev medlem: 21 aug 2008, 17:03
OS: Ubuntu
Utgåva: 22.10 Kinetic Kudu
Kontakt:

Re: Manuell installation av app, bitlbee

Inlägg av micke_nordin »

Det var ju ett tag sedan du skrev det här, men det verkar inte som om du har openssl installerat som du ska, iaf inte utveckligsfilerna:

sudo apt-get install libssl-dev

sedan borde det funka. Om man ska bygga källkod för ett paket som finns i repona tjänar man ofta på att köra:

sudo apt-get build-dep <paket namn>

för att få så många dependencies som möjligt.

/Micke
Skriv svar

Återgå till "Installation och uppgradering"