VPN server installation PROBLEM !!

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
juloo1
Posts: 6
Joined: Sat Jun 30, 2018 2:33 pm

VPN server installation PROBLEM !!

Post by juloo1 » Sat Jun 30, 2018 2:41 pm

Hi , i tried to install the soft ether VPN with my ROC-RK3328-CC. I did everything people said to install it , and it come with all the same problem after I hit MAKE . i press 1 in every agreement , and at the end it said :

make[1]: Entering directory '/home/firefly/vpnserver'
Preparing SoftEther VPN Server...
ranlib lib/libcharset.a
ranlib lib/libcrypto.a
ranlib lib/libedit.a
ranlib lib/libiconv.a
ranlib lib/libncurses.a
ranlib lib/libssl.a
ranlib lib/libz.a
ranlib code/vpnserver.a
gcc code/vpnserver.a -O2 -fsigned-char -lm -ldl -lrt -Wl,--no-warn-mismatch -lpthread -L./ lib/libssl.a lib/libcrypto.a lib/libiconv.a lib/libcharset.a lib/libedit.a lib/libncurses.a lib/libz.a -o vpnserver
code/vpnserver.a: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
Makefile:18: recipe for target 'i_read_and_agree_the_license_agreement' failed
make[1]: *** [i_read_and_agree_the_license_agreement] Error 1
make[1]: Leaving directory '/home/firefly/vpnserver'


i try armbian and ubuntu server , with softether VPN server CPU EABI 32 bit ( i tried all CPU model just to check and all the time i come with this error) I try to all beta , and RTM version ...


What i have to do now ??

Thank you

cedar
Site Admin
Posts: 2070
Joined: Sat Mar 09, 2013 5:37 am

Re: VPN server installation PROBLEM !!

Post by cedar » Tue Jul 03, 2018 9:17 am

Please try to compile from source code.
https://github.com/SoftEtherVPN/SoftEtherVPN

juloo1
Posts: 6
Joined: Sat Jun 30, 2018 2:33 pm

Re: VPN server installation PROBLEM !!

Post by juloo1 » Tue Jul 03, 2018 3:31 pm

So i thing you talk about this command :

The download and build instruction is following:

$ git clone https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.git
$ cd SoftEtherVPN
$ ./configure
$ make
$ make install

.
I tried it but i am stuck when i hit ''./configure'' it show :

root@jul:/home/julserverlinux/SoftEtherVPN# ./configure
---------------------------------------------------------------------
SoftEther VPN for Unix

Copyright (c) SoftEther VPN Project at University of Tsukuba, Japan.
Copyright (c) Daiyuu Nobori. All Rights Reserved.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation.

Read and understand README.TXT, LICENSE.TXT and WARNING.TXT before use.
---------------------------------------------------------------------

Welcome to the corner-cutting configure script !

./configure: 28: ./configure: cmake: not found

The Makefile is generated. Run 'make -C tmp' to build SoftEther VPN.
root@jul:/home/julserverlinux/SoftEtherVPN# make -C tmp
make: Entering directory '/home/julserverlinux/SoftEtherVPN/tmp'
make: *** No targets specified and no makefile found. Stop.
make: Leaving directory '/home/julserverlinux/SoftEtherVPN/tmp'
root@jul:/home/julserverlinux/SoftEtherVPN# make
make: *** No targets specified and no makefile found. Stop.
root@jul:/home/julserverlinux/SoftEtherVPN# make install
make: *** No rule to make target 'install'. Stop.
root@jul:/home/julserverlinux/SoftEtherVPN#


Thanks for you answer !

cedar
Site Admin
Posts: 2070
Joined: Sat Mar 09, 2013 5:37 am

Re: VPN server installation PROBLEM !!

Post by cedar » Wed Jul 04, 2018 9:07 am

You forgot to change working directory.
> $ cd SoftEtherVPN

juloo1
Posts: 6
Joined: Sat Jun 30, 2018 2:33 pm

Re: VPN server installation PROBLEM !!

Post by juloo1 » Wed Jul 04, 2018 7:46 pm

I do !! look a the top : /home/julserverlinux/SoftEtherVPN

