Xonotic Forums
[SOLVED] cannot compile git code - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] cannot compile git code (/showthread.php?tid=6317)



cannot compile git code - dingus - 07-21-2016

I followed the instructions at https://gitlab.com/xonotic/xonotic/wikis/Repository_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.


RE: cannot compile git code - kaadmy - 07-22-2016

What platform are you on? It seems you're on Linux, so
Code:
sudo apt-get install build-essentials
should do the trick.


RE: cannot compile git code - dingus - 07-22-2016

(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.


RE: cannot compile git code - sev - 07-24-2016

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/5648330/combining-mingw-and-git


RE: cannot compile git code - dingus - 07-27-2016

(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/5648330/combining-mingw-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!


RE: cannot compile git code - sev - 07-27-2016

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.