Re: [pmacct-discussion] Problem compiling on Debian Jessie

2016-07-05 Thread Johan Sjöberg
-Original Message-
From: Vincent Bernat [mailto:ber...@luffy.cx] 
Sent: den 5 juli 2016 15:25
To: Johan Sjöberg 
Cc: pmacct-discussion@pmacct.net
Subject: Re: [pmacct-discussion] Problem compiling on Debian Jessie

 ❦  5 juillet 2016 14:58 CEST, Johan Sjöberg  :

> 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:

With 1.6, provides a pastebin of your config.log. It would help to pinpoint the 
problem.
--
Many a writer seems to think he is never profound except when he can't 
understand his own meaning.
-- George D. Prentice

Hi,

It seems like the problem was that libnuma-dev was missing. I saw that when 
looking at the config.log file.

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

Re: [pmacct-discussion] Problem compiling on Debian Jessie

2016-07-05 Thread Johan Sjöberg


-Original Message-
From: Vincent Bernat [mailto:ber...@luffy.cx] 
Sent: den 5 juli 2016 15:25
To: Johan Sjöberg 
Cc: pmacct-discussion@pmacct.net
Subject: Re: [pmacct-discussion] Problem compiling on Debian Jessie

 ❦  5 juillet 2016 14:58 CEST, Johan Sjöberg  :

> 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:

With 1.6, provides a pastebin of your config.log. It would help to pinpoint the 
problem.
--
Many a writer seems to think he is never profound except when he can't 
understand his own meaning.
-- George D. Prentice

Hi,

Here's a pastebin of config.log: http://pastebin.com/3bTnY7Jc

Regards,
Johan
___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Re: [pmacct-discussion] Problem compiling on Debian Jessie

2016-07-05 Thread Vincent Bernat
 ❦  5 juillet 2016 14:58 CEST, Johan Sjöberg  :

> 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:

With 1.6, provides a pastebin of your config.log. It would help to
pinpoint the problem.
-- 
Many a writer seems to think he is never profound except when he can't
understand his own meaning.
-- George D. Prentice

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

[pmacct-discussion] Problem compiling on Debian Jessie

2016-07-05 Thread Johan Sjöberg
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