Bug 52150 - pmacct does not build
Summary: pmacct does not build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-13 08:00 UTC by Martin Klaffenboeck
Modified: 2003-05-19 03:06 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Klaffenboeck 2003-05-13 08:00:29 UTC
pmacct does not build with the following error:

cc  -I/usr/local/include/mysql  -o pmacctd -DPACKAGE=\"pmacctd\" -DVERSION=\"0.4.1\" -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DWITH_MYSQL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DRETSIGTYPE=void -DHAVE_INET_NTOA=1 -DHAVE_SOCKET=1  -I. -I. pmacctd.o signals.o util.o strlcpy.o plugin_hooks.o  server.o acct.o memory.o imt_plugin.o mysql_plugin.c -lpcap  -L/usr/local/lib/mysql -lmysqlclient -lm
In file included from mysql_plugin.c:23:
pmacct.h:36: getopt.h: No such file or directory
In file included from mysql_plugin.c:26:
mysql_plugin.h:23: mysql/mysql.h: No such file or directory
*** Error code 1
 
Stop in /var/tmp/usr/ports/net/pmacct/work/pmacct-0.4.1.
*** Error code 1
 
Stop in /usr/ports/net/pmacct.

Fix: 

Unknown.
How-To-Repeat: cd /usr/ports/net/pmacct
make
Comment 1 Pete Fritchman freebsd_committer freebsd_triage 2003-05-19 03:05:51 UTC
State Changed
From-To: open->closed

Maintainer submitted a fix in ports/52152, and I just committed it. 
Thanks for reporting the problem!