Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Building from source in DSL< Next Oldest | Next Newest >
PaulFXH Offline





Group: Members
Posts: 26
Joined: Aug. 2007
Posted: Dec. 27 2008,01:14 QUOTE

My experience with DSL is very limited (as is probably evident from the nature of this post) but I've used various Linux distros for about three years.
I have recently installed dsl 4.4.12 on my Asus EeePC 901 and it works fine. However, although I have a wifi connection I am not able to set up an Ethernet connection.
My Ethernet card is  an Atheros L1 which is, however, referred to as an Attansic card in lspci (Atheros now own Attansic, I believe).
The required driver is atl1e and I have downloaded the driver source from
here.
To build the driver, after unzipping I need to unrar the source file.
However, when I try this in DSL, I get a long list of "unknown method in" statements and a few which comment that I have a "file header broken".
The last line in the output states that there are "no files to extract"
Note that the same file unrars perfectly in Ubuntu.
Had I managed to unrar this file the next step would be to apply these commands:
Code Sample
sudo KBUILD_NOPEDANTIC=1 make
sudo KBUILD_NOPEDANTIC=1 make install

However, when I tried these commands elsewhere in DSL, I got a "command not found" error.
So, it appears that I am missing some extract, build and compile tools.
I have already installed the following:

gcc1.dsl
gcc1-with-libs.dsl
gnu-utils.dsl
kernelsource.dsl

What else do I need?
Thanks for any help.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 27 2008,03:33 QUOTE

I believe "unknown method in" statements tend to be the result of missing or outdated headers (includes).  What these headers are I can't say...depends on which headers are required by the headers and other files in your source package.

Quote
The last line in the output states that there are "no files to extract"
If you need to unrar, you will need to add unrar to your system. I don't think it's included in the packages you listed.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
PaulFXH Offline





Group: Members
Posts: 26
Joined: Aug. 2007
Posted: Dec. 27 2008,04:19 QUOTE

Thank you for the reply.
First though, I'm fairly certain unrar is installed as there's a binary in /usr/bin/ called "unrar". Also, if it hadn't been installed, I'm sure I would have seen a "command not found" error when I tried to use it. Perhaps there's a missing dependency or two.
As what I tried obviously didn't work, is there an option similar to what's available in other distros where you can right-click on a file to be extracted/expanded/unzipped and choose "extract here"?

On the failure of the "KBUILD_NOPEDANTIC" commands, what do I need to do to ensure I have the full complement of build/compile tools installed in DSL?
Back to top
Profile PM 
2 replies since Dec. 27 2008,01:14 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Building from source in DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code