Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] Tech Support → [Solved] Error: Unable to find a match: centos-release-scl (CentOS 8)

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 5

1

Topic: [Solved] Error: Unable to find a match: centos-release-scl (CentOS 8)

I just upgraded from Centos 7 to 8 and pvpgn will not install:

No match for argument: centos-release-scl

Is there anything I can do to get this working? Everything worked perfectly on Centos 7.

Thanks in advance

Alfke

2

Re: [Solved] Error: Unable to find a match: centos-release-scl (CentOS 8)

In CentOS 8.x, the Linux Software Collections (centos-release-SCL) repo is not available.

Also DNF is default package manager starting from Fedora 22, CentOS 8 and RHEL 8. It's the next generation version of YUM and intended to be the replacement for YUM.

To install all dev tools (including g++, gcc, make) you can use the following command

dnf -y group install "Development Tools"

Or install only necessary items like in Fedora

dnf -y install gcc-c++ gcc make
Do not ask for support in PM.

3

Re: [Solved] Error: Unable to find a match: centos-release-scl (CentOS 8)

Here is the cmake error I'm getting after running this command from the build dir:

cmake -D CMAKE_INSTALL_PREFIX=/usr/local/pvpgn -D WITH_MYSQL=true -D WITH_LUA=true ../

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Lua (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindLua.cmake:193 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  ConfigureChecks.cmake:37 (find_package)
  CMakeLists.txt:30 (include)

So when I enter lua in the shell, I get:

Lua 5.3.4

Any idea what else I'm missing?

4

Re: [Solved] Error: Unable to find a match: centos-release-scl (CentOS 8)

Lua 5.1 is required for pvpgn, but there is only version 5.3 in CentOS 8 (remove it first).

# download lua 5.1 sources
wget http://www.lua.org/ftp/lua-5.1.5.tar.gz
tar xf lua-5.1.5.tar.gz
cd lua-5.1.5
# readline/readline.h is required to build lua
dnf install readline-devel
make linux test
make install

Don't forget to install mysql headers and lib

dnf install mysql-devel.x86_64
Do not ask for support in PM.

5

Re: [Solved] Error: Unable to find a match: centos-release-scl (CentOS 8)

This worked! The only thing that was different was the mysql items (dnf install mysql-devel worked without the suffix .x86_64)

Thank you so much!!!

HarpyWar wrote:

Lua 5.1 is required for pvpgn, but there is only version 5.3 in CentOS 8 (remove it first).

# download lua 5.1 sources
wget http://www.lua.org/ftp/lua-5.1.5.tar.gz
tar xf lua-5.1.5.tar.gz
cd lua-5.1.5
# readline/readline.h is required to build lua
dnf install readline-devel
make linux test
make install

Don't forget to install mysql headers and lib

dnf install mysql-devel.x86_64

Posts: 5

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 1 guest, 0 registered users

forums.pvpgn.pro → [EN] Tech Support → [Solved] Error: Unable to find a match: centos-release-scl (CentOS 8)