-
Notifications
You must be signed in to change notification settings - Fork 371
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
Can't build OctoPi with Mac OS X #388
Comments
I didn't know you could build it using a mac. Good to know! Can you post what you are trying to do, and what error you aarw getting? |
I don't remember how I got it work originally, since I had help from an amazon developer that lives across the country. I just remember having to use vagrant and finding the suitable Mac alternatives for apt-get and mod-probe nfs, etc that was mentioned in the readme. It would be super helpful if we can figure out a way to make clickable script files that create the OctoPi img automagically for the large platforms: Mac, Windows. That is my ideal dream instead of having to use the terminal everytime to cd and sudo up / provision etc. Thank you for your work creating OctoPi! |
I was able to find the conversation my friend and I had on how we got it working originally.
or if already provisioned, And step 5 automatically built the .img file, which was recently removed in the commit: bacf064 I noticed you also changed the 'Vagrantfile' quite a bit from before. The original one below worked:
The new Vagrantfile in the latest commits results in these errors in the Terminal: |
Ok.
Hope that helps, post if you have any issues. |
I have no idea how to setup PiOS. It was nice that everything was within one repo before. If we can get to the point of avoiding the terminal and making an executable file you click on to build the images we are golden. Edit 1: Just cloned PiOS, the only place in the OctoPi Readme it says Seriously cannot figure this out :( |
Its CustomPiOS. The reason is its a separate repo is because its a complete toolkit to build OSes now. All that script does is add the path of CustomPiOS in |
Ok I got farther this time, and now this error/issue has appeared in the Terminal output:
|
Ok, so good news and bad news. The bad news is that there are several possible causes. After reading it the mains ones that stand out are:
|
Looks like there was an extraneous newline character added to the However, I have ran into a new issue:
|
try |
That worked, it appears to be building now. Crosses fingers. |
I'm assuming I can make all of the above into a seperate .sh file I can just click on whenever I want to build an image. |
Sure. |
What about that newline character I mentioned, can this be patched in a new commit for OctoPi? Maybe add a command to remove any newline in the file at the end of the script. |
Update: nevermind about that newline character, It wasn't an issue at all. :) |
Hello, ever since the file structure changed with the latest devel commits I am not able to build OctoPi anymore, and the instructions are pretty vague in the README.rst file in the root folder and they don't work for me using the latest Mac OS X Sierra 10.12.5.
I remember getting it setup initially with vagrant was quite a chore even before the changes, but I think it needs to be made easier to make/build the OctoPi img file such as double clicking on a .sh file or revising the readme file to give more clear instructions for Windows and OS X alike.
I would greatly appreciate help on this. :)
Thank you!
The text was updated successfully, but these errors were encountered: