----- Original Message ----- From: "JoDaY" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, October 25, 2004 10:46 AM Subject: [Eagleusb-dev] Use of eagle-usb with Knoppix in live-cd
> Hi, > > I'm tired about compiling a new module for each new release of Knoppix. > Most are used to connect with an old eagle-usb (1.0.4) structure (but > not module) modified to be usable in particular exec mode that knoppix > impose. This package (sagemlive) works well but it's a "bouinage" (can't > translate in english :o ) > > For the story: > Knoppix don't allow to write in other places than in /home/knoppix > directory (although some little files can be write in /etc) > > You've added some parameters about configure, I can compil and install > in live-cd but I need to write: > MODULESDIR=/home/knoppix/sagem/modules > at the beginning of driver/Makefile-2.4 > > I've tried to use --libdir and some other parameters without succes. > > The problem about changing directly Makefile file is that scripts look > at original place to look for modules ... :( /lib/modules/`uname -a` ) > > Is there a parameter that I hdan't seen or something else ? > > Thanks > > Ps: I've also some problems to read some of message from this list, it > seems to be an encoding character pbm with. This are often in french. > > JoDaY > You could manage module install 'by hand' if you are not using the root Makefile but it is a bit complicated if you use all parts of the driver. I do that for smp compilation as kernel is 2.4.27 but target is 2.4.27-smp and the script don't like that cd $(DIR_APP) && CC="$(KGCC)" CONFIG_SMP=1 make -C driver mkdir -p /lib/modules/$(KVER)-smp/misc cd $(DIR_APP)/driver && install -c -m 0664 eagle-usb.o /lib/modules/$(KVER)-smp/misc find /lib/modules/$(KVER)-smp/misc -name '*.o' -a -type f | xargs gzip -f9 A simplier solution may be to force MODULESDIR value in the root Makefile make -f MODULESDIR==/home/knoppix/sagem/modules install should do the trick (untested) Or a sed after the ./configure should have the same result sed -i -e 's%^.*MODULESDIR=.*$$%MODULESDIR===/home/knoppix/sagem/modules%' Makefile.common Gilles