After that, i use the command ./configure and everything ..

and i stuck here with the problem ..


julserverlinux@jul:~/SoftEtherVPN$ ls
AUTHORS.TXT centos ChangeLog CMakeLists.txt configure debian DISCLAIMER.md LICENSE README.md src systemd tmp

cedar
Site Admin
Posts: 2070
Joined: Sat Mar 09, 2013 5:37 am

Re: VPN server installation PROBLEM !!

Post by cedar » Wed Jul 04, 2018 8:31 pm

please try cd src

juloo1
Posts: 6
Joined: Sat Jun 30, 2018 2:33 pm

Re: VPN server installation PROBLEM !!

Post by juloo1 » Wed Jul 04, 2018 8:39 pm

julserverlinux@jul:~/SoftEtherVPN$ cd src
julserverlinux@jul:~/SoftEtherVPN/src$ ls
bin BUILD_UNIX.md Cedar CurrentBuild.txt hamcorebuilder Neo6 SeeDll THIRD_PARTY.TXT vpnbrand vpncmd vpndrvinst vpnsetup WARNING.TXT
BuildAll.cmd BuildUtil CMakeLists.txt GlobalConst.h Mayaqua PenCore SeLow VGate vpnbridge vpncmdsys vpninstall vpnsmgr Wfp
BuildFiles BUILD_WINDOWS.md configure Ham Neo See SEVPN.sln vpn16 vpnclient vpncmgr vpnserver vpnweb
julserverlinux@jul:~/SoftEtherVPN/src$ ./configure
Move to the parent directory and run ./configure script as following:

$ cd ..
$ ./configure

Good luck!
julserverlinux@jul:~/SoftEtherVPN/src$ cd ..
julserverlinux@jul:~/SoftEtherVPN$ ./configure
---------------------------------------------------------------------
SoftEther VPN for Unix

Copyright (c) SoftEther VPN Project at University of Tsukuba, Japan.
Copyright (c) Daiyuu Nobori. All Rights Reserved.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation.

Read and understand README.TXT, LICENSE.TXT and WARNING.TXT before use.
---------------------------------------------------------------------

Welcome to the corner-cutting configure script !

./configure: 28: ./configure: cmake: not found

The Makefile is generated. Run 'make -C tmp' to build SoftEther VPN.
julserverlinux@jul:~/SoftEtherVPN$



Not working :/

cedar
Site Admin
Posts: 2070
Joined: Sat Mar 09, 2013 5:37 am

Re: VPN server installation PROBLEM !!

Post by cedar » Thu Jul 05, 2018 11:58 pm

Please run make on src directory.

juloo1
Posts: 6
Joined: Sat Jun 30, 2018 2:33 pm

Re: VPN server installation PROBLEM !!

Post by juloo1 » Fri Jul 06, 2018 10:28 pm

I tried , but what i need to do after this ??


root@jul:/home/julserverlinux/SoftEtherVPN/src# ls
bin BUILD_UNIX.md Cedar CurrentBuild.txt hamcorebuilder Neo6 SeeDll THIRD_PARTY.TXT vpnbrand vpncmd vpndrvinst vpnsetup WARNING.TXT
BuildAll.cmd BuildUtil CMakeLists.txt GlobalConst.h Mayaqua PenCore SeLow VGate vpnbridge vpncmdsys vpninstall vpnsmgr Wfp
BuildFiles BUILD_WINDOWS.md configure Ham Neo See SEVPN.sln vpn16 vpnclient vpncmgr vpnserver vpnweb
root@jul:/home/julserverlinux/SoftEtherVPN/src# sudo make
make: *** No targets specified and no makefile found. Stop.
root@jul:/home/julserverlinux/SoftEtherVPN/src# sudo make install
make: *** No rule to make target 'install'. Stop.
root@jul:/home/julserverlinux/SoftEtherVPN/src#

cedar
Site Admin
Posts: 2070
Joined: Sat Mar 09, 2013 5:37 am

Re: VPN server installation PROBLEM !!

Post by cedar » Fri Jul 06, 2018 11:16 pm

it seems makefile is not generated yet.
please try to run configure in src or copy makefile yourself.

Post Reply