Ticket #304 (closed defect: invalid)

Opened 6 years ago

Last modified 3 years ago

Problem with net6 and gnutls

Reported by: nh2 Owned by: armin
Priority: normal Milestone:
Component: net6 Version:
Severity: normal Keywords: net6; gnutils
Cc: Launchpad Bug:

Description

I have a problem installing net6:

./configure :

checking for libnet6... yes
checking for libgnutls-config... /usr/local/bin/libgnutls-config
checking for libgnutls - version >= 1.0.0... no
*** Could not run libgnutls test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding LIBGNUTLS or finding the wrong
*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
configure: error:
***
*** libgnutls was not found. You may want to get it by using the
*** package manager of your distribution or by compiling the source
*** from ftp://ftp.gnutls.org/pub/gnutls/. This dependency is
*** now mandatory.

I have installed gnutls 1.2.11.

What is the problem?

Change History

follow-up: ↓ 2   Changed 6 years ago by phil

No clue what distribution you use, but did you install gnutls's development headers?

in reply to: ↑ 1 ; follow-up: ↓ 3   Changed 6 years ago by anonymous

Sorry, I forgot: I am using SuSE 9.3.

Yes, I have installed gnutls and gnutls-devel, both v.1.2.0.

in reply to: ↑ 2   Changed 6 years ago by nh2

Replying to anonymous: EDIT: I installed gnutls by self-compiling and gnutls-devel with Yast. Does this matter?

  Changed 6 years ago by nh2

OK, gnutls seems to be running now, but I have another problem: make (obby) returns:

 g++ -DHAVE_CONFIG_H -I. -I../inc -I/opt/gnome/include/sigc++-2.0 -I/opt/gnome/lib/sigc++-2.0/include -I/usr/local/include -I../inc -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT libobby_la-user.lo -MD -MP -MF .deps/libobby_la-user.Tpo -c user.cpp  -fPIC -DPIC -o .libs/libobby_la-user.o
In file included from /usr/local/include/net6/connection.hpp:27,
                 from /usr/local/include/net6/user.hpp:24,
                 from ../inc/user.hpp:24,
                 from user.cpp:20:
/usr/local/include/net6/encrypt.hpp:23:20: gnutls.h: No such file or directory
In file included from /usr/local/include/net6/connection.hpp:27,
                 from /usr/local/include/net6/user.hpp:24,
                 from ../inc/user.hpp:24,
                 from user.cpp:20:
/usr/local/include/net6/encrypt.hpp:32: error: syntax error before `;' token
/usr/local/include/net6/encrypt.hpp:33: error: syntax error before `;' token
/usr/local/include/net6/encrypt.hpp:34: error: syntax error before `;' token
/usr/local/include/net6/encrypt.hpp:35: error: syntax error before `;' token
/usr/local/include/net6/encrypt.hpp:36: error: syntax error before `;' token
/usr/local/include/net6/encrypt.hpp:37: error: syntax error before `;' token
/usr/local/include/net6/encrypt.hpp:48: error: syntax error before `
   initial_params'
/usr/local/include/net6/encrypt.hpp:52: error: syntax error before `)' token
/usr/local/include/net6/encrypt.hpp:53: error: syntax error before `(' token
/usr/local/include/net6/encrypt.hpp:56: error: 'gnutls_dh_params_t' is used as
   a type, but is not defined as a type.
/usr/local/include/net6/encrypt.hpp:117: error: type specifier omitted for
   parameter `gnutls_session_t'
/usr/local/include/net6/encrypt.hpp:117: error: syntax error before `)' token
/usr/local/include/net6/encrypt.hpp:121: error: `gnutls_session_t' was not
   declared in this scope
/usr/local/include/net6/encrypt.hpp:121: error: syntax error before `,' token
/usr/local/include/net6/encrypt.hpp:122: error: variable declaration is not
   allowed here
/usr/local/include/net6/encrypt.hpp:122: confused by earlier errors, bailing out
make[2]: *** [libobby_la-user.lo] Fehler 1
make[2]: Leaving directory `/home/nicki/sobby/obby/obby-0.4.4/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/nicki/sobby/obby/obby-0.4.4/src'
make: *** [all-recursive] Fehler 1

Can anyone help me with this error?

  Changed 6 years ago by armin

/usr/local/include/net6/encrypt.hpp:23:20: gnutls.h: No such file or directory

This indicates that gnutls was not installed properly. I wonder how you managed to install net6.

  Changed 6 years ago by anonymous

Replying to nh2:

Problem fixed by copying /usr/local/include/gnutls/gnutls.h into /usr/local/include/gnutls/gnutls.h.

I wonder, too :-)

  Changed 6 years ago by phil

  • status changed from new to closed
  • resolution set to invalid

Gobby is included in newer OpenSuSE (or Suse or SUSE or whatever they called themselves nowadays) revisions. 9.3 was end-of-life'd in April, and released two years before that, i.e. around the time when Gobby started. Although it should be possible to get it running I strongly suggest you to upgrade and use packages provided by your distributor. You are on your own on this one, sorry, we have no clue of SUSE and you seem to install random files everywhere, so we are unable to support you.

  Changed 5 years ago by anonymous

Wood Stair Railings: iron railing and fences with decor design The beauty of this material is that they can be carved into any shape,painted or stained any color, andwill compliment a wood or composite deck beautifully. Metal Stair Railings:photos of wrought iron porch stair rails There are many different types of metalused to make balusters and handra

Note: See TracTickets for help on using tickets.