[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rrdtool-1.0.27 refuses to build



On Sat, Nov 18, 2000 at 08:47:39PM +0100, Cristian Ionescu-Idbohrn wrote:

> tried building the source package both on woody and potato.
> looks like it tries to install tclrrd.so _before_ it's created :(
> 
> # Install tcl stuff manually
> # I have no idea if this is done right, as nobody answered my
> # plea to debian-devel
> mkdir /usr/src/DEBIAN/WORK/rrdtool-1.0.27/debian/tmp/usr/lib/rrdtool
> cd tcl && install tclrrd.so
> /usr/src/DEBIAN/WORK/rrdtool-1.0.27/debian/tmp/usr/lib/rrdtool
> install: cannot stat `tclrrd.so': No such file or directory
> make: *** [install-stamp] Error 1
> Build command 'cd rrdtool-1.0.27 && dpkg-buildpackage -b -uc' failed.
> E: Child process failed

Do you have one of the tcl-dev packages installed?  Which one?  Come to think
of it, I think it will only compile with tcl8.0-dev, and I should change the
build-depends to indicate that.  If any tcl experts want to help get it working
with a newer tcl, I would be happy to fix it and forward the patch upstream.

The other problem with supporting multiple tcl's is that I need to tell
rrdtool's configure script where to find tclConfig.sh.  Unfortunately,
tcl8.0-dev puts it in /usr/lib, while tcl8.2-dev and tcl8.3-dev use
/usr/lib/tcl{8.2,8.3}/tclConfig.sh.  I don't understand why this is necessary,
since the various tclVER-dev packages conflict with each other.

-- 
 - mdz



Reply to: