-- Dave Falloon <[EMAIL PROTECTED]> wrote
(on Tuesday, 08 October 2002, 03:12 PM -0400):
>       I have compiled tcl/tk and want to use this version instead of the package
> in woody.  It is imperitive that every one of the developers at my office is
> using the same tcl/tk (for portability issues, stupid solaris) so I wanted
> to make sure by removing the deb package from everyones machine.  The big
> problem now is you can't really remove tcl without removing the entire
> freekin distro.  I want to somehow (preferably an easy way) make sure that
> my development team is using the correct libraries and I can forsee an
> endless nightmare if both versions are still around.  Has anyone run into
> the same problems or can suggest a solution.

apt-get checkinstall

Checkinstall allows you to create debian (and RPM and Slack) packages
out of compiled sources. I've used this on software that already exists
in Debian, but for which I wanted certain patches applied/optimizations
compiled in. The program allows you to set the package name, version,
and release -- which means, in your case, that you can give the package
the same name as the debian package, but with a newer version and/or
release number so that apt won't try to grab the one off the mirrors.

For an example, I compiled the latest blackbox (0.65.0) with a
mouse-wheel patch. I then ran
    'checkinstall -D -A i386 -pkgname=blackbox -pkgversion=0.65.0 \
    -pkgrelease=1'
(this creates a Debian (-D) package for i386 architectures (-A i386)
named 'blackbox' of version number 0.65.0 and release number 1)

This created and installed a debian package named 
    blackbox_0.65.0-1_i386.deb

Installation replaced the previous version I'd installed (0.62.1), and
also prevented the official debian package from being installed on the
next apt-get update/upgrade I did. If you do this correctly, you'll be
able to install your tcl/tk package(s) on top of the ones already on
your system (i.e., the previous ones will be removed as part of the dpkg
procedure).

As usual, YMMV.

-- 
Matthew Weier O'Phinney


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to