[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-developers] Re: [bug-GNUnet] Problem compiling gnunet (episode 2
From: |
Julien |
Subject: |
[GNUnet-developers] Re: [bug-GNUnet] Problem compiling gnunet (episode 2) |
Date: |
Tue, 30 Dec 2003 23:23:19 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.5) Gecko/20031007 |
Thank you for your answer.
I tried the first method you suggested in your mail... but it had no
result : when I ran 'make' in the GNUnet directory, I got the same error
message as before.
The second method was more succesful.
The Mandrake Control Center (Mandrake RPM utility) showed that libtool
et libltdl were already installed on my system (packages named
"libtool-1.4.3-1mdk" and "libltdl3-1.4.3-1mdk").
A package named "libltdl3-devel-1.4.3-1mdk" was available. I installed
it and then it was possible to compile and install GNUnet on my system
('make' and 'make install' were apparently successful).
But now, I have a problem starting gnunetd.
I followed the guidelines of the GNUnet README :
# cp contrib/gnunet.root /etc/gnunet.conf
# cp contrib/initgnunet /etc/init.d/gnunetd
$ mkdir ~/.gnunet
$ cp contrib/gnunet.user ~/.gnunet/
(No problem at this step.)
But when I ran :
# /etc/init.d/gnunetd start
I got the following error message :
which: no gnunetd in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin)
Starting gnunetd: which: no gnunetd in
(/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin)
/etc/init.d/gnunetd: Utilisation : daemon [+/-nicelevel] {programme}
I tried :
# gnunet-gtk
But the result was :
bash: gnunet-gtk: command not found
I also tried :
# gnunetd -d
But the result was the same :
bash: gnunetd: command not found
And 'man gnunet' had no result too ("There is no manpage for gnunet").
So I guess that GNUnet was not correctly installed... But I don't
understand this, because
- the commands 'make' and 'make install' in the GNUnet directory were
apparently successful and returned no error message.
- there is a script named 'gnunetd' in /etc/init.d/ .
What is wrong ?
Christian Grothoff a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hmm. I think there are probably two ways to fix it. The fastest for you
might be to try doing
#cd libltdl; make install; cd ..; make
in the GNUnet directory (to install libltdl and thus ltdl.h in
$prefix/include). That *might* solve the problem.
A better solution would be to install libtool (including the
development-headers if you use binary packages from a distribution that
splits the library and the header files).
The ltdl.h problem seems to be popping up from time to time for some
installations; there must be something odd with the build scripts (because
ltdl.h should be found in GNUnet/libltdl/ if libtool is not available
locally), but I have yet to find out exactly what is wrong. Either way, once
libtool (including ltdl.h) is installed on your system, it should definitely
work.
Christian
On Sunday 28 December 2003 03:40 pm, Julien wrote:
I downloaded GNUnet-0.6.1.tar.bz2. After installing libextractor-0.2.6
from the sources (without problem) and decompressing
GNUnet-0.6.1.tar.bz2, I ran the command :
$ ./configure --prefix=$HOME
There was apparently no problem. Then I did :
$ make
And I got the following error message :
gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include
-DPLUGIN_PATH=\"/home/julien/lib\" -DELIBDIR=\"\" -fno-strict-aliasing
-Wall -g -02 -MT bloomfilter.lo -MD -MP -MF .deps/bloomfilter.Tpo -c
bloomfilter.c -fPIC -DPIC -o .libs/bloomfilter.o
In file included from bloomfilter.c:42:
../../src/include/gnunet_util.h:69:18: ltdl.h: No such file or directory
make[3]: *** [bloomfilter.lo] Erreur 1
make[3]: Leaving directory
`/home/julien/programmes/gnunet/GNUnet-0.6.1/src/util'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory
`/home/julien/programmes/gnunet/GNUnet-0.6.1/src/util'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory
`/home/julien/programmes/gnunet/GNUnet-0.6.1/src' make : ***
[all-recursive] Erreur 1
So I didn't succeed to install GNUnet.
My configuration is :
Mandrake 9.1 for i686
linux 2.4.21-0.13mdk
gcc 3.2.2
My home directory is /home/julien/
Thank you for your help.
_______________________________________________
Bug-GNUnet mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-gnunet
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE/8FoA9tNtMeXQLkIRAsuxAJ0eYaEFEVOmmQeR+39W5H0AyNAQggCfSfgS
RF46y+Fitwer/sKpViOuLEQ=
=mKHi
-----END PGP SIGNATURE-----