[Bug 263080] net-mgmt/pmacct doesn't configure with mysql support

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Apr 2022 08:39:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263080

            Bug ID: 263080
           Summary: net-mgmt/pmacct doesn't configure with mysql support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pi@FreeBSD.org
          Reporter: cris@deana.it
             Flags: maintainer-feedback?(pi@FreeBSD.org)
          Assignee: pi@FreeBSD.org

Created attachment 232992
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232992&action=edit
configure log

When trying to compile pmcatt with mysql support it doesn't configure:

checking for mysql_config... mysql_config
checking if MySQL version is >= 5.6.3... yes
checking for mysql_query in -lmysqlclient... yes
checking mysql.h usability... yes
checking mysql.h presence... no
configure: WARNING: mysql.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: mysql.h: proceeding with the compiler's result
checking for mysql.h... yes
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking for numa_bind in -lnuma... no
configure: error:
      ERROR: missing libnuma. Requirement for building MySQL.

===>  Script "configure" failed unexpectedly.
Please report the problem to pi@FreeBSD.org [maintainer] and attach the
"/usr/ports/net-mgmt/pmacct/work/pmacct-1.7.7/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.

# pkg info | grep ^mysql
mysql57-client-5.7.35_1        Multithreaded SQL database (client)
mysql57-server-5.7.35          Multithreaded SQL database (server)

# freebsd-version -kru
13.0-RELEASE-p4
13.0-RELEASE-p4
13.0-RELEASE-p4

It worked with pmacct 1.7.5

-- 
You are receiving this mail because:
You are the assignee for the bug.