Script started on Wed May  2 10:48:34 2001
# ./build_deb
Build an deb package for ltmodem

This is ltmodem-5.95a1 compiler and Debian package builder.

To make a record for trouble shooting purposes,
Start again with:
  script ltrecord.txt
  ./build_deb
Abort with Ctrl-C to terminate now.
 or wait a few seconds

./build_deb: -f: command not found
creating cache ./config.cache
Checking OS
Checking machine type
Scanning PCI bus for modem
WARNING: /sbin/lspci returned error - not checking for modem
checking for gcc... gcc
checking whether the C compiler (gcc   ) works... yes
checking whether the C compiler (gcc   ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for make... yes
checking for ld... yes
Checking for kernel headers
  ... in /usr/src/linux: nope
  ... in /usr/src/kernel-headers-2.4.3: nope
  ... in /usr/src/linux-2.4.3: Kernel headers found in /usr/src/linux-2.4.3
  using /usr/src/linux-2.4.3
Checking kernel header version
  kernel headers are version 2.4.3
checking for fakeroot... no
+-----------------------------------------------------------------------------+
+-----------------------------------------------------------------------------+
updating cache ./config.cache
creating ./config.status
creating Makefile
creating autoload
creating cleanup
test `id -u` = 0 || ! test -z  &&  make -f debian/rules binary || ( echo "You need to be root"; exit 1 )
make[1]: Entering directory `/home/marv/ltmodem-5.95a1/source'
dh_testdir
dh_clean
rm -rf debian/tmp build
make proper
make[2]: Entering directory `/home/marv/ltmodem-5.95a1/source'
rm -f lt_modem.o lt_serial.o
rm -f ltmodem.a serial-lt-2.4.a
rm -f *.rpm
rm -rf build debian/tmp *.deb debian/postinst debian/postrm
rm -f Makefile autoload cleanup config.cache config.log config.status
rm -f *~ *.bak
make[2]: Leaving directory `/home/marv/ltmodem-5.95a1/source'
./configure
creating cache ./config.cache
Checking OS
Checking machine type
Scanning PCI bus for modem
WARNING: /sbin/lspci returned error - not checking for modem
checking for gcc... gcc
checking whether the C compiler (gcc   ) works... yes
checking whether the C compiler (gcc   ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for make... yes
checking for ld... yes
Checking for kernel headers
  ... in /usr/src/linux: nope
  ... in /usr/src/kernel-headers-2.4.3: nope
  ... in /usr/src/linux-2.4.3: Kernel headers found in /usr/src/linux-2.4.3
  using /usr/src/linux-2.4.3
Checking kernel header version
  kernel headers are version 2.4.3
checking for fakeroot... no
+-----------------------------------------------------------------------------+
+-----------------------------------------------------------------------------+
updating cache ./config.cache
creating ./config.status
creating Makefile
creating autoload
creating cleanup
make
make[2]: Entering directory `/home/marv/ltmodem-5.95a1/source'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.3/include -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DLT_VERSION=5.95a -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_serial -c -o ltmodem.a ltmodem.c
ld -r -o lt_modem.o ltmodem.a ltmdmobj.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.3/include -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DLT_VERSION=5.95a -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_serial -c -o serial-lt-2.4.a serial-lt-2.4.c
serial-lt-2.4.c:5504: warning: `register_ltserial' defined but not used
ld -r -o lt_serial.o serial-lt-2.4.a
make[2]: Leaving directory `/home/marv/ltmodem-5.95a1/source'
touch build
make ROOTDIR=/home/marv/ltmodem-5.95a1/source/debian/tmp install
make[2]: Entering directory `/home/marv/ltmodem-5.95a1/source'
/usr/bin/install -c -m644 --owner=0 --group=0 -b -D lt_modem.o /home/marv/ltmodem-5.95a1/source/debian/tmp//lib/modules/2.4.3/kernel/drivers/char/lt_modem.o
/usr/bin/install -c -m644 --owner=0 --group=0 -b -D lt_serial.o /home/marv/ltmodem-5.95a1/source/debian/tmp//lib/modules/2.4.3/kernel/drivers/char/lt_serial.o
echo "The driver is now installed - now run ./autoload if you want to enable automatic loading of the module"
The driver is now installed - now run ./autoload if you want to enable automatic loading of the module
make[2]: Leaving directory `/home/marv/ltmodem-5.95a1/source'
cp autoload debian/postinst
cp cleanup debian/postrm
dh_testdir
dh_testroot
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `ltmodem' in `../ltmodem_5.95a-1_i386.deb'.
make[1]: Leaving directory `/home/marv/ltmodem-5.95a1/source'

The debian installer is:
-rw-r--r--    1 root     root       181304 May  2 10:49 ltmodem_5.95a-1_i386.deb
  Yes, Debian is the best!

save and terminate the   ltrecord.txt by entering:
    exit
ltrecord.txt will be overwritten unless renamed, perhapsltrecord1.txt

# exit
exit

Script done on Wed May  2 10:52:03 2001
