That is odd, gnunet-gtk's configure should not have passed in this case.
Still, did you give --with-gnunet=SOMEDIRHERE to configure of gnunet-gtk?

Somehow configure must have found 'libgnunetutil', but now later the
compiler fails to find it, which I'm not sure I can explain.

Matthias, as you tried this on Ubuntu, what happens if the --with-gnunet
is not passed?  Can you reproduce this?


-Christian

On 12/05/2013 10:09 PM, Moratinos Sébastien wrote:
> Hi,
> 
> Yesterday, I haven't install gnunet-gtk...
> Today, I run the make (svn head) : /usr/bin/ld: cannot find -lgnunetutil
> 
> Should I open a bug ? or it's because I use debian wheezy and not ubuntu
> 12.04 ?
> 
> Here is the output :
> 
> make[4]: entrant dans le répertoire «
> /home/smoratinos/gnunet/gnunet-gtk/src/namestore »
> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -pthread
> -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0
> -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/libpng12
> -I/home/smoratinos/gnbuild/include -pthread -I/usr/include/gtk-3.0
> -I/usr/include/libxml2 -I/usr/include/pango-1.0
> -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/libpng12
> -I/usr/include/libgladeui-2.0   -fno-strict-aliasing -Wall -g -O2
> -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0
> -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/libpng12   -export-dynamic
> -avoid-version -module -no-undefined  -o
> libgnunet_plugin_gtk_namestore_a.la -rpath
> /home/smoratinos/gnbuild/lib/gnunet
> libgnunet_plugin_gtk_namestore_a_la-plugin_gtk_namestore_a.lo
> -lgnunetutil -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0
> -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0
> -lglib-2.0
> libtool: link: gcc -shared  -fPIC -DPIC
> .libs/libgnunet_plugin_gtk_namestore_a_la-plugin_gtk_namestore_a.o
> -lgnunetutil -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0
> -lgdk_pixbuf-2.0 /usr/lib/x86_64-linux-gnu/libcairo-gobject.so
> -lpango-1.0 /usr/lib/x86_64-linux-gnu/libcairo.so -lgobject-2.0
> -lglib-2.0  -pthread -pthread -O2 -pthread   -pthread -Wl,-soname
> -Wl,libgnunet_plugin_gtk_namestore_a.so -o
> .libs/libgnunet_plugin_gtk_namestore_a.so
> /usr/bin/ld: cannot find -lgnunetutil
> collect2: error: ld returned 1 exit status
> make[4]: *** [libgnunet_plugin_gtk_namestore_a.la] Erreur 1
> make[4]: quittant le répertoire «
> /home/smoratinos/gnunet/gnunet-gtk/src/namestore »
> make[3]: *** [all-recursive] Erreur 1
> make[3]: quittant le répertoire «
> /home/smoratinos/gnunet/gnunet-gtk/src/namestore »
> make[2]: *** [all-recursive] Erreur 1
> make[2]: quittant le répertoire « /home/smoratinos/gnunet/gnunet-gtk/src »
> make[1]: *** [all-recursive] Erreur 1
> make[1]: quittant le répertoire « /home/smoratinos/gnunet/gnunet-gtk »
> make: *** [all] Erreur 2
> 
> 
> Sébastien Moratinos
> 
> Le 05/12/2013 07:02, Matthias Wachs a écrit :
> Hi!
> 
> Thanks for the feedback!
> 
> On 12/04/2013 11:04 PM, Moratinos Sébastien wrote:> Hello,
>>>> Build instructions for Ubuntu 12.04 using Subversion
>>>> https://gnunet.org/ubuntu1204-gnunetgtk
>>>>
>>>> Installing libgpg-error. doesn't work : $ ./configure --prefix=usr
>>>> works : $ ./configure --prefix=*/usr*
> Fixed...
> 
> 
> 
>>>> I follow this documentation with my debian wheezy (current stable)
>>>> and it works. There is only one difference : libgnutls28-dev
>>>> doesn't exist on debian squeeze (current stable), we must use
>>>> libgnutls-dev
> Thanks for the hint, we should update the debian installation
> instructions anyway since it is quite outdated...
> 
> -Matthias
> 
>>>> Very usefull doc, thanks
>>>>
>>>>
>>>>
>>>> _______________________________________________ Help-gnunet mailing
>>>> list [email protected]
>>>> https://lists.gnu.org/mailman/listinfo/help-gnunet
>>>>
> 
> 
> _______________________________________________
> Help-gnunet mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-gnunet

_______________________________________________
Help-gnunet mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-gnunet

Reply via email to