Neewbie: trying to install nzbget on ubuntu

Get help, report and discuss bugs.
Post Reply
nollie1983

Neewbie: trying to install nzbget on ubuntu

Post by nollie1983 » 14 Dec 2008, 18:54

Hello,

I'm trying to install NZBGet on a Ubuntu 8.10 installation. I downloaded the TAR (http://nzbget.sourceforge.net/), decompressed it and I tried to configure it, but got stuck on the following error:
"configure: error: Couldn't find neither GnuTLS nor OpenSSL headers (gnutls.h or ssl.h)."

How do I fix this error?

I've tried to install (libssl-dev and libgnutls-dev using the "apt-get" option, but then I get the error after "./configure":
./config.status: line 346: -c
MKDIR_P=/bin/mkdir: No such file or directory
./config.status: line 395: Try: command not found
./config.status: line 422: s/./-/g: No such file or directory
./config.status: line 422: s/^.../##: No such file or directory
./config.status: line 422: s/...$/: No such file or directory
./config.status: line 424: _ASBOX: command not found

This file was extended by nzbget config.status 0.5.1, which was
generated by GNU Autoconf 2.61. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on maarten-desktop

./config.status: line 426: syntax error near unexpected token `}'
./config.status: line 426: `} >&5'
)

thanks in advance..

Maarten

hugbug
Developer & Admin
Posts: 7416
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Neewbie: trying to install nzbget on ubuntu

Post by hugbug » 14 Dec 2008, 20:11

Strange error. May be a permission problem. Didn't you unpacked the tar-file from a different user account?
1. Please post the full output of configure.
2. Was the "Makefile" created? If yes, you can try "make", may be it will work :)

nollie1983

Re: Neewbie: trying to install nzbget on ubuntu

Post by nollie1983 » 15 Dec 2008, 17:18

Hi hugbug, thank you for the quick response!
Below is what I did for so far (step 12 is my currunt ./configure-output.).
I hope you can tell me what I'm doing wrong. Greetings Maarten
---------------------------------------------------------------
1)Download NZBGET from http://sourceforge.net/project/showfile ... _id=102632 and saved it to "/home/maarten/Programma's/nzbget/"
2)browse with terminal to “/home/maarten/Programma's/nzbget”
3)tar -zxf nzbget-0.5.1.tar.gz
4)cd nzbget-0.5.1
5)./configure

Code: Select all

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
./configure: eval: line 1989: unexpected EOF while looking for matching `''
./configure: eval: line 1990: syntax error: unexpected end of file
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... 
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
6)sudo apt-get install g++

Code: Select all

[sudo] password for maarten: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fakeroot linux-headers-2.6.27-7 libgda3-common linux-headers-2.6.27-7-generic dkms tcl tcl8.4 tcl8.5 libgda3-bin
  libgda3-3 patch libgdl-1-0 libgdl-1-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  g++-4.3 libstdc++6-4.3-dev
Suggested packages:
  g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg libstdc++6-4.3-doc
The following NEW packages will be installed:
  g++ g++-4.3 libstdc++6-4.3-dev
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 5483kB of archives.
After this operation, 19.1MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://nl.archive.ubuntu.com intrepid/main libstdc++6-4.3-dev 4.3.2-1ubuntu11 [1354kB]
Get:2 http://nl.archive.ubuntu.com intrepid/main g++-4.3 4.3.2-1ubuntu11 [4128kB]                                         
Get:3 http://nl.archive.ubuntu.com intrepid/main g++ 4:4.3.1-1ubuntu2 [1444B]                                             
Fetched 5483kB in 33s (163kB/s)                                                                                           
Selecting previously deselected package libstdc++6-4.3-dev.
(Reading database ... 132733 files and directories currently installed.)
Unpacking libstdc++6-4.3-dev (from .../libstdc++6-4.3-dev_4.3.2-1ubuntu11_i386.deb) ...
Selecting previously deselected package g++-4.3.
Unpacking g++-4.3 (from .../g++-4.3_4.3.2-1ubuntu11_i386.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4%3a4.3.1-1ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Setting up libstdc++6-4.3-dev (4.3.2-1ubuntu11) ...
Setting up g++-4.3 (4.3.2-1ubuntu11) ...
Setting up g++ (4:4.3.1-1ubuntu2) ...
7)./configure

Code: Select all

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
./configure: eval: line 1989: unexpected EOF while looking for matching `''
./configure: eval: line 1990: syntax error: unexpected end of file
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for ranlib... ranlib
checking whether make sets $(MAKE)... (cached) yes
checking for false... /bin/false
checking for true... /bin/true
checking for rm... /bin/rm
checking for ln... /bin/ln
checking for tar... /bin/tar
checking for ar... /usr/bin/ar
checking for make... /usr/bin/make
checking for cpp... /usr/bin/cpp
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for cp... /bin/cp
checking for a BSD-compatible install... /usr/bin/install -c
checking for library containing pthread_create... -lpthread
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking for library containing hstrerror... none required
checking for getopt_long... yes
checking for stat64... yes
checking for ctime_r... yes, and it takes 2 arguments
checking for __FUNCTION__ macro... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libxml/tree.h usability... no
checking libxml/tree.h presence... no
checking for libxml/tree.h... no
configure: error: "libxml2 header files were not found."
8)sudo apt-get install libxml2-dev

Code: Select all

	[sudo] password for maarten: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
 fakeroot linux-headers-2.6.27-7 libgda3-common
 linux-headers-2.6.27-7-generic dkms tcl tcl8.4 tcl8.5 libgda3-bin libgda3-3
 patch libgdl-1-0 libgdl-1-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  zlib1g-dev
The following NEW packages will be installed:
  libxml2-dev zlib1g-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 863kB of archives.
After this operation, 2531kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://nl.archive.ubuntu.com intrepid/main zlib1g-dev 1:1.2.3.3.dfsg-12ubuntu1 [161kB]
Get:2 http://nl.archive.ubuntu.com intrepid-updates/main libxml2-dev 2.6.32.dfsg-4ubuntu1.1 [702kB]
Fetched 863kB in 5s (161kB/s)       
Selecting previously deselected package zlib1g-dev.
(Reading database ... 133442 files and directories currently installed.)
Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.3.dfsg-12ubuntu1_i386.deb) ...
Selecting previously deselected package libxml2-dev.
Unpacking libxml2-dev (from .../libxml2-dev_2.6.32.dfsg-4ubuntu1.1_i386.deb) ...
Processing triggers for man-db ...
Setting up zlib1g-dev (1:1.2.3.3.dfsg-12ubuntu1) ...
Setting up libxml2-dev (2.6.32.dfsg-4ubuntu1.1) ...
9)sudo apt-get install libncurses5-dev

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fakeroot linux-headers-2.6.27-7 libgda3-common linux-headers-2.6.27-7-generic
  dkms tcl tcl8.4 tcl8.5 libgda3-bin libgda3-3 patch libgdl-1-0 libgdl-1-common
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  libncurses5-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1483kB of archives.
After this operation, 6480kB of additional disk space will be used.
Get:1 http://nl.archive.ubuntu.com intrepid/main libncurses5-dev 5.6+20071124-1ubuntu2 [1483kB]
Fetched 1483kB in 9s (162kB/s)                                                   
Selecting previously deselected package libncurses5-dev.
(Reading database ... 133527 files and directories currently installed.)
Unpacking libncurses5-dev (from .../libncurses5-dev_5.6+20071124-1ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Setting up libncurses5-dev (5.6+20071124-1ubuntu2) ...
10)sudo apt-get install libsigc++-2.0-dev

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fakeroot linux-headers-2.6.27-7 libgda3-common linux-headers-2.6.27-7-generic
  dkms tcl tcl8.4 tcl8.5 libgda3-bin libgda3-3 patch libgdl-1-0 libgdl-1-common
Use 'apt-get autoremove' to remove them.
Suggested packages:
  libsigc++-2.0-doc
The following NEW packages will be installed:
  libsigc++-2.0-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 141kB of archives.
After this operation, 1774kB of additional disk space will be used.
Get:1 http://nl.archive.ubuntu.com intrepid/main libsigc++-2.0-dev 2.0.18-2 [141kB]
Fetched 141kB in 0s (143kB/s)            
Selecting previously deselected package libsigc++-2.0-dev.
(Reading database ... 134552 files and directories currently installed.)
Unpacking libsigc++-2.0-dev (from .../libsigc++-2.0-dev_2.0.18-2_i386.deb) ...
Setting up libsigc++-2.0-dev (2.0.18-2) ...
11)sudo apt-get install libpar2-0-dev

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fakeroot linux-headers-2.6.27-7 libgda3-common linux-headers-2.6.27-7-generic
  dkms tcl tcl8.4 tcl8.5 libgda3-bin libgda3-3 patch libgdl-1-0 libgdl-1-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libpar2-0
The following NEW packages will be installed:
  libpar2-0 libpar2-0-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 309kB of archives.
After this operation, 1057kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://nl.archive.ubuntu.com intrepid/universe libpar2-0 0.2-1.1 [122kB]
Get:2 http://nl.archive.ubuntu.com intrepid/universe libpar2-0-dev 0.2-1.1 [188kB]
Fetched 309kB in 2s (154kB/s)         
Selecting previously deselected package libpar2-0.
(Reading database ... 134641 files and directories currently installed.)
Unpacking libpar2-0 (from .../libpar2-0_0.2-1.1_i386.deb) ...
Selecting previously deselected package libpar2-0-dev.
Unpacking libpar2-0-dev (from .../libpar2-0-dev_0.2-1.1_i386.deb) ...
Setting up libpar2-0 (0.2-1.1) ...
Setting up libpar2-0-dev (0.2-1.1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
12)./configure

Code: Select all

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

./configure: eval: line 1989: unexpected EOF while looking for matching `''

./configure: eval: line 1990: syntax error: unexpected end of file

configure: WARNING: `missing' script is too old or missing

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for g++... g++

checking for C++ compiler default output file name... a.out

checking whether the C++ compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables... 

checking for suffix of object files... o

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking for style of include used by make... GNU

checking dependency style of g++... gcc3

checking for gcc... gcc

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking how to run the C preprocessor... gcc -E

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking whether gcc needs -traditional... no

checking for ranlib... ranlib

checking whether make sets $(MAKE)... (cached) yes

checking for false... /bin/false

checking for true... /bin/true

checking for rm... /bin/rm

checking for ln... /bin/ln

checking for tar... /bin/tar

checking for ar... /usr/bin/ar

checking for make... /usr/bin/make

checking for cpp... /usr/bin/cpp

checking for mv... /bin/mv

checking for mkdir... /bin/mkdir

checking for cp... /bin/cp

checking for a BSD-compatible install... /usr/bin/install -c

checking for library containing pthread_create... -lpthread

checking for library containing socket... none required

checking for library containing inet_addr... none required

checking for library containing hstrerror... none required

checking for getopt_long... yes

checking for stat64... yes

checking for ctime_r... yes, and it takes 2 arguments

checking for __FUNCTION__ macro... yes

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking libxml/tree.h usability... yes

checking libxml/tree.h presence... yes

checking for libxml/tree.h... yes

checking for library containing xmlNewNode... -lxml2

checking whether to use curses... yes

checking ncurses.h usability... yes

checking ncurses.h presence... yes

checking for ncurses.h... yes

checking for library containing refresh... -lncurses

checking whether to include code for par-checking... yes

checking for pkg-config... /usr/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking for LIBSIGC... yes

checking how to run the C++ preprocessor... /usr/bin/cpp

checking sigc++/type_traits.h usability... yes

checking sigc++/type_traits.h presence... yes

checking for sigc++/type_traits.h... yes

checking libpar2/libpar2.h usability... yes

checking libpar2/libpar2.h presence... yes

checking for libpar2/libpar2.h... yes

checking whether to use TLS/SSL... yes

checking gnutls/gnutls.h usability... no

checking gnutls/gnutls.h presence... no

checking for gnutls/gnutls.h... no

checking openssl/ssl.h usability... no

checking openssl/ssl.h presence... no

checking for openssl/ssl.h... no

configure: error: Couldn't find neither GnuTLS nor OpenSSL headers (gnutls.h or ssl.h).

maarten@maarten-desktop:~/Programma's/nzbget/nzbget-0.5.1$ 

hugbug
Developer & Admin
Posts: 7416
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Neewbie: trying to install nzbget on ubuntu

Post by hugbug » 15 Dec 2008, 17:40

It's the apostrophe-character in your path, what makes troubles (Programma's).
Try from a different directory.
Don't forget to install OpenSSL too.

nollie1983

Re: Neewbie: trying to install nzbget on ubuntu

Post by nollie1983 » 15 Dec 2008, 17:52

The change of the apostrophe makes the

Code: Select all

./configure: eval: line 1989: unexpected EOF while looking for matching `''
./configure: eval: line 1990: syntax error: unexpected end of file
configure: WARNING: `missing' script is too old or missing 
going away.

Do you now how to install openssl? I'm missing an howto on "http://www.openssl.org/support/faq.html".....
Thank you for so far!

hugbug
Developer & Admin
Posts: 7416
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Neewbie: trying to install nzbget on ubuntu

Post by hugbug » 15 Dec 2008, 17:57

You did this in the first post: "apt-get libssl-dev".

nollie1983

Re: Neewbie: trying to install nzbget on ubuntu

Post by nollie1983 » 15 Dec 2008, 18:04

Whooohoeee! You solved my case! :-)

Thank you!

Now the result of ./configure is clean:

Code: Select all

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for ranlib... ranlib
checking whether make sets $(MAKE)... (cached) yes
checking for false... /bin/false
checking for true... /bin/true
checking for rm... /bin/rm
checking for ln... /bin/ln
checking for tar... /bin/tar
checking for ar... /usr/bin/ar
checking for make... /usr/bin/make
checking for cpp... /usr/bin/cpp
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for cp... /bin/cp
checking for a BSD-compatible install... /usr/bin/install -c
checking for library containing pthread_create... -lpthread
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking for library containing hstrerror... none required
checking for getopt_long... yes
checking for stat64... yes
checking for ctime_r... yes, and it takes 2 arguments
checking for __FUNCTION__ macro... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libxml/tree.h usability... yes
checking libxml/tree.h presence... yes
checking for libxml/tree.h... yes
checking for library containing xmlNewNode... -lxml2
checking whether to use curses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for library containing refresh... -lncurses
checking whether to include code for par-checking... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBSIGC... yes
checking how to run the C++ preprocessor... /usr/bin/cpp
checking sigc++/type_traits.h usability... yes
checking sigc++/type_traits.h presence... yes
checking for sigc++/type_traits.h... yes
checking libpar2/libpar2.h usability... yes
checking libpar2/libpar2.h presence... yes
checking for libpar2/libpar2.h... yes
checking whether to use TLS/SSL... yes
checking gnutls/gnutls.h usability... no
checking gnutls/gnutls.h presence... no
checking for gnutls/gnutls.h... no
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for library containing SSL_library_init... -lssl
checking whether to include all debugging code... no
checking for variadic macros... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests