What I need to install Tinc 1.1pre2?

Ramses II ramses.sevilla at gmail.com
Thu Apr 5 22:29:13 CEST 2012


Hi Guus,

When I compile Tinc 1.0.18, It compiles well:

--------------------------------------------------------------------
[root at server tinc-1.0.18]#./compile
.
.

checking for EVP_EncryptInit_ex... 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 lib/Makefile
config.status: creating m4/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
[root at server tinc-1.0.18]#
[root at server tinc-1.0.18]#

[root at server tinc-1.0.18]#make
.
.
.
make[2]: Leaving directory `/usr/src/tinc-1.0.18/src'
Making all in doc
make[2]: Entering directory `/usr/src/tinc-1.0.18/doc'
sed -e s,'@PACKAGE\@',"tinc",g -e s,'@VERSION\@',"1.0.18",g -e
s,'@sysconfdir\@',"/usr/local/etc",g -e
s,'@localstatedir\@',"/usr/local/var",g tincinclude.texi.in >
tincinclude.texi
sed -e s,'@PACKAGE\@',"tinc",g -e s,'@VERSION\@',"1.0.18",g -e
s,'@sysconfdir\@',"/usr/local/etc",g -e
s,'@localstatedir\@',"/usr/local/var",g tincd.8.in > tincd.8
sed -e s,'@PACKAGE\@',"tinc",g -e s,'@VERSION\@',"1.0.18",g -e
s,'@sysconfdir\@',"/usr/local/etc",g -e
s,'@localstatedir\@',"/usr/local/var",g tinc.conf.5.in > tinc.conf.5
make[2]: Leaving directory `/usr/src/tinc-1.0.18/doc'
make[2]: Entering directory `/usr/src/tinc-1.0.18'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/src/tinc-1.0.18'
make[1]: Leaving directory `/usr/src/tinc-1.0.18'
[root at server tinc-1.0.18]#
--------------------------------------------------------------------

But when I compile Tinc 1.1pre2:

--------------------------------------------------------------------
[root at server tinc-1.1pre2]#./compile
.
.

checking for EVP_EncryptInit_ex... 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
[root at server tinc-1.1pre2]#
[root at server tinc-1.1pre2]#

[root at server tinc-1.1pre2]#make
make  all-recursive
make[1]: Entering directory `/usr/src/tinc-1.1pre2'
Making all in m4
make[2]: Entering directory `/usr/src/tinc-1.1pre2/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/tinc-1.1pre2/m4'
Making all in src
make[2]: Entering directory `/usr/src/tinc-1.1pre2/src'
gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\"
-DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT
utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c
mv -f .deps/utils.Tpo .deps/utils.Po
gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\"
-DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT
getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c
mv -f .deps/getopt.Tpo .deps/getopt.Po
gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\"
-DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT
getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c
mv -f .deps/getopt1.Tpo .deps/getopt1.Po
gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\"
-DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT
list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c
mv -f .deps/list.Tpo .deps/list.Po
gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\"
-DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT
splay_tree.o -MD -MP -MF .deps/splay_tree.Tpo -c -o splay_tree.o
splay_tree.c
mv -f .deps/splay_tree.Tpo .deps/splay_tree.Po
gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\"
-DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT
dropin.o -MD -MP -MF .deps/dropin.Tpo -c -o dropin.o dropin.c
mv -f .deps/dropin.Tpo .deps/dropin.Po
gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\"
-DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT
fake-getaddrinfo.o -MD -MP -MF .deps/fake-getaddrinfo.Tpo -c -o
fake-getaddrinfo.o fake-getaddrinfo.c
mv -f .deps/fake-getaddrinfo.Tpo .deps/fake-getaddrinfo.Po
gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\"
-DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT
fake-getnameinfo.o -MD -MP -MF .deps/fake-getnameinfo.Tpo -c -o
fake-getnameinfo.o fake-getnameinfo.c
mv -f .deps/fake-getnameinfo.Tpo .deps/fake-getnameinfo.Po
gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\"
-DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT
buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o buffer.c
mv -f .deps/buffer.Tpo .deps/buffer.Po
gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\"
-DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT
conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c
In file included from connection.h:50,
                 from conf.c:27:
ecdh.h:23:26: error: openssl/ecdh.h: No such file or directory
In file included from connection.h:50,
                 from conf.c:27:
ecdh.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘*’ token
ecdh.h:30: error: expected ‘)’ before ‘*’ token
ecdh.h:31: error: expected ‘)’ before ‘*’ token
ecdh.h:32: error: expected ‘)’ before ‘*’ token
In file included from connection.h:51,
                 from conf.c:27:
ecdsa.h:23:24: error: openssl/ec.h: No such file or directory
In file included from connection.h:51,
                 from conf.c:27:
ecdsa.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘*’ token
ecdsa.h:27: error: expected ‘)’ before ‘*’ token
ecdsa.h:28: error: expected ‘)’ before ‘*’ token
ecdsa.h:29: error: expected ‘)’ before ‘*’ token
ecdsa.h:30: error: expected ‘)’ before ‘*’ token
ecdsa.h:31: error: expected ‘)’ before ‘*’ token
ecdsa.h:32: error: expected ‘)’ before ‘*’ token
ecdsa.h:33: error: expected ‘)’ before ‘*’ token
ecdsa.h:34: error: expected ‘)’ before ‘*’ token
ecdsa.h:35: error: expected ‘)’ before ‘*’ token
In file included from subnet.h:47,
                 from conf.h:34,
                 from net.h:94,
                 from edge.h:26,
                 from connection.h:52,
                 from conf.c:27:
node.h:52: error: expected specifier-qualifier-list before ‘ecdsa_t’
node.h:103: warning: ‘struct connection_t’ declared inside parameter list
node.h:103: warning: its scope is only this definition or declaration,
which is probably not what you want
node.h:104: warning: ‘struct connection_t’ declared inside parameter list
In file included from conf.h:34,
                 from net.h:94,
                 from edge.h:26,
                 from connection.h:52,
                 from conf.c:27:
subnet.h:85: warning: ‘struct connection_t’ declared inside parameter list
In file included from net.h:94,
                 from edge.h:26,
                 from connection.h:52,
                 from conf.c:27:
conf.h:63: warning: ‘struct connection_t’ declared inside parameter list
In file included from edge.h:26,
                 from connection.h:52,
                 from conf.c:27:
net.h:129: warning: ‘struct connection_t’ declared inside parameter list
net.h:130: warning: ‘struct connection_t’ declared inside parameter list
net.h:135: warning: ‘struct connection_t’ declared inside parameter list
net.h:142: warning: ‘struct connection_t’ declared inside parameter list
net.h:145: warning: ‘struct connection_t’ declared inside parameter list
net.h:146: warning: ‘struct connection_t’ declared inside parameter list
In file included from conf.c:27:
connection.h:75: error: expected specifier-qualifier-list before ‘ecdsa_t’
conf.c:390: error: conflicting types for ‘read_connection_config’
conf.h:63: error: previous declaration of ‘read_connection_config’ was here
conf.c: In function ‘read_connection_config’:
conf.c:394: error: ‘connection_t’ has no member named ‘config_tree’
conf.c:397: error: ‘connection_t’ has no member named ‘config_tree’
make[2]: *** [conf.o] Error 1
make[2]: Leaving directory `/usr/src/tinc-1.1pre2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/tinc-1.1pre2'
make: *** [all] Error 2
[root at server tinc-1.1pre2]#
--------------------------------------------------------------------

Can you help me with these errors?


Best regards,

Ramses


2012/4/3 Guus Sliepen <guus at tinc-vpn.org>

> On Tue, Apr 03, 2012 at 04:58:50PM +0200, Ramses wrote:
>
> > >> I tried to install it and when I execute the "make" it give me a lot
> of errors.
> > >
> > > There is a list in the README. But in short: OpenSSL, libevent, zlib
> and
> > > liblzo. And you should ./configure before you run make.
> >
> > Of course, I have installed these packages becouse I have installed and
> running Tinc 1.0.13 in this machine, and I execute "./configure" first and
> "make" later.
>
> For tinc 1.1pre2 you need libevent, which is not required for tinc 1.0.13.
>
> > And other thing, In this machine I can install perfectly Tinc 1.0.18 and
> not give me any error when compile or execute "make".
> >
> > This only occurs when I try to install Tinc 1.1pre2.
>
> It would help if you could send us a copy of the output of "make", so we
> can
> see what errors it encounters.
>
> --
> Met vriendelijke groet / with kind regards,
>     Guus Sliepen <guus at tinc-vpn.org>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAk97TrYACgkQAxLow12M2ntKQgCgpWQJA86DycBUVhZulgft6eAA
> A+4AnjySdclxgG4PWxX2Sn6bSi5OQtGM
> =uYyp
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20120405/7e251034/attachment-0001.html>


More information about the tinc mailing list