Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails for malformed module path #44

Closed
mmrvelj opened this issue Aug 10, 2021 · 3 comments
Closed

build fails for malformed module path #44

mmrvelj opened this issue Aug 10, 2021 · 3 comments
Labels
question Further information is requested

Comments

@mmrvelj
Copy link

mmrvelj commented Aug 10, 2021

Clean ubuntu installation, installed openvpn and easy-rsa (not documented but required), and documented dependencies.

Upon executing build.sh I get an error:

build ovpn-admin: cannot load home/ubuntu/ovpn-admin/packrd: malformed module path "home/ubuntu/ovpn-admin/packrd": missing dot in first path element

tried both as root and regular user, with same result.

@haseeb-basil-pl
Copy link

haseeb-basil-pl commented Aug 17, 2021

I have a similar error:

main-packr.go:8:8: cannot find package "home/ubuntu/ovpn-admin/packrd" in any of:
/usr/lib/golang/src/home/ubuntu/ovpn-admin/packrd (from $GOROOT)
/home/ubuntu/go/src/home/ubuntu/ovpn-admin/packrd (from $GOPATH)

@pashcovich
Copy link
Contributor

hi guys, I think it's because of an unspecified GOPATH environment variable
try to set it something like this export GOPATH=$HOME/go before run ./build.sh script

@pashcovich pashcovich added the question Further information is requested label Oct 7, 2021
@jducifuentes
Copy link

I can confirm that. You must to export path variable to get source compile sucess.
Should append to read.me to clarify.....

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants