Possible error in spine conf?

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Eliazzo
Posts: 1
Joined: Mon Feb 13, 2023 3:31 am

Possible error in spine conf?

Post by Eliazzo »

Good morning everyone,

I am trying to install the latest version of spine 1.2.3 and i receive this error after the make:

Code: Select all

gcc -DHAVE_CONFIG_H -I. -I./config     -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT sql.o -MD -MP -MF .deps/sql.Tpo -c -o sql.o sql.c
sql.c: In function ‘db_connect’:
sql.c:232:2: error: unknown type name ‘my_bool’; did you mean ‘bool’?
  232 |  my_bool reconnect = 1;
      |  ^~~~~~~
      |  bool
make: *** [Makefile:500: sql.o] Error 1
I followed the guide from the cacti website https://docs.cacti.net/Spine.md

Is it possible that the configuration has a syntax error and or that the variable is not declared for the function?
I would try to declare it in sql.c but I prefer not to dive into something I may not be able to handle.

Thanks in advance to everyone for your time,

Elia
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Possible error in spine conf?

Post by TheWitness »

If I were you, I would use either spine 1.2.16 or the spine 1.2.x branch and not such an old spine.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests