Bug 12588 - openvpn should be configured with --enable-iproute2 and without --enable-pthread
: openvpn should be configured with --enable-iproute2 and without --enable-pthread
Status: UNCONFIRMED
Product: openvpn
General
: unspecified
: N900 Maemo
: Unspecified enhancement (vote)
: ---
Assigned To: Andrea Borgia
: general
:
:
:
:
  Show dependency tree
 
Reported: 2012-03-19 11:59 UTC by David Sommerseth
Modified: 2012-03-19 12:11 UTC (History)
0 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description David Sommerseth (reporter) 2012-03-19 11:59:02 UTC
The currently available (test) version, openvpn-2.2.0 is not built with
iproute2 support.  This makes openvpn connections fail if the openvpn server
supports IPv6 over TUN (2.3-alpha release) and pushes out IPv6 addresses.  It
fails when setting up IPv6 addresses via /sbin/ifconfig.

I suggest building openvpn with ./configure --enable-iproute2 instead of the
ifconfig/route arguments.


While I'm at it, --enable-pthread is also bogus.  That's a NOP, if you read
syshead.h, you'll see that it is forced to be disabled there.  And if you
remove that blocker, OpenVPN still won't compile cleanly.  The whole threading
code is ripped out before the version 2.2 was released.  See git commit
7aa6c12a4424d00ea [1] for more info.



[1]
http://openvpn.git.sourceforge.net/git/gitweb.cgi?p=openvpn/openvpn.git;a=commitdiff;h=7aa6c12a4424d00ea0add0a849f8a5b31a2de6a1
Comment 1 Andrea Borgia 2012-03-19 12:11:53 UTC
I am no longer active as maintainer for openvpn on Maemo: you're welcome to fix
it yourself, since I cannot test your case anyway.