Xonotic Forums

Full Version: cannot compile git code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I followed the instructions at https://gitlab.com/xonotic/xonotic/wikis...ory_Access to download and compile the most up-to-date version of the codebase. However, when I run ./all compile I get the following error:

Code:
/xonotic/../all.xonotic.sh: line 73: make: command not found

I'm wondering what it is that I could be doing wrong. The only commands I input were the ones listed on that tutorial page. Any ideas?

E: I'm not sure whether or not it is relevant but I am running windows 7 64 bit.
What platform are you on? It seems you're on Linux, so
Code:
sudo apt-get install build-essentials
should do the trick.
(07-22-2016, 12:48 PM)kaadmy Wrote: [ -> ]What platform are you on? It seems you're on Linux, so
Code:
sudo apt-get install build-essentials
should do the trick.

I am running windows 7 64 bit. Git-for-windows has a BASH emulator, but many of the commands don't work.

It doesn't recognize the sudo command you said to use.
You might find more help on the developers IRC channel (irc://irc.freenode.net/xonotic).
I don't have experience with compiling Xonotic on Windows, but a few thoughts:

The Xonotic compilation is geared towards a Linux (Unix) environment.
On Windows, it is therefore necessary to install software that emulates this environment.
The error you encountered means that some of the tools (make) are not properly installed.

It appears to me that msysgit does not offer the entire toolset required
for the compilation, or you missed to include it during its setup.
To get all tools, you might need to install MinGW and set up the paths properly.
See for example: https://stackoverflow.com/questions/5648...gw-and-git
(07-24-2016, 08:42 AM)sev Wrote: [ -> ]You might find more help on the developers IRC channel (irc://irc.freenode.net/xonotic).
I don't have experience with compiling Xonotic on Windows, but a few thoughts:

The Xonotic compilation is geared towards a Linux (Unix) environment.
On Windows, it is therefore necessary to install software that emulates this environment.
The error you encountered means that some of the tools (make) are not properly installed.

It appears to me that msysgit does not offer the entire toolset required
for the compilation, or you missed to include it during its setup.
To get all tools, you might need to install MinGW and set up the paths properly.
See for example: https://stackoverflow.com/questions/5648...gw-and-git

This was indeed the case. I jumped on irc and got some help. Everything is installed and working properly now.

Thanks for the help!
Great to hear Big Grin

In case that others encounter the same issue in the future and find this thread,
it would be useful if you provide a quick summary of the solution.