cannot install .tar file "fsaa1655g"

Asked by Andrew Teeton

I am trying to install "fsaa1655g" to enable my atheros wireless card on my Fujitsu-Siemens Amilo L1310G. I have downloaded the .tar file but whenever I try the make command a number of errors are returned. I get the following:

andy@andy-laptop:~$ tar xvjf fsaa1655g.tar.bz2
fsaa1655g/
fsaa1655g/copying
fsaa1655g/Makefile
fsaa1655g/.fsaa1655g.mod.o.cmd
fsaa1655g/.tmp_versions/
fsaa1655g/.tmp_versions/fsaa1655g.mod
fsaa1655g/readme
fsaa1655g/fsaa1655g.c
fsaa1655g/.fsaa1655g.ko.cmd
fsaa1655g/authors
fsaa1655g/.fsaa1655g.o.cmd
andy@andy-laptop:~$ cd fsaa1655g
andy@andy-laptop:~/fsaa1655g$ make
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/home/andy/fsaa1655g modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
  CC [M] /home/andy/fsaa1655g/fsaa1655g.o
/home/andy/fsaa1655g/fsaa1655g.c:38:26: error: linux/config.h: No such file or directory
make[2]: *** [/home/andy/fsaa1655g/fsaa1655g.o] Error 1
make[1]: *** [_module_/home/andy/fsaa1655g] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make: *** [default] Error 2
andy@andy-laptop:~/fsaa1655g$ ls
andy@andy-laptop:~/fsaa1655g$ tar xvjf fsaa1655g.tar.bz2
tar: fsaa1655g.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

Could someone please help with this process so that I can use the wireless card.

I am running Ubuntu 7.04.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Andrew Teeton
Solved:
Last query:
Last reply:
Revision history for this message
- (a--deactivatedaccount) said :
#1

Hello,

you typed make first

you have to run

./configure

then

make

then

sudo make install

Revision history for this message
Andrew Teeton (ajteeton) said :
#2

I am new to Ubuntu and using the command prompt. Could you give me step
by step instructions as to what you mean when you say run ./configure.
I have tried to type this in and get the following message:

bash: configure: command not found

Thanks

Derry wrote:
> Your question #10307 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/10307
>
> Status: Open => Answered
>
> Derry proposed the following answer:
> Hello,
>
>
> you typed make first
>
> you have to run
>
> ./configure
>
> then
>
> make
>
> then
>
> sudo make install
>
>

Revision history for this message
Mathias Uebelacker (muebelacker) said :
#3

Hello Derryl,

at you must unpack the tarfile. The open a basch and change to the directory in which you
unpack your tar file (in the bash enter cd /home/yourname/yourfiledirectory). In this
directory enter ./configure. Follow the installation instructions (normal is to execute
make and the make install).
br
Mathias

Revision history for this message
Witold Krakowski (wkrakowski-gmail) said :
#4

After unpacked the archive, you enter the directory and You have to execute three commands:

1) sudo ./configure
2) sudo make
3) sudo make install

After You write every of these commands, ubuntu will ask you for password - just enter the password you use to login.

Revision history for this message
Andrew Teeton (ajteeton) said :
#5

I think I am doing the right thing. Ihave entered the commands as shown
below, but still get an error message,

andy@andy-laptop:~$ tar xvjf fsaa1655g.tar.bz2
fsaa1655g/
fsaa1655g/copying
fsaa1655g/Makefile
fsaa1655g/.fsaa1655g.mod.o.cmd
fsaa1655g/.tmp_versions/
fsaa1655g/.tmp_versions/fsaa1655g.mod
fsaa1655g/readme
fsaa1655g/fsaa1655g.c
fsaa1655g/.fsaa1655g.ko.cmd
fsaa1655g/authors
fsaa1655g/.fsaa1655g.o.cmd
andy@andy-laptop:~$ cd fsaa1655g
andy@andy-laptop:~/fsaa1655g$ ./configure
bash: ./configure: No such file or directory
andy@andy-laptop:~/fsaa1655g$ make
make -C /lib/modules/2.6.20-16-generic/build
SUBDIRS=/home/andy/fsaa1655g modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
  CC [M] /home/andy/fsaa1655g/fsaa1655g.o
/home/andy/fsaa1655g/fsaa1655g.c:38:26: error: linux/config.h: No such
file or directory
make[2]: *** [/home/andy/fsaa1655g/fsaa1655g.o] Error 1
make[1]: *** [_module_/home/andy/fsaa1655g] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make: *** [default] Error 2
andy@andy-laptop:~/fsaa1655g$

Am I doing the right thing?

Mathias Uebelacker wrote:
> Your question #10307 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/10307
>
> Status: Open => Answered
>
> Mathias Uebelacker proposed the following answer:
> Hello Derryl,
>
> at you must unpack the tarfile. The open a basch and change to the directory in which you
> unpack your tar file (in the bash enter cd /home/yourname/yourfiledirectory). In this
> directory enter ./configure. Follow the installation instructions (normal is to execute
> make and the make install).
> br
> Mathias
>
>

Revision history for this message
Andrew Teeton (ajteeton) said :
#6

When I type "sudo ./configure" I get the following message after I have
entered my password:

sudo: ./configure: command not found

Do I need to load another module?

Witold Krakowski wrote:
> Your question #10307 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/10307
>
> Witold Krakowski proposed the following answer:
> After unpacked the archive, you enter the directory and You have to
> execute three commands:
>
> 1) sudo ./configure
> 2) sudo make
> 3) sudo make install
>
> After You write every of these commands, ubuntu will ask you for
> password - just enter the password you use to login.
>
>

Revision history for this message
Mathias Uebelacker (muebelacker) said :
#7

Hello,

the configure file should be include in the package. But if your package is the wlan switch for the 2.4 / 2.6 kernel than you do not use ./configure if i remember correct you use only
1. make
2. make install
3. modprobe fsaa1655g
br
Mathias

Revision history for this message
Andrew Teeton (ajteeton) said :
#8

Problem solved. I had a look at

http://ubuntuforums.org/showthread.php?t=207428

For those with Ubuntu 7.04 there is no config.h on the kernel. In the file fsaa1655g.c you need to comment out the line with #include config.h by typing // so that the line reads:

//#include config.h

Once you have made this change and saved it, you can then proceed with the make and make install commands.

Revision history for this message
Eihab Abdelmagid (eihabmail) said :
#9

Hi there
When I try unzip a.tar file I got this message
eihab@eihab-desktop:~$ tar -zxvf fribidi-0.10.9.tar.gz
tar: fribidi-0.10.9.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

Any ideas thanks

Revision history for this message
László Pálfi (eusebius28) said :
#10

Hi!

I still have problem with this make, make install procedure!
I've made the changes in the "fsaa1655g.c" file ( //#include config.h ), but the message is the following:

make -C /lib/modules/2.6.24-19-rt/build SUBDIRS=/home/palfilaszlo/wifi/fsaa1655g modules
make: *** /lib/modules/2.6.24-19-rt/build: No such file or directory. Stop.
make: *** [default] Error 2

How could I run make and make install?

(using Ubuntu 8.04 LTS)

Thanks!