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

Help wanted: install failed #447

Closed
dota17 opened this issue Oct 28, 2019 · 9 comments
Closed

Help wanted: install failed #447

dota17 opened this issue Oct 28, 2019 · 9 comments
Assignees
Labels
installation Related the installation process

Comments

@dota17
Copy link

dota17 commented Oct 28, 2019

Hi augur team!
When I try to install this lib according to the document, I got a fail at step 2:
augur_issue
Is there anyone who can help me?
Thanks in advance!

@welcome
Copy link

welcome bot commented Oct 28, 2019

Thanks for opening your first issue here! 🛠
We always appreciate attentive users and developers such as yourself.

Please be sure to follow the issue template, as the info it provides will help us help you!

If you have any questions, please don't hesitate contact @ccarterlandis, @sgoggins, or @gabe-heim!

@dota17
Copy link
Author

dota17 commented Oct 28, 2019

@michaelwoodruffdev

@ccarterlandis
Copy link
Contributor

Hi @dota17! What operating system are you running? Additionally, what are the file permissions for util/scripts/install/install.sh? Can you run that file by itself with using make install?

@ccarterlandis ccarterlandis self-assigned this Oct 28, 2019
@ccarterlandis ccarterlandis added the installation Related the installation process label Oct 28, 2019
@dota17
Copy link
Author

dota17 commented Oct 28, 2019

Sorry, I forgot to give some detail information about my PC.

os: Ubuntu 18.04.2 LTS (Bionic Beaver)
make: GNU Make 4.1 Built for x86_64-pc-linux-gnu

well, at first, it tells me that:
augur_issue2
so, I changed its permission to 777, then it tells me:

make: ./util/scripts/install/install.sh: Command not found
Makefile:51: recipe for target 'install' failed
make: *** [install] Error 127

and when I run install.sh manually, it tells me:

bash: ./install.sh: /bin/bash^M: bad interpreter: No such file or directory

That's all.
Thank you @ccarterlandis

@ccarterlandis
Copy link
Contributor

Thanks for providing that information @dota17. Good news is that we officially support Ubuntu 18.04 and that the file permissions should be fine.

The "bad interpreter" error makes me think that the ^M after the shebang is the problem. However, I don't see that on my version of master. What does the first line of util/scripts/install/install.sh look like? If it has that ^M, delete it so that it reads #!/bin/bash and then run it again and see if that changes the output.

@dota17
Copy link
Author

dota17 commented Oct 29, 2019

Thank you very much!
The ^M comes from the windows, casue I use Git for Windows Desktop to clone this lib.

PS: I have tried to download .zip package directly instead of cloning it, but there are some problems to unzip it.

 Unexpected end of archive

@ccarterlandis
Copy link
Contributor

Ah, that would explain things. We do not officially support local Windows installation at this time, so I'm not surprised that there are line endings causing problems like an erroneous ^M.

We have a very rough prototype windows installation guide written by another member of our community in issue #403, but beyond that my best recommendation is cloning it directly on a UNIX system, perhaps in an Ubuntu virtual machine. That should hopefully fix some of the line ending issues.

Sorry for the inconvenience and I hope we can work something out! Let me know if you have any other questions.

@Nebrethar
Copy link
Contributor

@dota17 Are you using an Ubuntu Subsystem for Windows along with a Windows installation? Or an Ubuntu VM with a shared filesystem? If it isn't either you can disregard my message, but this is some experience of mine.

On both of these types of systems, I've had a similar issue and it was fixed by creating a virtual environment with the tool `virtualenv' instead of python's built-in with the flags provided.

virtualenv -p python3 envname

The other important part for fixing my similar issue was to clone the repo directly with git on ubuntu. I can put augur into my windows filesystem, but I must use the ubuntu side to gather and instantiate the files. (it's probably for permissions)

@dota17
Copy link
Author

dota17 commented Oct 30, 2019

Thank you for your quick reply and advice!

Well, For some reason, I can't clone source package directly on Ubuntu at that time. So my original intent was to clone it on Windows, then compress it and upload it to Ubuntu. For now, I will no longer try to install it on Windows, I will use the Ubuntu 18.04 inside the DOCKER.

And now, the installation process run soomthly!

The only problem is that it takes too much time and need to do a lot of interactive options.

@dota17 dota17 closed this as completed Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Related the installation process
Projects
None yet
Development

No branches or pull requests

3 participants