Jump to content
  • 0

Getmangos.sh issues on linux [solved]


daixso

Question

I am having issues compiling for Linux by following these directions on Ubuntu 16.04 LTS. I pull the git repo and clone it into a directory called server on my desktop. I go into the linux directory and chmod +x the getmangos.sh to make it runnable. When ran I go through the prompts and then receive several errors.

 

zwilliams@zwilliams-vm:~/Desktop/serverZero/linux$ ./getmangos.sh
Runtime error (func=(main), adr=5): Divide by zero
./getmangos.sh: line 139: [: -eq: unary operator expected
Runtime error (func=(main), adr=5): Divide by zero
./getmangos.sh: line 139: [: -eq: unary operator expected
Runtime error (func=(main), adr=5): Divide by zero
./getmangos.sh: line 145: [: -eq: unary operator expected
Runtime error (func=(main), adr=5): Divide by zero
./getmangos.sh: line 151: [: -eq: unary operator expected
./getmangos.sh: line 158: [: OS_VER: integer expression expected
Could not identify the current OS. Nothing was installed.
Using existing local repository
./getmangos.sh: line 583: cmake: command not found
make: *** No targets specified and no makefile found.  Stop.
There was an error building MaNGOS!

 

Any help would be most appreciated!

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

In case anyone is having similar issues I  have figured it out and am now compiling the server.

1. You need to install CMake first.

2. After installing CMake you may have more errors but it will tell you what is missing then you need to download it yourself. For me I needed openssl-dev and a few other packages!

Good luck and have fun,

Daixso!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use