Discussion:
[Openvpn-users] building for ARM using buildsystem document bug
debbie10t
2017-05-31 15:16:29 UTC
Permalink
Hi,

Source:
https://community.openvpn.net/openvpn/wiki/BuildingUsingGenericBuildsystem#BuildingOpenVPNanditsdependencies

<quote>
If you get an error complaining about missing libpam, add
--disable-plugin-auth-pam to generic/build.vars:

OPENVPN_CONFIG="${EXTRA_OPENVPN_CONFIG:---enable-password-save
--disable-debug --disable-snappy --disable-plugin-auth-pam}"
</quote>

This must read:

<quote>
If you get an error complaining about missing libpam, add
--disable-plugin-auth-pam to generic/build.vars:

EXTRA_OPENVPN_CONFIG="${EXTRA_OPENVPN_CONFIG:---enable-password-save
--disable-debug --disable-snappy --disable-plugin-auth-pam}"
</quote>

Highlight: EXTRA_OPENVPN_CONFIG=..

(It is apparent from build.vars file)

Tested and build successful on ubuntu 16.04 for ARM using:

IMAGEROOT=`pwd`/image-arm CHOST=arm-linux-gnueabi
CBUILD=x86_64-pc-linux-gnu ./build

(Although, I have no ARM device to test the final binary)

Thanks
debbie10t
2017-05-31 17:19:51 UTC
Permalink
Sorry .. this should have gone to openvpn-devel.

I went ahead and made the change to the wiki page.

regards
Post by debbie10t
Hi,
https://community.openvpn.net/openvpn/wiki/BuildingUsingGenericBuildsystem#BuildingOpenVPNanditsdependencies
<quote>
If you get an error complaining about missing libpam, add
OPENVPN_CONFIG="${EXTRA_OPENVPN_CONFIG:---enable-password-save
--disable-debug --disable-snappy --disable-plugin-auth-pam}"
</quote>
<quote>
If you get an error complaining about missing libpam, add
EXTRA_OPENVPN_CONFIG="${EXTRA_OPENVPN_CONFIG:---enable-password-save
--disable-debug --disable-snappy --disable-plugin-auth-pam}"
</quote>
Highlight: EXTRA_OPENVPN_CONFIG=..
(It is apparent from build.vars file)
IMAGEROOT=`pwd`/image-arm CHOST=arm-linux-gnueabi
CBUILD=x86_64-pc-linux-gnu ./build
(Although, I have no ARM device to test the final binary)
Thanks
Loading...