Subject: Re: pkg/32209
To: None <pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org>
From: Berndt Josef Wulf <wulf@ping.net.au>
List: pkgsrc-bugs
Date: 01/04/2006 15:24:24
G'day,

it appears rrdtool tries to build the tcl bindings. The standard installation 
doesn't require nor configure these.

Where are your packages installed - /usr/pkg or /usr/local.

I suspect that you have tcl installed in /usr/local because the configure 
script for rrdtool searches for the tclConfig.sh file in /usr/lib 
aund /usr/local/lib and , if found, will build the tcl bindings. This is not 
a problem if packages, including tcl, are installed /usr/pkg, the default 
installation path.

The patch below should fix this. Can you please apply this patch, rebuild 
rrdtool and report back?

Thanks,

Berndt

===================================================================
RCS file: /cvsroot/pkgsrc/databases/rrdtool/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile    5 Dec 2005 20:50:01 -0000       1.42
+++ Makefile    4 Jan 2006 03:48:27 -0000
@@ -21,6 +21,8 @@

 CONFIGURE_ARGS+=       --enable-shared
 CONFIGURE_ARGS+=       --with-perl-options=${MAKE_PARAMS:Q}
+CONFIGURE_ARGS+=       --disable-tcl
+CONFIGURE_ARGS+=       --disable-python

 PERL5_CONFIGURE=       NO
 PERL5_PACKLIST+=       auto/RRDp/.packlist