Configure Issues

Issues related to applications and software problems
Yukon
Posts: 24
Joined: 2018/03/15 10:52:15

Configure Issues

Post by Yukon » 2018/04/07 11:48:58

  • CentOS Linux release 7.4.1708 (Core)
    mysql Ver 15.1 Distrib 10.1.32-MariaDB, for Linux (x86_64) using readline 5.1
    PHP 7.0.27
Hello I am trying to install https://github.com/WhatCD/Gazelle/wiki/ ... ure-ocelot on CentOS 7
I am using the guide in the link above as there is no guide for CentOS at all.
Everything has gone well up until I have tried to configure for Ocelot with the command as shown in guide:

Code: Select all

./configure --with-mysql-lib=/usr/lib/x86_64-linux-gnu/ --with-ev-lib=/usr/lib/x86_64-linux-gnu/
The full output in the terminal is:

Code: Select all

root@neptuneocelot-0.8]# ./configure --with-mysql-lib=/usr/lib/x86_64-linux-gnu/ --with-ev-lib=/usr/lib/x86_64-linux-gnu/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking whether C compiler accepts -std=c++11... yes
checking for boostlib >= 1.37... yes
checking whether the Boost::IOStreams library is available... yes
checking for exit in -lboost_iostreams-mt... yes
checking build system type... x86_64-unknown-linux-gnu
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for MySQL library directory... configure: error: Didn't find mysqlclient library in '/usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu//lib64 /usr/lib/x86_64-linux-gnu//lib /usr/lib/x86_64-linux-gnu//lib64/mysql /usr/lib/x86_64-linux-gnu//lib/mysql'
Do you guys see anything that can help me move forward, please?

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Configure Issues

Post by TrevorH » 2018/04/07 12:28:28

Looks like you're missing one of the -devel packages, probably mariadb-devel.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Yukon
Posts: 24
Joined: 2018/03/15 10:52:15

Re: Configure Issues

Post by Yukon » 2018/04/07 12:38:12

Thank you for the reply. However, it doesn't seem to be that

Code: Select all

Package 1:mariadb-devel-5.5.56-2.el7.x86_64 is obsoleted by MariaDB-devel-10.1.32-1.el7.centos.x86_64 which is already installed

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Configure Issues

Post by TrevorH » 2018/04/07 12:52:03

Whose mariadb packages are those? Not ours, nor do they look like they are from any third party repos that we generally recommend.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Yukon
Posts: 24
Joined: 2018/03/15 10:52:15

Re: Configure Issues

Post by Yukon » 2018/04/07 13:09:29

I didn't install them initially and have simply taken a backup of all packages on source server.
Basically I need the CentOS equivalent of

Code: Select all

mysql-server mysql-client libmysql++-dev libmysqld-dev
Inside my /etc/yum.repos.d/MariaDB.repo

Code: Select all

# MariaDB 10.1 CentOS repository list - created 2018-04-06 16:38 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Configure Issues

Post by TrevorH » 2018/04/07 14:23:05

We already ship mariadb 5.5.56 as part of CentOS and the package we supply is called mariadb-devel.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Yukon
Posts: 24
Joined: 2018/03/15 10:52:15

Re: Configure Issues

Post by Yukon » 2018/04/07 14:26:52

TrevorH wrote:We already ship mariadb 5.5.56 as part of CentOS and the package we supply is called mariadb-devel.

Code: Select all

Package MariaDB-server-10.1.32-1.el7.centos.x86_64 already installed and latest version
Package MariaDB-client-10.1.32-1.el7.centos.x86_64 already installed and latest version
Package 1:mariadb-devel-5.5.56-2.el7.x86_64 is obsoleted by MariaDB-devel-10.1.32-1.el7.centos.x86_64 which is already installed
Oh are you suggesting I need to remove

Code: Select all

MariaDB-devel-10.1.32-1.el7.centos.x86_64
It is already installed.

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Configure Issues

Post by TrevorH » 2018/04/07 14:27:44

No, those are not CentOS packages, they come from MariaDb's own repo.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Yukon
Posts: 24
Joined: 2018/03/15 10:52:15

Re: Configure Issues

Post by Yukon » 2018/04/07 14:40:49

Okay so I need to remove

Code: Select all

yum remove mysql-server mysql-client mariadb-devel
?

Yukon
Posts: 24
Joined: 2018/03/15 10:52:15

Re: Configure Issues

Post by Yukon » 2018/04/07 18:15:10

TrevorH wrote:We already ship mariadb 5.5.56 as part of CentOS and the package we supply is called mariadb-devel.
Alright installed but now what

Code: Select all

No package mysql-server available
How am I supposed to install mariadb without getting it from the mariadb repo?

Post Reply