AlmaLinux - Spine configuration error
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 99
- Joined: Wed Feb 27, 2013 10:57 am
- Location: Portland, OR
- Contact:
AlmaLinux - Spine configuration error
I'm attempting to setup Spine in a clean install of AlmaLinux 9 and am getting an error when doing ./configure
configure: error: Cannot find MySQL headers. Use --with-mysql= to specify non-default path.
This is running MariaDb 10.5.16 with a standard install via dnf.
Any tips would be greatly appreciated
configure: error: Cannot find MySQL headers. Use --with-mysql= to specify non-default path.
This is running MariaDb 10.5.16 with a standard install via dnf.
Any tips would be greatly appreciated
Re: AlmaLinux - Spine configuration error
configure: error: Cannot find MySQL headers
Code: Select all
dnf install mariadb-devel
-
- Cacti User
- Posts: 99
- Joined: Wed Feb 27, 2013 10:57 am
- Location: Portland, OR
- Contact:
Re: AlmaLinux - Spine configuration error
I've tried that....
[cacti@localhost ~]$ sudo dnf install mariadb-devel
[sudo] password for cacti:
Last metadata expiration check: 0:05:30 ago on Mon Feb 6 11:33:40 2023.
No match for argument: mariadb-devel
Error: Unable to find a match: mariadb-devel
[cacti@localhost ~]$
[cacti@localhost ~]$ sudo dnf install mariadb-devel
[sudo] password for cacti:
Last metadata expiration check: 0:05:30 ago on Mon Feb 6 11:33:40 2023.
No match for argument: mariadb-devel
Error: Unable to find a match: mariadb-devel
[cacti@localhost ~]$
Re: AlmaLinux - Spine configuration error
You need to ensure the AppStream repo is enabled. A simple google shows that the RPM is definitely there.
https://almalinux.pkgs.org/8/almalinux- ... 4.rpm.html
https://almalinux.pkgs.org/8/almalinux- ... 4.rpm.html
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: AlmaLinux - Spine configuration error
Code: Select all
yum list | egrep -i "(MariaDB|MySQL)"
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Cacti User
- Posts: 99
- Joined: Wed Feb 27, 2013 10:57 am
- Location: Portland, OR
- Contact:
Re: AlmaLinux - Spine configuration error
Interesting, despite AppStream being enabled by default:
https://wiki.almalinux.org/repos/AlmaLinux.html
and the system indicating it is enabled:
sudo dnf repolist
[sudo] password for cacti:
repo id repo name
appstream AlmaLinux 9 - AppStream
baseos AlmaLinux 9 - BaseOS
extras AlmaLinux 9 - Extras
the system does not find that package:
[cacti@localhost ~]$ sudo dnf install mariadb-devel
AlmaLinux 9 - AppStream 5.0 kB/s | 4.1 kB 00:00
AlmaLinux 9 - BaseOS 5.9 kB/s | 3.8 kB 00:00
AlmaLinux 9 - Extras 5.8 kB/s | 3.8 kB 00:00
No match for argument: mariadb-devel
Error: Unable to find a match: mariadb-devel
[cacti@localhost ~]$ sudo yum list | egrep -i "(MariaDB|MySQL)"
apr-util-mysql.x86_64 1.6.1-20.el9 appstream
dovecot-mysql.x86_64 1:2.3.16-7.el9 appstream
mariadb.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-backup.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-common.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-connector-c.i686 3.2.6-1.el9_0 appstream
mariadb-connector-c.x86_64 3.2.6-1.el9_0 appstream
mariadb-connector-c-config.noarch 3.2.6-1.el9_0 appstream
mariadb-connector-c-devel.i686 3.2.6-1.el9_0 appstream
mariadb-connector-c-devel.x86_64 3.2.6-1.el9_0 appstream
mariadb-connector-odbc.x86_64 3.1.12-3.el9 appstream
mariadb-embedded.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-errmsg.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-gssapi-server.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-java-client.noarch 3.0.3-1.el9 appstream
mariadb-oqgraph-engine.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-pam.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-server.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-server-galera.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-server-utils.x86_64 3:10.5.16-2.el9_0 appstream
mysql.x86_64 8.0.30-3.el9_0 appstream
mysql-common.x86_64 8.0.30-3.el9_0 appstream
mysql-errmsg.x86_64 8.0.30-3.el9_0 appstream
mysql-selinux.noarch 1.0.5-1.el9_0 appstream
mysql-server.x86_64 8.0.30-3.el9_0 appstream
pcp-pmda-mysql.x86_64 5.3.7-7.el9 appstream
perl-DBD-MariaDB.x86_64 1.21-16.el9_0 appstream
perl-DBD-MySQL.x86_64 4.050-13.el9 appstream
php-mysqlnd.x86_64 8.0.20-3.el9 appstream
postfix-mysql.x86_64 2:3.5.9-19.el9 appstream
python3-PyMySQL.noarch 0.10.1-6.el9 appstream
qt5-qtbase-mysql.i686 5.15.3-1.el9 appstream
qt5-qtbase-mysql.x86_64 5.15.3-1.el9 appstream
rsyslog-mysql.x86_64 8.2102.0-105.el9 appstream
rubygem-mysql2.x86_64 0.5.3-11.el9_0 appstream
https://wiki.almalinux.org/repos/AlmaLinux.html
and the system indicating it is enabled:
sudo dnf repolist
[sudo] password for cacti:
repo id repo name
appstream AlmaLinux 9 - AppStream
baseos AlmaLinux 9 - BaseOS
extras AlmaLinux 9 - Extras
the system does not find that package:
[cacti@localhost ~]$ sudo dnf install mariadb-devel
AlmaLinux 9 - AppStream 5.0 kB/s | 4.1 kB 00:00
AlmaLinux 9 - BaseOS 5.9 kB/s | 3.8 kB 00:00
AlmaLinux 9 - Extras 5.8 kB/s | 3.8 kB 00:00
No match for argument: mariadb-devel
Error: Unable to find a match: mariadb-devel
[cacti@localhost ~]$ sudo yum list | egrep -i "(MariaDB|MySQL)"
apr-util-mysql.x86_64 1.6.1-20.el9 appstream
dovecot-mysql.x86_64 1:2.3.16-7.el9 appstream
mariadb.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-backup.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-common.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-connector-c.i686 3.2.6-1.el9_0 appstream
mariadb-connector-c.x86_64 3.2.6-1.el9_0 appstream
mariadb-connector-c-config.noarch 3.2.6-1.el9_0 appstream
mariadb-connector-c-devel.i686 3.2.6-1.el9_0 appstream
mariadb-connector-c-devel.x86_64 3.2.6-1.el9_0 appstream
mariadb-connector-odbc.x86_64 3.1.12-3.el9 appstream
mariadb-embedded.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-errmsg.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-gssapi-server.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-java-client.noarch 3.0.3-1.el9 appstream
mariadb-oqgraph-engine.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-pam.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-server.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-server-galera.x86_64 3:10.5.16-2.el9_0 appstream
mariadb-server-utils.x86_64 3:10.5.16-2.el9_0 appstream
mysql.x86_64 8.0.30-3.el9_0 appstream
mysql-common.x86_64 8.0.30-3.el9_0 appstream
mysql-errmsg.x86_64 8.0.30-3.el9_0 appstream
mysql-selinux.noarch 1.0.5-1.el9_0 appstream
mysql-server.x86_64 8.0.30-3.el9_0 appstream
pcp-pmda-mysql.x86_64 5.3.7-7.el9 appstream
perl-DBD-MariaDB.x86_64 1.21-16.el9_0 appstream
perl-DBD-MySQL.x86_64 4.050-13.el9 appstream
php-mysqlnd.x86_64 8.0.20-3.el9 appstream
postfix-mysql.x86_64 2:3.5.9-19.el9 appstream
python3-PyMySQL.noarch 0.10.1-6.el9 appstream
qt5-qtbase-mysql.i686 5.15.3-1.el9 appstream
qt5-qtbase-mysql.x86_64 5.15.3-1.el9 appstream
rsyslog-mysql.x86_64 8.2102.0-105.el9 appstream
rubygem-mysql2.x86_64 0.5.3-11.el9_0 appstream
-
- Cacti User
- Posts: 99
- Joined: Wed Feb 27, 2013 10:57 am
- Location: Portland, OR
- Contact:
Re: AlmaLinux - Spine configuration error
I ended up having to do:
sudo dnf --enablerepo=crb install mysql-devel
to get spine to compile properly
sudo dnf --enablerepo=crb install mysql-devel
to get spine to compile properly
Re: AlmaLinux - Spine configuration error
Ya, I didn't have a good experience in Alma (lots of random issues like this) so everything I have is running on Rocky currently.
-
- Cacti User
- Posts: 99
- Joined: Wed Feb 27, 2013 10:57 am
- Location: Portland, OR
- Contact:
Re: AlmaLinux - Spine configuration error
Interesting, this was my first go after Centos7 so it's always a process. I like how they did the structure of Alma foundation not being tied to any corporation so I started there.
What else have you found to be problematic in Alma vs Rocky?
What else have you found to be problematic in Alma vs Rocky?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: AlmaLinux - Spine configuration error
I just use MariaDB's repos. Easier that way. And Rocky is fine.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 2 guests