Hi Tinc Mailing Group,
I've been trying for some days now, to get tinc up and running.
Could someone please suggest what I could do to get it working.
I've installed Redhat 6.2 onto a pc, and then installed the
latest 2.2 kernel:  2.2.18  from source code (The usual 
make menuconfig ; make dep ; make bzImage , etc). I've followed
the tinc instructions for adding the 'ethertap' device, etc.
I was able to sucessfully install iproute-2.2.4-2.i386.rpm and
openssl-0.9.6-1.i386.rpm and then tinc-1.0pre2-1.i386.rpm
using the rpm package manager. I then managed to set up a
connection between two similar 'test-bed' PCs. (By connection,
I mean that the two tincd's authenticated one another, but
I never got a vpn working.)
Then I started looking into the online documentation for tinc
and spotted that the documentation for tinc-1.0pre3 was radically
different to the documentation I had for the earlier version.
I realised at this point that I would need to uninstall 
tinc-1.0pre2 and then install tinc-1.0pre3
Unfortunately there is no tinc-1.0pre3.i386.rpm package available
yet. So I decided to try to install the 'pre3' version from the
source code tarball.
I extracted tinc-1.0pre3.tar.gz and then tried ./configure
After creating the config script I then type make
It goes some way through the make process and it quits with
an error message:
Making all in lib
make[2]: Entering directory `/usr/src/tinc-1.0pre3/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/tinc-1.0pre3/lib'
Making all in src
make[2]: Entering directory `/usr/src/tinc-1.0pre3/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl    -g -O2
-DPKGLIBDIR=/
usr/local/lib/tinc -DCONFDIR=\"/usr/local/etc\"
-DLOCALEDIR=\"/usr/local/share/l
ocale\" -c conf.c
In file included from net.h:110,
                 from conf.h:26,
                 from conf.c:37:
connlist.h:26: openssl/evp.h: No such file or directory
connlist.h:27: openssl/rsa.h: No such file or directory
make[2]: *** [conf.o] Error 1
make[2]: Leaving directory `/usr/src/tinc-1.0pre3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/tinc-1.0pre3'
make: *** [all-recursive-am] Error 2
I am aware this has something to do with the location of
some parts of openssl, but I am unable to work out what to
do to fix it. I've spotted the ' 2.2.1 OpenSSL ' section
in the online documentation but that hasn't helped me much.
Does anyone know where I can get tinc-1.0pre3.i386.rpm?
Is anyone able to advise me how to get the compilation to
work?
Thanks,
Gillian.
-
Tinc:         Discussion list about the tinc VPN daemon
Archive:      http://mail.nl.linux.org/lists/
Tinc site:    http://ftp.nl.linux.org/pub/linux/tinc/
Hi Tinc Mailing Group,
I've been trying for some days now, to get tinc up and running.
Could someone please suggest what I could do to get it working.
I've installed Redhat 6.2 onto a pc, and then installed the
latest 2.2 kernel:  2.2.18  from source code (The usual 
make menuconfig ; make dep ; make bzImage , etc). I've followed
the tinc instructions for adding the 'ethertap' device, etc.
I was able to sucessfully install iproute-2.2.4-2.i386.rpm and
openssl-0.9.6-1.i386.rpm and then tinc-1.0pre2-1.i386.rpm
using the rpm package manager. I then managed to set up a
connection between two similar 'test-bed' PCs. (By connection,
I mean that the two tincd's authenticated one another, but
I never got a vpn working.)
Then I started looking into the online documentation for tinc
and spotted that the documentation for tinc-1.0pre3 was radically
different to the documentation I had for the earlier version.
I realised at this point that I would need to uninstall 
tinc-1.0pre2 and then install tinc-1.0pre3
Unfortunately there is no tinc-1.0pre3.i386.rpm package available
yet. So I decided to try to install the 'pre3' version from the
source code tarball.
I extracted tinc-1.0pre3.tar.gz and then tried ./configure
After creating the config script I then type make
It goes some way through the make process and it quits with
an error message:
Making all in lib
make[2]: Entering directory `/usr/src/tinc-1.0pre3/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/tinc-1.0pre3/lib'
Making all in src
make[2]: Entering directory `/usr/src/tinc-1.0pre3/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl    -g -O2
-DPKGLIBDIR=/
usr/local/lib/tinc -DCONFDIR=\"/usr/local/etc\"
-DLOCALEDIR=\"/usr/local/share/l
ocale\" -c conf.c
In file included from net.h:110,
                 from conf.h:26,
                 from conf.c:37:
connlist.h:26: openssl/evp.h: No such file or directory
connlist.h:27: openssl/rsa.h: No such file or directory
make[2]: *** [conf.o] Error 1
make[2]: Leaving directory `/usr/src/tinc-1.0pre3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/tinc-1.0pre3'
make: *** [all-recursive-am] Error 2
I am aware this has something to do with the location of
some parts of openssl, but I am unable to work out what to
do to fix it. I've spotted the ' 2.2.1 OpenSSL ' section
in the online documentation but that hasn't helped me much.
Does anyone know where I can get tinc-1.0pre3.i386.rpm?
Is anyone able to advise me how to get the compilation to
work?
Thanks,
Gillian.
-
Tinc:         Discussion list about the tinc VPN daemon
Archive:      http://mail.nl.linux.org/lists/
Tinc site:    http://ftp.nl.linux.org/pub/linux/tinc/
> Making all in lib > make[2]: Entering directory `/usr/src/tinc-1.0pre3/lib' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/usr/src/tinc-1.0pre3/lib' > Making all in src > make[2]: Entering directory `/usr/src/tinc-1.0pre3/src' > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2 > -DPKGLIBDIR=/ > usr/local/lib/tinc -DCONFDIR=\"/usr/local/etc\" > -DLOCALEDIR=\"/usr/local/share/l > ocale\" -c conf.c > In file included from net.h:110, > from conf.h:26, > from conf.c:37: > connlist.h:26: openssl/evp.h: No such file or directory > connlist.h:27: openssl/rsa.h: No such file or directory > make[2]: *** [conf.o] Error 1 > make[2]: Leaving directory `/usr/src/tinc-1.0pre3/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/tinc-1.0pre3' > make: *** [all-recursive-am] Error 2I encountered this same problem a few times and copying all OpenSSL .h files to /usr/include/openssl fixed the problem. HTH Bart Friederichs bart@friesoft.nl ----------------------------------------------------------------------- The internet is a too slow way of doing things you'd never do without it. Bart Friederichs, 1998 ------------------------------------------------------------------------- - Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://ftp.nl.linux.org/pub/linux/tinc/