Jump to content
  • Configuration broken!


    Xenithar
    • Status: Not a bug
      Main Category: Core / Mangos Daemon
      Sub-Category: Show Stopper
      Version: 0.20(currentmasterbranch) Milestone: 20 Priority: High
      Implemented Version: 0.20(currentmasterbranch)

    CMake cannot configure due to an empty directory...

    Something must have been pushed recently (last 24hrs) that broke R20. I can no longer configure it. The "dep" sub-directory is empty and CMake is told to add it. Without the makelist, it errors out.
    [code]
    -- Detected 64-bit platform.
    -- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.6")
    -- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so
    -- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so - found
    -- Found Git: /usr/bin/git
    -- Using mysql-config: /usr/bin/mysql_config
    -- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so
    -- Found MySQL headers: /usr/include/mysql
    -- Found OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so
    -- Found OpenSSL headers: /usr/include/openssl
    -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.7")
    -- MaNGOS-Core revision : 0a6355d15c451ccb8ae174b756048bf67ea62ff3
    -- Install server to : /usr/local
    -- Support for SOAP : No (default)
    -- Script engine Eluna : Yes (default)
    -- Script engine SD2 : Yes (default)
    -- Build tools : No (default)
    -- Use PCH : No
    -- Build in debug-mode : No (default)
    CMake Error at CMakeLists.txt:401 (add_subdirectory):
    The source directory

    /home/---/zero/src/server/dep

    does not contain a CMakeLists.txt file.


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

    /home/---/zero/src/server/src/realmd

    does not contain a CMakeLists.txt file.


    -- Configuring incomplete, errors occurred!
    [/code]
    That directory (dep) is empty on my end after a fresh clone. Why is it there?


    User Feedback

    Recommended Comments

    Foereaper

    Posted

    Did you recursively clone? Seems to me it didn't pull the submodules correctly.

    Xenithar

    Posted

    I just came back by to note that during my debugging I had forgotten to initialize the submodules. That was the issue. I am closing this. My bad.

    Foereaper

    Posted

    For future reference, you can use the below command when cloning. It automatically initializes and pulls the correct submodules:

    git clone https://github.com/mangoszero/server.git -b Rel20 --recursive

    The recursive tag is what does the submodule magic :)



    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

×
×
  • 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