Jump to content
  • 0
Mac Wheeler

mangos zero Missing SD3 CMakeLists.txt

Question

HI folks,

I am trying to setup zero using the getmangos.sh script.

Everything goes fine up until the build, and then I get:

CMake Error at src/modules/CMakeLists.txt:22 (add_subdirectory):
  The source directory

    /home/mangos/zero/src/server/src/modules/SD3

  does not contain a CMakeLists.txt file.


===================================================
Build type            : Release
Install server(s) to  : /home/mangos/zero/bin
Install configs to    : ../etc
Build main server     : Yes (default)
+-- with Eluna script engine
+-- with SD3 script engine
Build login server    : Yes (default)
Support for SOAP      : No (default)
Build tools           : Yes (default)

===================================================
-- Configuring incomplete, errors occurred!
See also "/home/mangos/zero/src/server/linux/CMakeFiles/CMakeOutput.log".
See also "/home/mangos/zero/src/server/linux/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found.  Stop.
There was an error building MaNGOS!

And I checked, there is no CMakeLists.txt file in the modules/sd3 folder.

Any ideas how to solve this?

Thanks.

Mac.

Share this post


Link to post
Share on other sites

15 answers to this question

Recommended Posts

  • 1

I almost mentioned the git command, but using getmangos.sh that should take care of everything..  I also use it from the Fedora guide and you grab that individually from GitHub, and it should download the code I think.

Share this post


Link to post
Share on other sites
  • 0

Hi @Mac Wheeler

Can you provide the link to the script you are talking about ? Perhaps it is outdated and then we will make an update :)

You can solve the problem by make a fresh clone and using :

git clone https://github.com/mangoszero/server.git --recursive --depth 1

The issue you had is related to the fact the main repo is referencing submodules.

The manipulation is explained in this guide : 

 

Share this post


Link to post
Share on other sites
  • 0

OK that's great, I will give it a try thanks.

Is there a current installation guide?

I took the script from here:, which I found on the CentOS 7 install guide:

https://raw.githubusercontent.com/mangoszero/server/master/linux/getmangos.sh
Edited by Mac Wheeler

Share this post


Link to post
Share on other sites
  • 0

Right, which is why I originally didn't comment when I saw the post before Elms did, hence treating it as a bug report to investigate into further detail later.

Share this post


Link to post
Share on other sites
  • 0

I tried the git clone of the source and used that instead of letting the script download it but the script bombed out later on.

When it got to the build stage, it went back to the root menu for some reason. I hit enter and then it just bombed out.

Mac.

Share this post


Link to post
Share on other sites
  • 0

@Mac Wheeler I did some more investigation and found the issue, if you pull the latest code - it should be fixed.

git pull --recurse-submodules

Should do the trick from the main folder

Share this post


Link to post
Share on other sites
  • 0

He shouldn't need that command though, you are just mentioned that's what the script does now?

Edited by Pysis

Share this post


Link to post
Share on other sites
  • 0

No, he needs to update the sources to the latest revision otherwise the error will remain

Share this post


Link to post
Share on other sites
  • 0

but getmangos is a contain all script, the guides tell you to just download that script directly, individually, and it does the rest?

Share this post


Link to post
Share on other sites
  • 0

When you clone you use....

git clone xxxxxx --recursive


When updating you should use....

git pull --recurse-submodules

 

Share this post


Link to post
Share on other sites
  • 0

That's a lot of dots...

"I am trying to setup zero using the getmangos.sh script."
So that would be a fresh install.

Guides have you do:

I took the script from here:, which I found on the CentOS 7 install guide:

https://raw.githubusercontent.com/mangoszero/server/master/linux/getmangos.sh

Edited Wednesday at 10:08 AM by Mac Wheeler

 

Now, we can download our installer:

wget https://raw.githubusercontent.com/mangoszero/server/master/linux/getmangos.sh

Set the permissions to be allowed to execute it:

chmod 700 getmangos.sh

And execute it:

./getmangos.sh

That doesn't have him doing any git, at least for now..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×
×
  • 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