Hallo,
ich möchte ein *.deb Packet erstellen. Habe mir http://www.internetking.org/fsusb/fsusb-0.1.11-2.tar.gz heruntergeladen und in Verzeichnis
/usr/src/sfusb-0.1.11-2/ entpackt.
Dann ein
/usr/src/fsusb-0.1.11-2# dh_make -e shangkai@gmx.de -f /usr/src/fsusb-0.1.11-2.tar.tar
Type of package: single binary, multiple binary, library, or kernel module?
[s/m/l/k] s
Maintainer name : root
Email-Address : shangkai@gmx.de
Date : Sat, 17 Mar 2007 16:28:56 +0100
Package Name : fsusb-0.1.11
Version : 2
License : blank
Type of Package : Single
Hit <enter> to confirm:
Done. Please edit the files in the debian/ subdirectory now. You should also
check that the fsusb-0.1.11 Makefiles install into $DESTDIR and not in / .
gemacht. Dann ein
/usr/src/fsusb-0.1.11-2# dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package is fsusb-0.1.11
dpkg-buildpackage: source version is 2-1
dpkg-buildpackage: source maintainer is root <shangkai@gmx.de>
dpkg-buildpackage: host architecture is i386
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/usr/src/fsusb-0.1.11-2'
rm fsusb *.o
make[1]: Leaving directory `/usr/src/fsusb-0.1.11-2'
dh_clean
dpkg-source -b fsusb-0.1.11-2
dpkg-source: building fsusb-0.1.11 using existing fsusb-0.1.11_2.orig.tar.gz
dpkg-source: building fsusb-0.1.11 in fsusb-0.1.11_2-1.diff.gz
dpkg-source: building fsusb-0.1.11 in fsusb-0.1.11_2-1.dsc
debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/usr/src/fsusb-0.1.11-2'
cc -Wall -D_GNU_SOURCE -I/include -c -o main.o main.c
cc -Wall -D_GNU_SOURCE -I/include -c -o fsusb.o fsusb.c
cc -Wall -D_GNU_SOURCE -I/include -c -o rjlhex.o rjlhex.c
cc -Wall -D_GNU_SOURCE -I/include -c -o memimg.o memimg.c
cc -Wall -D_GNU_SOURCE -I/include -o fsusb main.o fsusb.o rjlhex.o memimg.o -L/lib -lusb
make[1]: Leaving directory `/usr/src/fsusb-0.1.11-2'
#docbook-to-man debian/fsusb-0.1.11.sgml > fsusb-0.1.11.1
touch build-stamp
fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/fsusb-0.1.11.
/usr/bin/make install DESTDIR=/usr/src/fsusb-0.1.11-2/debian/fsusb-0.1.11
make[1]: Entering directory `/usr/src/fsusb-0.1.11-2'
make[1]: *** Keine Regel, um »install« zu erstellen. Schluss.
make[1]: Leaving directory `/usr/src/fsusb-0.1.11-2'
make: *** [install] Fehler 2
gemacht. Woran könnte es liegen das die Fehlemeldung "make[1]: *** Keine Regel, um »install« zu erstellen. Schluss."
ausgegeben wird, und das Packet nicht erstellt wird.
Vielen Dank im Vorraus
Gruss
Kai