Hi, On Thu, 02 Feb 2012, Stéphane Aulery wrote: > I can try my hand at a patch then. I noticed how update-alternatives > uses the logs is almost identical to that of dpkg except that it has > no configuration file and it does not share the code of dpkg/log.c. > We could reuse the lib dpkg for that.
Yes but no :). update-alternatives has been designed to be completely independent of libdpkg because it should be usable stand-alone on a non-dpkg based system. There are quite a few functions in update-alternatives.c which could have been reused out of libdpkg otherwise. So you should rather add a basic config file parser just before the current option parsing logic. > Unfortunately I can not compile the code or the deposit with the > code of package. I do: > > automake > . / configure (there's no space here, it should be "./configure") > make > > Can you help me? What's the error message that you get? Have you followed the instructions of the README? You can also use the package build process (i.e. debian/rules build) to trigger the compilation. Cheers, -- Raphaël Hertzog ◈ Debian Developer Pre-order a copy of the Debian Administrator's Handbook and help liberate it: http://debian-handbook.info/liberation/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org