Subject: Re: pkg/17056: sysutils/rox fails to build on 1.5.2/i386 due to a false dependency error
To: Chris Pinnock <cjep@fawlty.net>
From: Douglas Brebner <douglas@fang.demon.co.uk>
List: netbsd-bugs
Date: 05/28/2002 08:35:57
On Mon, 27 May 2002 07:06:18 +0100
Chris Pinnock <cjep@fawlty.net> wrote:

> On Mon, May 27, 2002 at 04:17:20AM +0100, douglas@fang.demon.co.uk
> wrote:> 
> > >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:
> 
> Rox now depends on libxml2 (as of yesterday). Please can you update
> your rox directory, try again and let me know how you get on. ;)

Works perfectly now, thanks :)

-- 
Douglas