Hi!

Thank you.

After installing libncurses5-dev and libreadline6 it was happy until checking 
for openssl:

checking openssl/evp.h usability... no
checking openssl/evp.h presence... no
checking for openssl/evp.h... no
configure: error: OpenSSL header files not found.

I then installed libcurl4-openssl-dev and ./configure command finished.

But when i'm running make I get this error:

root@ubuntu:~/tinc-1.1pre3# make
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:

command-not-found version: 0.3
Python version: 3.2.3 final 0
Distributor ID: Ubuntu
Description:    Ubuntu 12.10
Release:        12.10
Codename:       quantal
Exception information:

unsupported locale setting
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, in 
crash_guard
    callback()
  File "/usr/lib/command-not-found", line 69, in main
    enable_i18n()
  File "/usr/lib/command-not-found", line 40, in enable_i18n
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.2/locale.py", line 541, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
root@ubuntu:~/tinc-1.1pre3# 



Any ideas?


Best Regards,

Håvard Rabbe

{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf340
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural

\f0\fs24 \cf0 root@ubuntu:~/tinc-1.1pre3# ./configure\
checking for gcc... gcc\
checking whether the C compiler works... yes\
checking for C compiler default output file name... a.out\
checking for suffix of executables... \
checking whether we are cross compiling... no\
checking for suffix of object files... o\
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 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 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 minix/config.h usability... no\
checking minix/config.h presence... no\
checking for minix/config.h... no\
checking whether it is safe to define __EXTENSIONS__... yes\
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)... no\
checking for style of include used by make... none\
checking dependency style of gcc... none\
checking whether to enable maintainer-specific portions of Makefiles... no\
checking for gcc option to accept ISO C99... -std=gnu99\
checking how to run the C preprocessor... gcc -E\
checking whether ln -s works... yes\
checking for ranlib... ranlib\
checking build system type... x86_64-unknown-linux-gnu\
checking host system type... x86_64-unknown-linux-gnu\
checking for ANSI C header files... (cached) yes\
checking stdbool.h usability... yes\
checking stdbool.h presence... yes\
checking for stdbool.h... yes\
checking syslog.h usability... yes\
checking syslog.h presence... yes\
checking for syslog.h... yes\
checking sys/file.h usability... yes\
checking sys/file.h presence... yes\
checking for sys/file.h... yes\
checking sys/ioctl.h usability... yes\
checking sys/ioctl.h presence... yes\
checking for sys/ioctl.h... yes\
checking sys/mman.h usability... yes\
checking sys/mman.h presence... yes\
checking for sys/mman.h... yes\
checking sys/param.h usability... yes\
checking sys/param.h presence... yes\
checking for sys/param.h... yes\
checking sys/resource.h usability... yes\
checking sys/resource.h presence... yes\
checking for sys/resource.h... yes\
checking sys/socket.h usability... yes\
checking sys/socket.h presence... yes\
checking for sys/socket.h... yes\
checking sys/time.h usability... yes\
checking sys/time.h presence... yes\
checking for sys/time.h... yes\
checking sys/uio.h usability... yes\
checking sys/uio.h presence... yes\
checking for sys/uio.h... yes\
checking sys/un.h usability... yes\
checking sys/un.h presence... yes\
checking for sys/un.h... yes\
checking sys/wait.h usability... yes\
checking sys/wait.h presence... yes\
checking for sys/wait.h... yes\
checking netdb.h usability... yes\
checking netdb.h presence... yes\
checking for netdb.h... yes\
checking arpa/inet.h usability... yes\
checking arpa/inet.h presence... yes\
checking for arpa/inet.h... yes\
checking dirent.h usability... yes\
checking dirent.h presence... yes\
checking for dirent.h... yes\
checking for net/if.h... yes\
checking for net/if_types.h... no\
checking for linux/if_tun.h... yes\
checking for net/if_tun.h... no\
checking for net/tun/if_tun.h... no\
checking for net/if_tap.h... no\
checking for net/tap/if_tap.h... no\
checking for net/ethernet.h... yes\
checking for net/if_arp.h... yes\
checking for netinet/in_systm.h... yes\
checking for netinet/in.h... yes\
checking for netinet/in6.h... no\
checking for time.h... yes\
checking for netpacket/packet.h... yes\
checking for netinet/if_ether.h... yes\
checking for netinet/ip.h... yes\
checking for netinet/ip6.h... yes\
checking for netinet/tcp.h... yes\
checking for netinet/ip_icmp.h... yes\
checking for netinet/icmp6.h... yes\
checking for an ANSI C-conforming const... yes\
checking for working volatile... yes\
checking for pid_t... yes\
checking for size_t... yes\
checking whether time.h and sys/time.h may both be included... yes\
checking whether struct tm is in sys/time.h or time.h... time.h\
checking for working __malloc__ attribute... no\
checking for socklen_t... yes\
checking for struct ether_header... yes\
checking for struct arphdr... yes\
checking for struct ether_arp... yes\
checking for struct in_addr... yes\
checking for struct addrinfo... yes\
checking for struct ip... yes\
checking for struct icmp... yes\
checking for struct in6_addr... yes\
checking for struct sockaddr_in6... yes\
checking for struct ip6_hdr... yes\
checking for struct icmp6_hdr... yes\
checking for struct nd_neighbor_solicit... yes\
checking for struct nd_opt_hdr... yes\
checking return type of signal handlers... void\
checking for asprintf... yes\
checking for daemon... yes\
checking for fchmod... yes\
checking for flock... yes\
checking for ftime... yes\
checking for fork... yes\
checking for get_current_dir_name... yes\
checking for gettimeofday... yes\
checking for mlockall... yes\
checking for putenv... yes\
checking for random... yes\
checking for select... yes\
checking for strdup... yes\
checking for strerror... yes\
checking for strsignal... yes\
checking for strtol... yes\
checking for system... yes\
checking for time... yes\
checking for usleep... yes\
checking for unsetenv... yes\
checking for vsyslog... yes\
checking for writev... yes\
checking for socket... yes\
checking for gethostbyname... yes\
checking whether freeaddrinfo is declared... yes\
checking whether gai_strerror is declared... yes\
checking whether getaddrinfo is declared... yes\
checking whether getnameinfo is declared... yes\
checking curses.h usability... yes\
checking curses.h presence... yes\
checking for curses.h... yes\
checking for initscr in -lcurses... yes\
checking readline/readline.h usability... yes\
checking readline/readline.h presence... yes\
checking for readline/readline.h... yes\
checking readline/history.h usability... yes\
checking readline/history.h presence... yes\
checking for readline/history.h... yes\
checking for readline in -lreadline... yes\
checking event.h usability... yes\
checking event.h presence... yes\
checking for event.h... yes\
checking for event_init in -levent... yes\
checking zlib.h usability... yes\
checking zlib.h presence... yes\
checking for zlib.h... yes\
checking for compress2 in -lz... yes\
checking for lzo1x_1_compress in -llzo2... yes\
checking lzo/lzo1x.h usability... yes\
checking lzo/lzo1x.h presence... yes\
checking for lzo/lzo1x.h... yes\
checking for dlopen... no\
checking for dlopen in -ldl... yes\
checking openssl/evp.h usability... yes\
checking openssl/evp.h presence... yes\
checking for openssl/evp.h... yes\
checking openssl/rsa.h usability... yes\
checking openssl/rsa.h presence... yes\
checking for openssl/rsa.h... yes\
checking openssl/rand.h usability... yes\
checking openssl/rand.h presence... yes\
checking for openssl/rand.h... yes\
checking openssl/err.h usability... yes\
checking openssl/err.h presence... yes\
checking for openssl/err.h... yes\
checking openssl/sha.h usability... yes\
checking openssl/sha.h presence... yes\
checking for openssl/sha.h... yes\
checking openssl/pem.h usability... yes\
checking openssl/pem.h presence... yes\
checking for openssl/pem.h... yes\
checking openssl/engine.h usability... yes\
checking openssl/engine.h presence... yes\
checking for openssl/engine.h... yes\
checking openssl/ecdh.h usability... yes\
checking openssl/ecdh.h presence... yes\
checking for openssl/ecdh.h... yes\
checking openssl/ec.h usability... yes\
checking openssl/ec.h presence... yes\
checking for openssl/ec.h... yes\
checking for EVP_EncryptInit_ex in -lcrypto... yes\
checking for RAND_pseudo_bytes... yes\
checking for EVP_EncryptInit_ex... yes\
checking for ECDH_compute_key... yes\
checking for ECDSA_verify... yes\
checking whether OpenSSL_add_all_algorithms is declared... yes\
configure: creating ./config.status\
config.status: creating Makefile\
config.status: creating src/Makefile\
config.status: creating doc/Makefile\
config.status: creating m4/Makefile\
config.status: creating gui/Makefile\
config.status: creating config.h\
config.status: executing depfiles commands\
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
\cf0 root@ubuntu:~/tinc-1.1pre3#}
{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf340
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural

\f0\fs24 \cf0 root@ubuntu:~/tinc-1.1pre3# ./configure\
checking for gcc... gcc\
checking whether the C compiler works... yes\
checking for C compiler default output file name... a.out\
checking for suffix of executables... \
checking whether we are cross compiling... no\
checking for suffix of object files... o\
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 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 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 minix/config.h usability... no\
checking minix/config.h presence... no\
checking for minix/config.h... no\
checking whether it is safe to define __EXTENSIONS__... yes\
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)... no\
checking for style of include used by make... none\
checking dependency style of gcc... none\
checking whether to enable maintainer-specific portions of Makefiles... no\
checking for gcc option to accept ISO C99... -std=gnu99\
checking how to run the C preprocessor... gcc -E\
checking whether ln -s works... yes\
checking for ranlib... ranlib\
checking build system type... x86_64-unknown-linux-gnu\
checking host system type... x86_64-unknown-linux-gnu\
checking for ANSI C header files... (cached) yes\
checking stdbool.h usability... yes\
checking stdbool.h presence... yes\
checking for stdbool.h... yes\
checking syslog.h usability... yes\
checking syslog.h presence... yes\
checking for syslog.h... yes\
checking sys/file.h usability... yes\
checking sys/file.h presence... yes\
checking for sys/file.h... yes\
checking sys/ioctl.h usability... yes\
checking sys/ioctl.h presence... yes\
checking for sys/ioctl.h... yes\
checking sys/mman.h usability... yes\
checking sys/mman.h presence... yes\
checking for sys/mman.h... yes\
checking sys/param.h usability... yes\
checking sys/param.h presence... yes\
checking for sys/param.h... yes\
checking sys/resource.h usability... yes\
checking sys/resource.h presence... yes\
checking for sys/resource.h... yes\
checking sys/socket.h usability... yes\
checking sys/socket.h presence... yes\
checking for sys/socket.h... yes\
checking sys/time.h usability... yes\
checking sys/time.h presence... yes\
checking for sys/time.h... yes\
checking sys/uio.h usability... yes\
checking sys/uio.h presence... yes\
checking for sys/uio.h... yes\
checking sys/un.h usability... yes\
checking sys/un.h presence... yes\
checking for sys/un.h... yes\
checking sys/wait.h usability... yes\
checking sys/wait.h presence... yes\
checking for sys/wait.h... yes\
checking netdb.h usability... yes\
checking netdb.h presence... yes\
checking for netdb.h... yes\
checking arpa/inet.h usability... yes\
checking arpa/inet.h presence... yes\
checking for arpa/inet.h... yes\
checking dirent.h usability... yes\
checking dirent.h presence... yes\
checking for dirent.h... yes\
checking for net/if.h... yes\
checking for net/if_types.h... no\
checking for linux/if_tun.h... yes\
checking for net/if_tun.h... no\
checking for net/tun/if_tun.h... no\
checking for net/if_tap.h... no\
checking for net/tap/if_tap.h... no\
checking for net/ethernet.h... yes\
checking for net/if_arp.h... yes\
checking for netinet/in_systm.h... yes\
checking for netinet/in.h... yes\
checking for netinet/in6.h... no\
checking for time.h... yes\
checking for netpacket/packet.h... yes\
checking for netinet/if_ether.h... yes\
checking for netinet/ip.h... yes\
checking for netinet/ip6.h... yes\
checking for netinet/tcp.h... yes\
checking for netinet/ip_icmp.h... yes\
checking for netinet/icmp6.h... yes\
checking for an ANSI C-conforming const... yes\
checking for working volatile... yes\
checking for pid_t... yes\
checking for size_t... yes\
checking whether time.h and sys/time.h may both be included... yes\
checking whether struct tm is in sys/time.h or time.h... time.h\
checking for working __malloc__ attribute... no\
checking for socklen_t... yes\
checking for struct ether_header... yes\
checking for struct arphdr... yes\
checking for struct ether_arp... yes\
checking for struct in_addr... yes\
checking for struct addrinfo... yes\
checking for struct ip... yes\
checking for struct icmp... yes\
checking for struct in6_addr... yes\
checking for struct sockaddr_in6... yes\
checking for struct ip6_hdr... yes\
checking for struct icmp6_hdr... yes\
checking for struct nd_neighbor_solicit... yes\
checking for struct nd_opt_hdr... yes\
checking return type of signal handlers... void\
checking for asprintf... yes\
checking for daemon... yes\
checking for fchmod... yes\
checking for flock... yes\
checking for ftime... yes\
checking for fork... yes\
checking for get_current_dir_name... yes\
checking for gettimeofday... yes\
checking for mlockall... yes\
checking for putenv... yes\
checking for random... yes\
checking for select... yes\
checking for strdup... yes\
checking for strerror... yes\
checking for strsignal... yes\
checking for strtol... yes\
checking for system... yes\
checking for time... yes\
checking for usleep... yes\
checking for unsetenv... yes\
checking for vsyslog... yes\
checking for writev... yes\
checking for socket... yes\
checking for gethostbyname... yes\
checking whether freeaddrinfo is declared... yes\
checking whether gai_strerror is declared... yes\
checking whether getaddrinfo is declared... yes\
checking whether getnameinfo is declared... yes\
checking curses.h usability... yes\
checking curses.h presence... yes\
checking for curses.h... yes\
checking for initscr in -lcurses... yes\
checking readline/readline.h usability... yes\
checking readline/readline.h presence... yes\
checking for readline/readline.h... yes\
checking readline/history.h usability... yes\
checking readline/history.h presence... yes\
checking for readline/history.h... yes\
checking for readline in -lreadline... yes\
checking event.h usability... yes\
checking event.h presence... yes\
checking for event.h... yes\
checking for event_init in -levent... yes\
checking zlib.h usability... yes\
checking zlib.h presence... yes\
checking for zlib.h... yes\
checking for compress2 in -lz... yes\
checking for lzo1x_1_compress in -llzo2... yes\
checking lzo/lzo1x.h usability... yes\
checking lzo/lzo1x.h presence... yes\
checking for lzo/lzo1x.h... yes\
checking for dlopen... no\
checking for dlopen in -ldl... yes\
checking openssl/evp.h usability... no\
checking openssl/evp.h presence... no\
checking for openssl/evp.h... no\
configure: error: OpenSSL header files not found.\
root@ubuntu:~/tinc-1.1pre3# }


On Nov 11, 2012, at 6:30 PM, Guus Sliepen <[email protected]> wrote:

> On Sun, Nov 11, 2012 at 02:33:36PM +0100, Håvard Rabbe wrote:
> 
>> I'm trying to compile tinc-vpn 1.1pre3 on Ubuntu 12.10, but I get this error:
>> 
>> checking curses.h usability... no
>> checking curses.h presence... no
>> checking for curses.h... no
>> configure: error: "curses header files not found."
>> 
>> I have also made sure that zlib, lzo and libevent is installed by installing 
>> the packages zlib1g, zlib1g-dev, liblzo2-2, liblzo2-dev, libevent-dbg and 
>> libevent-dev.
>> I think these packages are the  correct ones.
>> 
>> Do you have any idea of what's wrong? What am I missing?
> 
> You should install libncurses5-dev and libreadline6-dev as well. I see that
> isn't mentioned in the manual, I'll add that.
> 
> -- 
> Met vriendelijke groet / with kind regards,
>     Guus Sliepen <[email protected]>
> _______________________________________________
> tinc mailing list
> [email protected]
> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to