Subject: pkg/25175: postfix build failure on Linux (db lossage)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <grant@NetBSD.org>
List: pkgsrc-bugs
Date: 04/14/2004 09:06:30
>Number:         25175
>Category:       pkg
>Synopsis:       postfix build failure on Linux (db lossage)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 13 23:07:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     grant beattie
>Release:        Linux 2.4.22
>Organization:
>Environment:
System: Linux liz 2.4.22 #7 Fri Feb 27 09:34:15 EST 2004 i686 unknown unknown GNU/Linux
Architecture: i386
Machine: i386
>Description:

postfix fails to build on my Slackware 9.1 box because -I/include/db2
is being passed which is wrong. it should be -I/usr/include/db2.

gcc -DDEF_CONFIG_DIR=\"/usr/pkg/etc/postfix\" -DDEF_SENDMAIL_PATH=\"/usr/pkg/sbin/sendmail\" -DDEF_MAILQ_PATH=\"/usr/pkg/bin/mailq\" -DDEF_NEWALIAS_PATH=\"/usr/pkg/bin/newaliases\" -DDEF_COMMAND_DIR=\"/usr/pkg/sbin\" -DDEF_DAEMON_DIR=\"/usr/pkg/libexec/postfix\" -DNO_PCRE -I/include/db2 -g -O2 -I/usr/pkg/include -I. -DLINUX2 -c dict_db.c
dict_db.c:63:16: db.h: No such file or directory
dict_db.c:111: syntax error before "DB"

I don't know whether this is related to pkgsrc-wide db changes or if
this is a pkg specific problem, and I'm mostly send-pr'ing this as a
self-reminder.

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: