Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

How to compile? #97

Open
3 tasks done
Anonymous941 opened this issue Dec 24, 2022 · 18 comments
Open
3 tasks done

How to compile? #97

Anonymous941 opened this issue Dec 24, 2022 · 18 comments

Comments

@Anonymous941
Copy link

We are happy to answer your questions about the code or discuss technical ideas.

Please complete the following checklist (by adding [x]):

  • I have searched open and closed issues for duplicates
  • This isn't a feature request
  • This is not a report about my app not working as expected

How do I compile this? I've tried to run sudo make, sudo make install and read the Makefile but nothing compiles successfully.

@quantum77
Copy link

Wow, this app really is just garbage. Will not compile no matter what you do, much less for RHEL.

Coupled with them not responding to support requests for email, they clearly don't give a damn. I have wasted my money on a two year Unlimited subscription.

@Anonymous941
Copy link
Author

Wow, this app really is just garbage. Will not compile no matter what you do, much less for RHEL.

Coupled with them not responding to support requests for email, they clearly don't give a damn. I have wasted my money on a two year Unlimited subscription.

I've emailed them, and at least the support person has been very patient, but when the developers don't care about the client there's only so much support personnel can do.
@alexandrevicenzi can you please answer this? I'm trying to do work for this client that Proton should be doing themselves, and I just need a little help. I'm not blaming you for any of this, it's probably wasn't your decision to devote no resources to this, but will you find the time to just tell me how it's compiled?

@quantum77
Copy link

Well. There's no configure.ac so automake won't work. And according to the makefile we should be able to:

make image-deb

make image-fed36

make image-fed37 or

make image-arch

... but none can work. and for some reason there's nothing for RHEL9.1.

If, instead of naming it to something sensible, we leave it named to linux-app and try to compile... it fails in a new and unique way.

First of all they are trying to compile a docker container,m and Docker is notoriously unsecure. If you happen to use podman-docker, you can't win.

This "open source" version is busted. Greenwashing.

And my four email accounts are all screwed up since moving to PM. And I am not getting emails. PM support does not respond. I have wasted my money on a 2 year Unlimited subscription and they've refused to let me out of it. This means they want me outside the tent pissing in, rather than inside the tent pissing out.

@calexandru2018
Copy link
Collaborator

Hey @quantum77 and @Anonymous941,

I'm really sorry that you are experiencing these issues. Unfortunately we never had the bandwidth to officially support manual installs . For some (long) time I was the only developer and we just couldn't support multiple distro installations and also manual installs, it just wasn't possible. Although as of last year, we've hired another linux engineer and we're working hard on a much more stable version. We're fully aware of the issues and shortcomings with the current application, after well we're also linux users ourselves.

@Anonymous941
Copy link
Author

Anonymous941 commented Feb 5, 2023

@calexandru2018 Thank you for the response. How did you compile the .deb package that you have on your site? Also, can you just fix the DNS bug with this program, then continue working on the new one?
Because I'm having to constantly reconnect to the VPN. Constantly. This is making my Internet connection unusable, and I've had to do this for almost a year. I've tried four different computers and they all have the exact same issue. So it's probably an issue with everyone else as well.

@calexandru2018
Copy link
Collaborator

calexandru2018 commented Feb 5, 2023

You won't be able to compile it since the repo package is not on GitHub. The only packages on GitHub are the ones required to run the application. If you want to see what the repo package contains you can unpack the .deb in a Debian based distro. (In a nutshell, the repo package installs the repo file and the gpg key that you can find on our website.)
Also, why are you trying to compile it ? If you're trying on any unsupported distro it probably will be a nightmare as I've tried it myself, figuring out the package names and etc.

Regarding the dns bug, could you be a bit more specific about it ?

@Anonymous941
Copy link
Author

@calexandru2018 I'm using Ubuntu 22.04 LTS, and the client installed successfully, but it has a recurring issue with DNS. Since you're busy with the new client, I thought I'd try to work on it myself by compiling it and contributing the changes, but am having trouble compiling it to the binary found on the repository.

the repo package installs the repo file and the gpg key that you can find on our website

I'm referring to the .deb package that the repo installs (with sudo apt install protonvpn), which I'd like to build myself.

Regarding the dns bug, could you be a bit more specific about it ?

Would you like me to make a new issue about it or tell you about it here?

Thanks for taking the time to help me with this.

@alexandrevicenzi
Copy link
Contributor

This is a Python project, there's no "compiling" like C, Python is a scripting language.

To build a Python package (aka egg file) run the following command:

python3 setup.py build

To install Proton GUI from sources run the following command:

python3 setup.py install

To install Proton GUI from sources as an editable package you can try the following command:

pip3 install --editable .

To run Proton GUI from sources run the following command:

python3 -m protonvpn_gui.main

The source for a working distro package (openSUSE) is available here.

If you find bugs within openSUSE, please, report them to openSUSE Bugzilla, and not this project.

@alexandrevicenzi
Copy link
Contributor

An unrelated comment, the openSUSE Build System (OBS) can build packages for openSUSE, Fedora, Debian, Ubuntu, Arch, and other distros.

I do not have that enabled for my packages because I don't want to maintain other distros, but @Anonymous941 you can create an account in OBS and build the packages yourself.

For @calexandru2018, perhaps it would be worth for you, this project, and any other Proton Linux, if you use our infra to build packages for all major distros. If you are interested, we can coordinate something.

@alexandrevicenzi
Copy link
Contributor

alexandrevicenzi commented Feb 9, 2023

@quantum77 if ProtonVPN GUI does not work on Linux, you can download the OVN files from the ProtonVPN dashboard and use OpenVPN.

It is also possible to use StrongSwan/IPSec, and even WireGuard I think.

The ProtonVPN client for Linux is basically a wrapper around nmcli and OpenVPN.

@quantum77
Copy link

quantum77 commented Feb 9, 2023 via email

@Anonymous941
Copy link
Author

The problem I have with both WireGuard and OpenVPN is that it can't connect to the fastest server automatically, and I'd need to constantly be switching profiles when servers became overloaded.

@quantum77
Copy link

quantum77 commented Feb 10, 2023 via email

@alexandrevicenzi
Copy link
Contributor

@Anonymous941 I assume that if you connect to a country, it will choose the best server, but if you connect to country#number, that server could be under load.

OpenVPN works with no issues for me, the official client for Linux I don't use much, to be honest.
The macOS client works and I wish that it could be the same app for Linux, given that macOS is a Unix-like system.

@Anonymous941
Copy link
Author

@alexandrevicenzi How do you configure OpenVPN to connect to a country, not country#number?

@quantum77
Copy link

quantum77 commented Feb 13, 2023 via email

@calexandru2018
Copy link
Collaborator

@Anonymous941 @quantum77 It's enough to download the country configuration from the vpn web panel.

@quantum77
Copy link

quantum77 commented Feb 13, 2023 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants