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

Need help building own Debian Package - dh_install: lighttpd missing files (debian/tmp/usr/sbin/*), aborting

Hello List,

i am trying to build my own Debian Package.

Below is my debian/rules file. I ran dpkg-buildpackage and i get this error:

make[4]: Leaving directory `/root/lighttpd-1.4.26/tests'
make[3]: Leaving directory `/root/lighttpd-1.4.26/tests'
make[2]: Leaving directory `/root/lighttpd-1.4.26/tests'
make[2]: Entering directory `/root/lighttpd-1.4.26'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/root/lighttpd-1.4.26'
make[1]: Leaving directory `/root/lighttpd-1.4.26'
touch build-stamp
dh build
 debian/rules binary
#dh --before dh_auto_install install
dh_install --sourcedir=debian/tmp
dh_install: lighttpd missing files (debian/tmp/usr/sbin/*), aborting
make: *** [install-stamp] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2

debian/rules file:

    #!/usr/bin/make -f


    build: build-stamp
            dh build --before auto_configure
            ./configure \
                    --with-attr \
                    --with-lua=lua5.1 \
                    --with-openssl \
                    --with-pcre \
                    --with-bzip2 \
                    --with-webdav-props \
                    --with-webdav-locks \
            dh build --after auto_configure
            touch $@

    install: install-stamp
    install-stamp: build-stamp
            #dh --before dh_auto_install install
            dh_install --sourcedir=debian/tmp
            touch $@

    binary-arch: install
            dh $@

    binary: binary-arch binary-indep

            dh_installinit --error-handler=true -- defaults 91 09

            dh $@

Anyone any idea? If there is a debian-dev Mailing list for building
packages then let me know. I couldn't find one.


Reply to: