Hi,
We have been running pmacct 1.2.5 on Debian Squeeze for many years. We are now 
trying to set up a new server, running Debian Jessie. I have downloaded pmacct 
1.6.0 (and also 1.5.3), and tried compiling it.
On 1.6.0, I get an error that the MySQL client libraries cannot be found:

./configure --enable-mysql
...
checking whether to enable MySQL support... yes
checking for mysql_config... mysql_config
checking for mysql_init in -lmysqlclient... no
configure: error: ERROR: missing MySQL client library

I have installed the libmysqlclient18 and libmysqlclient-dev packages on the 
server.

In 1.5.3, there is an option to specify the MySQL library path, and when I do 
that, I get a different error.

./configure --enable-mysql --with-mysql-libs=/usr/lib/x86_64-linux-gnu/
...
checking whether to enable MySQL support... checking how to run the C 
preprocessor... gcc -E
yes
checking your own MySQL client library... ok
checking for main in -lstdc++... no
configure: error:
      ERROR: missing libstdc++ devel. Requirement for building MySQL.

Libstdc++ dev packages are installed.

Do you have any idea what I can try to get it to build?

Best Regards,
Johan

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to