Gmane
From: Steve Drake <98z3 <at> bellsouth.net>
Subject: Re: Errors when running 'make install'
Newsgroups: gmane.linux.drivers.madwifi.user
Date: 2008-09-04 02:18:11 GMT (11 weeks, 1 day, 6 hours and 16 minutes ago)
That was it! I would have struggled for a long time to find that on my own.
Thanks!

----- Original Message ----- 
From: "Pavel Roskin" <proski <at> gnu.org>
To: "Steve Drake" <98z3 <at> bellsouth.net>
Cc: <madwifi-users <at> lists.sourceforge.net>
Sent: Wednesday, September 03, 2008 8:08 PM
Subject: Re: [Madwifi-users] Errors when running 'make install'

> On Tue, 2008-09-02 at 22:53 -0500, Steve Drake wrote:
> > I am attempting to install madwifi 0.9.4 on my puppy-linux 4.00
> > installation (kernel 2.6.21.7).
> >
> > I downloaded the madwifi source code to /steve/madwifi-0.9.4, and the
> > kernel source code to /usr/src/linux-2.6.21.7. I set KERNELPATH
> > to /usr/src/linux-2.6.21.7 and then did a 'make' in
> > the /steve/madwifi-0.9.4 directory to build the madwifi code without
> > any errors.
> >
> > But when I do a 'make install' then I get the following result:
> >
> > # make install
> > sh scripts/find-madwifi-modules.sh 2.6.21.7
> > : command not foundi-modules.sh: line 2:
> > 'cripts/find-madwifi-modules.sh: line 44: syntax error near unexpected
> > token `in
> > 'cripts/find-madwifi-modules.sh: line 44: `              case ${REPLY}
> > in
> > make: *** [install-modules] Error 2
> > #
>
> Considering that the first error is on line 2, which is empty, I believe
> that your copy of find-madwifi-modules.sh has DOS style newlines.  The
> version in the 0.0.4 tarball has correct newlines.  Maybe you unpacked
> the tarball under Windows?
>
> -- 
> Regards,
> Pavel Roskin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/