> ---------- > From: Gary Hennigan[SMTP:[EMAIL PROTECTED] > Sent: Tuesday, August 29, 2000 6:07 PM > To: debian-laptop@lists.debian.org > Subject: Re: pcmcia custom installation > > "Sean 'Shaleh' Perry" <[EMAIL PROTECTED]> writes: > > > > > > > Doesn't work. I get some error from a shell script and I wanted to > > > find out if there was a cleaner way to do this before I tried to track > > > it down. Sure would be nice if there were some type of a package like > > > make-kpkg that allowed us to use raw pcmcia source code. > > > > > > > do the following: > > > > apt-get source pcmcia-source > > cd /usr/src > > tar zxvf pcmcia-cs.tar.gz > > <load a web browser> > > go to http://sourceforge.net/projects/pcmcia-cs/ > > <download the latest pcmcia version> > > untar the pcmcia-cs-<version>.tar.gz into /usr/src/modules > > cd /usr/src/modules > > cp -a pcmcia-cs/debian pcmcia-cs-<version> > > cd pcmcia-cs-<version>/debian > > <add new entry to changelog> > > cd /usr/src/modules > > mv pcmcia-cs pcmcia-cs.old > (I did rm -rf pcmcia-cs) > > ln -s pcmcia-cs-<version> pcmcia-cs > (I did mv pcmcia-cs-3.1.19 pcmcia-cs) > > cd /usr/src/linux > (cd /usr/src/kernel-source-2.2.17) > > make-kpkg modules_image > > > > this makes the modules deb you need. > > This is almost exactly what I tried, with any differences shown in > parens above. Unfortunately, like I wrote, I'm getting some shell > script error somewhere. Here's the output: > > make[3]: Entering directory `/usr/src/modules/pcmcia-cs' > /bin/sh: -c: line 1: syntax error near unexpected token `;' > /bin/sh: -c: line 1: `set -e ; for d in ; do make -C $d ; done' > make[3]: *** [all] Error 2 > make[3]: Leaving directory `/usr/src/modules/pcmcia-cs' > make[2]: *** [build-modules] Error 2 > make[2]: Leaving directory `/usr/src/modules/pcmcia-cs' > make[1]: *** [kdist_image] Error 2 > make[1]: Leaving directory `/usr/src/modules/pcmcia-cs' > Module /usr/src/modules/pcmcia-cs failed. > This may be off base but I have had problems like this on other systems. It was caused by the shell. The Makefile needed a Borne shell and I was using a posix shell. Do both of you have the same /bin/sh?
jim > Gary > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] >