Bulebots / bulebule

An awesome maze-solving micromouse robot
https://bulebule.readthedocs.io
GNU General Public License v3.0
72 stars 23 forks source link

Image building fails #432

Closed thewires2 closed 4 years ago

thewires2 commented 4 years ago

Makefile:5: *** recipe commences before first target. Stop.

I keep getting this error . Can someone please suggest what is to be done?

Peque commented 4 years ago

@thewires2 Did you follow the instructions in the documentation?

Are you using Docker/Podman as suggested?

thewires2 commented 4 years ago

@thewires2 Did you follow the instructions in the documentation?

Are you using Docker/Podman as suggested?

I am using podman and i have followed the steps as mentioned. Please see if i am making any error in the terminal Screenshot from 2020-03-19 08-19-42

Peque commented 4 years ago

It seems the Makefile is failing with:

make: command: Command not found

If you look at the Makefile you can see, in line 4:

ifeq (, $(shell command -v ${ENGINE}))

Basically, it is calling command to see if podman is available in the system. It seems you do not have the command command... :joy:

Thought command was available in all POSIX-like shell environments. Which OS/distro are you using? Out of curiosity.

I just pushed some changes that will hopefully fix this issue for you. Make sure to pull from latest master.

thewires2 commented 4 years ago

I am using Linux with Ubuntu 19.10. I pulled the code from the latest master and got a new error. Is it an issue with my system?? Screenshot from 2020-03-19 17-37-36

thewires2 commented 4 years ago

I am using Linux with Ubuntu 19.10. I pulled the code from the latest master and got a new error. Is it an issue with my system?? Screenshot from 2020-03-19 17-37-36

I searched stack overflow for this particular error but was unable to find it 🙁

Peque commented 4 years ago

@thewires2 What is the output of podman info?

Peque commented 4 years ago

You may need to populate the configuration files in Ubuntu:

https://computingforgeeks.com/how-to-install-podman-on-ubuntu/

In particular, you will need to add at least one registry to search for images in your /etc/containers/registries.conf. You can add a couple of popular ones:

[registries.search]
registries = ['docker.io', 'quay.io']
thewires2 commented 4 years ago

You may need to populate the configuration files in Ubuntu:

https://computingforgeeks.com/how-to-install-podman-on-ubuntu/

In particular, you will need to add at least one registry to search for images in your /etc/containers/registries.conf. You can add a couple of popular ones:

[registries.search]
registries = ['docker.io', 'quay.io']

It worked!! Thank you so much 😃 😃