Appendix A
Installation Script Output
KylixDriver Installation Script (setup.sh) performs KylixDriver installation for you. If the script is being executed from a console or an emulation terminal the installation process is finely observed. On succeeding you should see something like a typical sample underneath demonstrates. The installing shell script of KylixDriver version 2.0 (pre) was executed on the following environment:
Linux Vendor |
Linux RedHat 9.0 |
Linux Kernel Version |
2.4.20-8 |
User |
Eugene2 |
Kylix1 |
Installed |
Kylix2 |
Installed |
Kylix3 |
Not Installed at eugene2 account |
Preferred installation directory |
Default [ /home/eugene2/kylixdriver2.0 ] |
Do not be confused to see Kylix1 command-line compiler do not function and complains of as though a weird directive 'msgcatalog=/home/eugene2/kylix2/bin'
We really sure you will encounter the same trouble as well if you have newer Kylix version installed over the Kylix number 1. Whatever we did we could not handle with that and did not still find a way to solve the problem, if it is.
KylixDriver Evaluation Version 2.0 (c) 2002-2004 ETSoft Tenzor.Net
Welcome to the KylixDriver Setup Script.
Please shutdown all running Kylix apps
when ready press <Enter>
Please enter KylixDriver install path inside your home directory:
[The default path inside your home directory is kylixdriver2.0 (change if necessary)]:
The full KylixDriver Home Path will be =/home/eugene2/kylixdriver2.0
Copying file ...
Kylix 1 Home Path=/home/eugene2/kylix
Build package Kylix 1 ...
Borland Delphi for Linux Version 14.0
Copyright (c) 1983,2001 Borland Software Corporation
Fatal: Invalid compiler directive: 'msgcatalog=/home/eugene2/kylix2/bin'
Borland Delphi for Linux Version 14.0
Copyright (c) 1983,2001 Borland Software Corporation
Fatal: Invalid compiler directive: 'msgcatalog=/home/eugene2/kylix2/bin'
Kylix 2 Home Path=/home/eugene2/kylix2
Build package Kylix 2 ...
Borland Delphi for Linux Version 14.1
Copyright (c) 1983,2001 Borland Software Corporation
kdedspkg.dpk(39)
40 lines, 0.16 seconds, 13696 bytes code, 108 bytes data.
Borland Delphi for Linux Version 14.1
Copyright (c) 1983,2001 Borland Software Corporation
kdclxpkg.dpk(61)
62 lines, 0.45 seconds, 222756 bytes code, 1472 bytes data.
Kylix 3 not found.
Compiling the Generic Device Driver (GDD)...
Running default configure ...
loading cache ./config.cache
checking for linux kernel source... found at /lib/modules/2.4.20-8/build
checking which directories to include... -I/lib/modules/2.4.20-8/build/include
checking linux kernel version... 2.4.20-8
checking for gcc kernel version... 3
checking output directory... checking target... LINUX.2.4.20-8/kdmodule.o
checking for api changes... Done!
checking for usb support... yes
checking for right linked object... trial/gcc3/chardev.o
creating ./config.status
creating makefile
make -C module install
make[1]: cd `/home/eugene/kd/module'
cc -c -O2 -Wall -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-8/build/include -I/lib/modules/2.4.20-8/build/include/asm/mach-default -DKYLIXDRIVER_KERNEL -fno-strict-aliasing -fno-common -DREMAP_API_CHANGE -DLINUX_USB_SUPPORT -c -o LINUX.2.4.20-8/sysdep.o sysdep.c
cc -c -O2 -Wall -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-8/build/include -I/lib/modules/2.4.20-8/build/include/asm/mach-default -DKYLIXDRIVER_KERNEL -fno-strict-aliasing -fno-common -DREMAP_API_CHANGE -DLINUX_USB_SUPPORT -c -o LINUX.2.4.20-8/interpreter.o interpreter.c
cc -c -O2 -Wall -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-8/build/include -I/lib/modules/2.4.20-8/build/include/asm/mach-default -DKYLIXDRIVER_KERNEL -fno-strict-aliasing -fno-common -DREMAP_API_CHANGE -DLINUX_USB_SUPPORT -c -o LINUX.2.4.20-8/plugin1.o plugin1.c
cc -c -O2 -Wall -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-8/build/include -I/lib/modules/2.4.20-8/build/include/asm/mach-default -DKYLIXDRIVER_KERNEL -fno-strict-aliasing -fno-common -DREMAP_API_CHANGE -DLINUX_USB_SUPPORT -c -o LINUX.2.4.20-8/extern_defs.o extern_defs.c
ld -r -o LINUX.2.4.20-8/kdmodule.o LINUX.2.4.20-8/sysdep.o LINUX.2.4.20-8/interpreter.o LINUX.2.4.20-8/plugin1.o LINUX.2.4.20-8/extern_defs.o trial/gcc3/chardev.o
rm -f LINUX.2.4.20-8/sysdep.o LINUX.2.4.20-8/interpreter.o LINUX.2.4.20-8/plugin1.o LINUX.2.4.20-8/extern_defs.o
for n in module_load module_unload power_off; do if [ ! -x $n ]; then chmod +x $n; fi; done
cp module_load module_unload power_off LINUX.2.4.20-8
PLEASE READ THIS CAREFULLY !
----------------------------
You are a non-root user. In order to let the GDD be reloaded upon
every boot, your task is to kindly ask your system administrator
to append the following calls to /etc/rc.local file:
cd /home/eugene2/kylixdriver2.0/module/LINUX.2.4.20-8
./module_load
KylixDriver has been successfully installed !
Please read all the documentation files included
Contact:
e-mail: etsoft@tenzor.net
press <Enter>