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

Re: rrdtool-1.0.27 refuses to build



On Sat, 18 Nov 2000, Matt Zimmerman wrote:

> 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.

All right. With tcl8.0-dev in place:

# You may want to make some executables suid here.
dh_suidregister -a
dh_installdeb -a
dh_perl -a
dh_shlibdeps -a
dpkg:  not found.
debian/librrds-perl/usr/lib/perl5/5.005/i386-linux/auto/RRDs/RRDs.so: error
in loading shared libraries: librrd.so.0: cannot open shared object
file: No such file or directory
dpkg-shlibdeps: warning: ldd on
`debian/librrds-perl/usr/lib/perl5/5.005/i386-linux/auto/RRDs/RRDs.so'
gave nothing on standard output
debian/rrdtool-tcl/usr/lib/rrdtool/tclrrd.so: error in loading shared
libraries: librrd.so.0: cannot open shared object file: No such file or
directory
dpkg-shlibdeps: warning: ldd on
`debian/rrdtool-tcl/usr/lib/rrdtool/tclrrd.so' gave nothing on standard
output
dh_gencontrol -a
dpkg-gencontrol: warning: unknown substitution variable
${shlibs:Depends}
dpkg-gencontrol: warning: unknown substitution variable
${shlibs:Depends}
dh_md5sums -a
dh_builddeb -a
dpkg-deb: building package `rrdtool' in `../rrdtool_1.0.27-3_i386.deb'.
dpkg-deb: building package `librrd0' in `../librrd0_1.0.27-3_i386.deb'.
dpkg-deb: building package `librrd0-dev' in `../librrd0-dev_1.0.27-3_i386.deb'.
dpkg-deb: parse error, in file `debian/librrds-perl/DEBIAN/control' near
line 6 package `librrds-perl':
 `Depends' field, missing package name, or garbage where package name
expected
dh_builddeb: command returned error code
make: *** [binary-arch] Error 1
Build command 'cd rrdtool-1.0.27 && dpkg-buildpackage -b -uc' failed.
E: Child process failed

Cheers,
Cristian



Reply to: