Friday, November 14, 2008

tweking perl dependencies in debian

wanted to install dkimproxy on a debian server and was happy to find that the package existed. however, installing this package would have altered quite a lot of the perl installation - including many removes (due to dependency errors...); after some manual tweaking of aptitude, apt-get, and dpkg i finally, realized that this won't work...

but then i found: http://www.debian-administration.org/articles/78 - and started with:
dh-make-perl Mail-DKIM-0.32/
...but found that more modules were needed:
dh-make-perl --cpan Crypt::OpenSSL::Random --build
dh-make-perl --cpan Crypt::OpenSSL::RSA --build
dh-make-perl --cpan Crypt::OpenSSL::Bignum --build
installation is done via regular dpkg -i. and afterwards:
sudo aptitude install --without-recommends dkimproxy/testing
worked.


References:
  1. http://dkimproxy.sourceforge.net/
  2. http://www.cpan.org/modules/01modules.index.html
  3. https://help.ubuntu.com/community/GnuPrivacyGuardHowto (in case something like 'running debsign failed' comes up...)

No comments: