Re: trouble with packaging
On Mon, Jun 1, 2009 at 2:14 PM, Brendan Martens
<brendan.martens@crosscomm.net> wrote:
> I've never made a "real" package before, so I apologize in advance if I'm
> making a noob mistake. I have tried to read through the debian maintainers
> documentation and various documentation and walkthroughs I can find....
>
> So basically I'm trying to make a debian package of the monit-5.0.3 release.
> I am able to compile the program just fine with the standard "./configure
> make && make install", but when I get to generating a package the .deb does
> not contain /usr/bin/monit or /usr/sbin/monit as it should, but all the
> documentation, etc seems to be correctly created. Here is what dpkg
> --contents shows:
>
> drwxr-xr-x root/root 0 2009-06-01 16:54 ./
> drwxr-xr-x root/root 0 2009-06-01 16:54 ./usr/
> drwxr-xr-x root/root 0 2009-06-01 16:54 ./usr/bin/
> drwxr-xr-x root/root 0 2009-06-01 16:54 ./usr/sbin/
> drwxr-xr-x root/root 0 2009-06-01 16:54 ./usr/share/
> drwxr-xr-x root/root 0 2009-06-01 16:54 ./usr/share/doc/
> drwxr-xr-x root/root 0 2009-06-01 16:54 ./usr/share/doc/monit/
> -rw-r--r-- root/root 26231 2009-05-25 16:53
> ./usr/share/doc/monit/CHANGES.txt.gz
> -rw-r--r-- root/root 3213 2008-03-31 17:13
> ./usr/share/doc/monit/README.SSL.gz
> -rw-r--r-- root/root 1827 2009-02-13 08:06 ./usr/share/doc/monit/README
> -rw-r--r-- root/root 161 2009-06-01 16:42
> ./usr/share/doc/monit/changelog.Debian.gz
> -rw-r--r-- root/root 6424 2008-11-19 13:30
> ./usr/share/doc/monit/FAQ.txt.gz
> -rw-r--r-- root/root 2155 2008-03-31 17:13
> ./usr/share/doc/monit/README.DEVELOPER.gz
> -rw-r--r-- root/root 26229 2009-05-25 16:53
> ./usr/share/doc/monit/changelog.gz
> -rw-r--r-- root/root 1065 2009-06-01 16:41
> ./usr/share/doc/monit/copyright
> drwxr-xr-x root/root 0 2009-06-01 16:54 ./usr/share/man/
> drwxr-xr-x root/root 0 2009-06-01 16:54 ./usr/share/man/man1/
> -rw-r--r-- root/root 44350 2009-06-01 16:54
> ./usr/share/man/man1/monit.1.gz
Looks to me like make install might not even be running--this stuff
could have been installed by dh_* commands.
>
> I feel like I'm missing something in debian/rules but I've tweaked a few
> things but it has had no effect.
debian/rules is what matters here, please attach it.
Regards,
Daniel
--
Daniel Moerner <dmoerner@gmail.com>
Reply to: