Author Topic: GNUnet Installation  (Read 7102 times)

0 Members and 1 Guest are viewing this topic.

Offline Zipsel

  • Advanced
  • ***
  • Posts: 162
  • Karma: +1/-0
    • View Profile
GNUnet Installation
« on: August 25, 2005, 08:25:27 AM »
Hi

After "gnunetd" on prompt I get the error: "Configuration file must specify a directory for GNUnet to store per-peer data under GNUNETD\GNUNETD_HOME."

Where can I do that? In gnunetd.conf?
I found no docu...

(0.7.0pre6 / SuSE 9.3)

Thx for help!
Zipsel

Offline ndurner

  • Advanced
  • ***
  • Posts: 176
  • Karma: +5/-1
  • Planet Peer Community
    • View Profile
    • Nils Durner
Re: GNUnet Installation
« Reply #1 on: August 25, 2005, 02:38:17 PM »
Hi,

yes, the setting is
Code: [Select]
[GNUNETD]
GNUNETD_HOME = "/var/lib/GNUnet"
in gnunetd.conf

However, "gnunet-setup" is the preferred way to configure GNUnet:
Code: [Select]
gnunet-setup -d wizard-gtk


   Nils

Offline Zipsel

  • Advanced
  • ***
  • Posts: 162
  • Karma: +1/-0
    • View Profile
Re: GNUnet Installation
« Reply #2 on: August 25, 2005, 07:18:33 PM »
Hi Nils,

many thx!

Zipsel

Offline Zipsel

  • Advanced
  • ***
  • Posts: 162
  • Karma: +1/-0
    • View Profile
Re: GNUnet Installation
« Reply #3 on: August 27, 2005, 05:38:11 AM »
Hi!

Now I get the error:
Quote
Aug 27 08:10:46 Failure at clientapi.c:173.
Aug 27 08:10:46 WARNING: `send' failed at io.c:290 with error: Connection refused

on running "gnunet-gkt".

on running "dur:~/bin # ./gnunetd -d" I get:
Quote
Aug 27 08:37:35 ERROR: `lt_dlopenext' failed for library `libgnunetmodule_identity' at dso.c:99 with error: libgnunetmodule_identity.so: cannot open shared object file: No such file or directory
Aug 27 08:37:35 FATAL: Identity plugin not found!
Aborted

any idea?

Thx
« Last Edit: August 27, 2005, 05:47:15 AM by Zipsel »

Offline ndurner

  • Advanced
  • ***
  • Posts: 176
  • Karma: +5/-1
  • Planet Peer Community
    • View Profile
    • Nils Durner
Re: GNUnet Installation
« Reply #4 on: August 27, 2005, 08:41:25 AM »
Hi,

Quote
Quote
Aug 27 08:10:46 Failure at clientapi.c:173.
Aug 27 08:10:46 WARNING: `send' failed at io.c:290 with error: Connection refused

on running "gnunet-gkt".
That means that gnunetd is not running.


Quote
Aug 27 08:37:35 ERROR: `lt_dlopenext' failed for library `libgnunetmodule_identity' at dso.c:99 with error: libgnunetmodule_identity.so: cannot open shared object file: No such file or directory
Aug 27 08:37:35 FATAL: Identity plugin not found!
Aborted
libgnunetmodule_identity.so was not found.

Try
Code: [Select]
updatedb && locate libgnunetmodule_identity.so
This tells you where libgnunetmodule_identity.so is located on your system.

I bet it was installed to /usr/local/lib/GNUnet, so add this directory to your search path:
Code: [Select]
ldconfig /usr/local/lib/GNUnet


   Nils

Offline Zipsel

  • Advanced
  • ***
  • Posts: 162
  • Karma: +1/-0
    • View Profile
Re: GNUnet Installation
« Reply #5 on: August 27, 2005, 06:56:58 PM »
Hi Nils!

It´s the same:
Quote
Arnaldur:~/bin # ldconfig /root/lib/GNUnet/
Arnaldur:~/bin # ./gnunetd -d
Aug 27 20:24:56 ERROR: `lt_dlopenext' failed for library `libgnunetmodule_identity' at dso.c:99 with error: libgnunetmodule_identity.so: cannot open shared object file: No such file or directory
Aug 27 20:24:56 FATAL: Identity plugin not found!
Aborted

CU,
Zipsel

Offline ndurner

  • Advanced
  • ***
  • Posts: 176
  • Karma: +5/-1
  • Planet Peer Community
    • View Profile
    • Nils Durner
Re: GNUnet Installation
« Reply #6 on: August 28, 2005, 08:33:42 AM »
Hi Zipsel,

did you run ./configure with another --prefix some time ago without running "make clean" now?
That would lead to pre-compiled binaries with odd paths in the system.

Please make sure that "libgnunetutil.so" (and variations thereof) are all deleted. Then re-run configure, do a "make clean" and then a make/make install.


    Nils

Offline Zipsel

  • Advanced
  • ***
  • Posts: 162
  • Karma: +1/-0
    • View Profile
Re: GNUnet Installation
« Reply #7 on: August 28, 2005, 07:37:06 PM »
Hi Nils!

It´s always the same error-msg.
I removed all libgnunetutil.*, did a new ./configure, make clean and make/make install: Same Fatal-Error. I think it would be the best for me to wait for an .rpm on SuSE 9.3 ;)

...or do you have some more ideas?
I want to install GNUnet core on my (small) local email-server - so it would be 24/7 reachable.

Thx for Your help!!

Zipsel

Offline ndurner

  • Advanced
  • ***
  • Posts: 176
  • Karma: +5/-1
  • Planet Peer Community
    • View Profile
    • Nils Durner
Re: GNUnet Installation
« Reply #8 on: August 29, 2005, 07:48:38 PM »
Hi Zipsel,

this sounds odd.
You may want to delete every trace of gnunet ("locate gnunet"), get the official 0.7.0 source and compile it again.

It may also help to omit the "--prefix" parameter. GNUnet will then be installed into /usr/local. GNUnet's source has built-in support for it (that means, it is added to the search path automatically. But it certainly won't hurt to ldconfig that directory, too.).


Hope this helps,

Nils

Offline Zipsel

  • Advanced
  • ***
  • Posts: 162
  • Karma: +1/-0
    • View Profile
Re: GNUnet Installation
« Reply #9 on: August 30, 2005, 11:12:12 AM »
Hi Nils!

ok! I´ll try this. I´ve removed all files *gnunet*.
On "./configure --prefix=$HOME --with-extractor=$HOME" I get the Msg:
Quote
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: NOTICE: Database support is set to MySQL: false, SQLite: false
- no matter if I use the option "--with-sqlite=/usr/bin/" or "--with-mysql=/usr/bin/" or without.

So after the installation I get on "gnunetd -d":
Quote
tux@Arnaldur:~/bin> gnunetd -d
Aug 30 11:22:39 WARNUNG: Benutzer/Gruppe kann nicht zu `gnunet' gewechselt werden: Die Operation ist nicht erlaubt
Aug 30 11:22:42 FEHLER: `lt_dlopenext' fehlgeschlagen für die Bibliothek `libgnunetmodule_sqstore_sqlite'. Ort: dso.c:99. Fehler: libgnunetmodule_sqstore_sqlite.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
Aug 30 11:22:42 Fehler bei datastore.c:313.
Aug 30 11:22:42 WARNUNG: Failed to load service `datastore'
Aug 30 11:22:42 Fehler bei fs.c:1083.
Aug 30 11:22:42 FEHLER: Anwendung `fs' konnte nicht initialisiert werden.

Maybe my problem ist the missing file-database...
On the system boths are installed:
- MySQL  4.1.10a-3.2
- sqlite 3.1.3-3
- sqlite2 2.8.16-4

CU,
Zipsel

Offline Zipsel

  • Advanced
  • ***
  • Posts: 162
  • Karma: +1/-0
    • View Profile
Re: GNUnet Installation
« Reply #10 on: August 30, 2005, 02:38:43 PM »
I got it!

The standard sqlite engine of SuSE 9.3 is not compatible! I´ve installed SQlite 3.2.5 directly from http://www.sqlite.org/sqlite-3.2.5.tar.gz and used:
configure --prefix=$HOME --with-extractor=$HOME --with-sqlite=/usr/local/bin

now it works!
Thx for help!!!

Zipsel

Offline ndurner

  • Advanced
  • ***
  • Posts: 176
  • Karma: +5/-1
  • Planet Peer Community
    • View Profile
    • Nils Durner
SQLite RPM (Re: GNUnet Installation)
« Reply #11 on: September 03, 2005, 08:50:59 AM »
Hi,

Quote
I got it!

The standard sqlite engine of SuSE 9.3 is not compatible!

Christian Grothoff has forwarded this problem to Karl Eichwalder from SuSE.
Here's what he wrote back:
Quote
Thanks - we will ship version 3.2.2 with SL 10.0 - if the problem
persists we would like to see a report in http://bugzilla.novell.com.

-- Karl Eichwalder R & D / Documentation SUSE Linux Products GmbH


  Nils