Jump to content
  • 0

Issues installing on CentOS 7



So far, I've done the following:

1. Initial update of all installed yum packages

2. Downloaded and compiled ACE, set ACE_ROOT environment variable

3. Installed and configured mariadb

4. Copied Cataclysm files via SFTP

5. Ran getmangos.sh


getmangos.sh seems to fail right after I select the branch I want to use:

CMake Error at /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake3/Modules/FindBZip2.cmake:62 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  dep/StormLib/CMakeLists.txt:285 (find_package)

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

 Has anyone run into this problem? I can't tell if it's because the script isn't changing directories to where the makefile is supposed to be, or if it just straight up doesn't exist in the repo that I cloned?


Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0


I've been the maintainer of getmangos.sh for a while. The only supported version of CentOS was flagged as "Core" in the script (probably the only value I could retrieve from the command lsb_release -sc). The script takes care of unavailable dependencies, at the time I wrote it, it was fully tested on fresh VM.

      case ${VER} in
          # Default CentOS - Adding necessary RPM third-party.
		  rpm -Uv ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/devel:/libraries:/ACE:/micro/CentOS_7/x86_64/ace-6.3.3-55.1.x86_64.rpm
		  rpm -Uv ftp://rpmfind.net/linux/centos/7/os/x86_64/Packages/perl-Net-Telnet-3.03-19.el7.noarch.rpm
		  rpm -Uv ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/devel:/libraries:/ACE:/micro:/versioned/CentOS_7/x86_64/mpc-6.3.3-42.1.x86_64.rpm
		  rpm -Uv ftp://rpmfind.net/linux/centos/7/os/x86_64/Packages/libtool-2.4.2-22.el7_3.x86_64.rpm
		  rpm -Uv ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/devel:/libraries:/ACE:/micro/CentOS_7/x86_64/ace-devel-6.3.3-55.1.x86_64.rpm
		  su -c "yum -y install epel-release"
          su -c "yum -y install curl autoconf automake cmake3 ace-devel ace-6.3.3 openssl-devel mysql-devel libtool gcc-c++" root


Link to comment
Share on other sites

  • 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