Subject: pkg/22055: p5-XML-LibXML fails to detect libxml2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jmmv@menta.net>
List: netbsd-bugs
Date: 07/04/2003 14:01:22
>Number:         22055
>Category:       pkg
>Synopsis:       p5-XML-LibXML fails to detect libxml2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 04 12:08:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6U
>Organization:
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/
>Environment:
	
	
System: NetBSD darkstar.local 1.6U NetBSD 1.6U (DARKSTAR) #0: Thu Jun 19 19:15:45 CEST 2003 jmmv@darkstar.local:/p/obj/p/src/sys/arch/i386/compile/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
	The p5-XML-LibXML package fails to detect the libxml2 library during
	its configuration stage, so it breaks and cannot be installed.

	Trying to update the package to 1.54 I found that it has a better
	detection of the library (so it might be worth updating the package
	during fixing it), but it fails with the same error.

	The build log is the following:

===> Checking for vulnerabilities in p5-XML-LibXML-1.31nb2
=> Checksum OK for XML-LibXML-1.31.tar.gz.
work.i386 -> /p/obj/pkgsrc/textproc/p5-XML-LibXML/work.i386
===> Extracting for p5-XML-LibXML-1.31nb2
===> Required installed package p5-XML-SAX>=0.03: p5-XML-SAX-0.12 found
===> Required installed package p5-XML-Checker-[0-9]*: p5-XML-Checker-0.12 found
===> Required installed package libxml2>=2.5.6nb1: libxml2-2.5.7nb1 found
===> Required installed package libiconv>=1.8: libiconv-1.8nb1 found
===> Required installed package perl>=5.0: perl-5.6.1nb7 found
===> Patching for p5-XML-LibXML-1.31nb2
===> Applying pkgsrc patches for p5-XML-LibXML-1.31nb2
===> Buildlinking for p5-XML-LibXML-1.31nb2
===> Configuring for p5-XML-LibXML-1.31nb2
running xml2-config... ok
looking for -lxml2... libxml2 not found
Try setting LIBS and INC values on the command line
Or get libxml2 from 
  http://www.libxml.org/
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.
no
*** Error code 2

Stop.
make: stopped in /p/pkgsrc/textproc/p5-XML-LibXML
*** Error code 1

Stop.
make: stopped in /p/pkgsrc/textproc/p5-XML-LibXML

>How-To-Repeat:
	cd pkgsrc/textproc/p5-XML-Conglomerate
	make configure
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: