Subject: pkg/17056: sysutils/rox fails to build on 1.5.2/i386 due to a false dependency error
To: None <gnats-bugs@gnats.netbsd.org>
From: None <douglas@fang.demon.co.uk>
List: netbsd-bugs
Date: 05/27/2002 04:17:20
>Number: 17056
>Category: pkg
>Synopsis: sysutils/rox fails to build on 1.5.2/i386 due to a false dependency error
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 26 20:19:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.5.2
>Organization:
>Environment:
System: NetBSD aoife.home 1.5.2 NetBSD 1.5.2 (AOIFE.1.5) #0: Sun Jan 20 19:45:33 GMT 2002 root@aoife.home:/opt/kernel/syssrc/sys/arch/i386/compile/AOIFE.1.5 i386
>Description:
sysutils/rox fails to build due to picking up false dependancies.
It depends on textproc/libxml but the configure script checks for xml2-config before xml-config so if textproc/libxml2 is installed it detects that instead and then fails to find the includes.
The first error is
cc -I/opt/packages/pkgsrc/sysutils/rox/work/.buildlink/include -O2 -march=pentium -Wall `gtk-config --cflags` `xml2-config --cflags` -c action.c
In file included from action.c:40:
global.h:122: tree.h: No such file or directory
*** Error code 1
>How-To-Repeat:
run make in sysutils/rox with both textproc/libxml and textproc/libxml2 installed
>Fix:
Set the environment variable $XML_CONFIG=xml-config or patch configure to remove the test for xml2-config.
>Release-Note:
>Audit-Trail:
>Unformatted: