How to build a NDAS package for Debian
Install build tools
- Following packages are required: dpkg-dev, debhelper, gcc, bzip2, fakeroot, module-assistant, libc6-dev, build-essential
- Run the following commands with root privilege:
apt-get install dpkg-dev debhelper gcc bzip2 fakeroot module-assistant libc6-dev build-essential apt-get install linux-headers-`uname -r`
Build NDAS packages
- Download the universal tarball from http://code.ximeta.com/dev/current/linux ( or http://code.ximeta.com/dev/current/linux64 for x86_64)
- Run following commands
tar zxf ndas-1.x-x.tar.gz cd ndas-1.x-x dpkg-buildpackage -rfakeroot cd ..
- Check ndasadmin_1.x-xxx_arch.deb file and ndas-modules-src_1.x-xxx_all.deb file is created. If those files are not created, please report us with a message from "dpkg-buildpackage".
- Note: ndas-modules-src_1.x-xxx_all.deb package is actually architecture dependent because it contains pre-built NDAS library.
Install packages
- Uninstall previously installed package if any. New packages are incompatible with the previous version of NDAS Debian package. See Uninstall section for instruction.
- With root privilege, run following commands
dpkg -i ndas-modules-src_1.x-x_all.deb m-a prepare m-a auto-install ndas dpkg -i ndasadmin_1.x-xxx_<arch>.deb
- Note: If you get an error after the third line about it not finding ndas, restart your machine and try again
- Note: You don't need to run m-a prepare again when reinstalling NDAS package later.
- Now installation is completed.
When Linux kernel has changed
- Changes in kernel version may require rebuilding of kernel modules. When Linux kernel has changed, run following commands with root privilege to rebuild NDAS driver
m-a auto-install ndas
Uninstall
- You may use GUI tools such as synaptic in Ubuntu or use following commands
dpkg -r ndasadmin dpkg -r ndas-modules-<kernel_version> dpkg -r ndas-modules-src
- Note: ndas-modules for current running kernel can be removed using following command.
dpkg -r ndas-modules-`uname -r`
- Note: ndas-modules for current running kernel can be removed using following command.
Proceed
You are now ready to Use the NDAS Software
Attachments
- ndas-modules-src.buildlog.2.6.27-8-generic.1227250725.gz (1.7 kB) -
I got as far as the "m-a auto-install ndas" step. I am running Ubuntu 8.10
, added by ndas@keser.com on 11/20/08 23:13:55. - ndas-modules-src.buildlog.2.6.27-7-generic.1227399190 (7.3 kB) -
The same problem I have (Ubuntu 8.10)
, added by anonymous on 11/22/08 16:17:48.
