politas 0 Posted ... I've followed the instructions for building the AirVPN client here, and it seems to run just fine. The downloaded copy doesn't seem to like the newer version of Mono I'm running, but building it on my machine seems to work ok when I run it (so far). How do I make a .deb package or otherwise install it? I've tried the Tools|Build Package, but that gets me a tar.gz file which I'm really not sure about, and I'm also unsure as to exactly which segments I need to select anyway. Quote Share this post Link to post
Clodo 176 Posted ... After building, run the project "Deploy" to generate .deb files (will be placed in /repository/ directory). Why you need to compile and rebuild? You have special needs (like patch) or error with standard AirVPN files ? Quote Share this post Link to post
politas 0 Posted ... The UI keeps freezing when I click on a checkbox or a button in a dialog box when I use the portable version, and trying to install the .deb file leaves apt-get complaining about a broken package (airvpn wants a lower Mono version that I'm using). Quote Share this post Link to post
politas 0 Posted ... I don't get a .deb file when I run the "Deploy" item (though I do get "mono" and "portable" tarballs). Here's the results I do get: -- AirVPN Team <info@airvpn.org> Fri, 16 May 2014 23:26:39 +0000 airvpn (2.0) stable; urgency=low * [new] First Beta Release -- AirVPN Team <info@airvpn.org> Fri, 09 May 2014 00:00:00 +0000 vim: et % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0100 11897 0 11897 0 0 7300 0 --:--:-- 0:00:01 --:--:-- 7298Shell: gzip -9 "/tmp/airvpn_deploy/airvpn_linux_x64_debian/usr/share/doc/airvpn/changelog"Shell: chmod 644 "/tmp/airvpn_deploy/airvpn_linux_x64_debian/usr/share/doc/airvpn/changelog.gz"Shell: mono "/tmp/airvpn_deploy/airvpn_linux_x64_debian/usr/lib/AirVPN/AirVPN.exe" -cli -helpOutput: You need root access for this program (to alter routing table)WARNING: The runtime version supported by this application is unavailable.Using default runtime: v4.0.30319 Unhandled Exception:System.IO.DirectoryNotFoundException: Could not find a part of the path "/tmp/airvpn_deploy/airvpn_linux_x64_debian/usr/share/man/man1/airvpn.1". at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0 at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, System.String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool) at System.IO.StreamWriter.CreateFile (System.String path, Boolean append, Boolean checkHost) [0x00000] in <filename unknown>:0 at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize, Boolean checkHost) [0x00000] in <filename unknown>:0 at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0 at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding) at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0 at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0 at Deploy.Program.Main (System.String[] args) [0x00d5c] in /home/politas/Projects/AirVPN/airvpn-client.git/trunk/src/Deploy/Program.cs:351 [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.DirectoryNotFoundException: Could not find a part of the path "/tmp/airvpn_deploy/airvpn_linux_x64_debian/usr/share/man/man1/airvpn.1". at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0 at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, System.String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool) at System.IO.StreamWriter.CreateFile (System.String path, Boolean append, Boolean checkHost) [0x00000] in <filename unknown>:0 at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize, Boolean checkHost) [0x00000] in <filename unknown>:0 at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0 at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding) at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0 at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0 at Deploy.Program.Main (System.String[] args) [0x00d5c] in /home/politas/Projects/AirVPN/airvpn-client.git/trunk/src/Deploy/Program.cs:351 The application was terminated by a signal: SIGHUP Quote Share this post Link to post
politas 0 Posted ... It does appear to have given me a working portable version, so I can reliably connect again, at least. It would be nice to have a menu item, though. Quote Share this post Link to post
InactiveUser 188 Posted ... To get a menu item for your compiled portable version, create a text file called AirVPN.desktop and place it in~/.local/share/applications/or:/usr/share/applications/ Here are the contents of AirVPN.desktop as it is found in the Git repo (resources/debian/usr/share/applications/AirVPN.desktop) [Desktop Entry]Name=AirVPNComment=AirVPNExec=/usr/bin/airvpnIcon=/usr/share/pixmaps/AirVPN.pngTerminal=falseType=ApplicationCategories=GNOME;Network You would only need to change Exec= and Icon= to your custom paths.The icon AirVPN.png can also be found in your cloned Git repo, resources/debian/usr/share/pixmaps/AirVPN.png Quote Hide InactiveUser's signature Hide all signatures all of my content is released under CC-BY-SA 2.0 Share this post Link to post
politas 0 Posted ... Ah, thank you very much. It all seems to be working fine, now, with a lovely icon and all! Quote Share this post Link to post