Compiler with HD install


Forum: HD Install
Topic: Compiler with HD install
started by: se2schul

Posted by se2schul on Sep. 24 2006,14:34
Hi, I'm a very new user.  I liked the live CD, so I installed DSL on an old laptop with the goal of getting it setup as a wireless websurfing machine.  To get my wireless working, it seems I need to compile code for the wireless adapter driver.  The problem is that I don't have a compiler.  How can I get gcc or something like that?  I've heard mention of gcc1.dsl.  Is this what I want? I've been looking for a spot to download it for a couple hours and can't find it.  Any help would be appreciated.
Posted by mikshaw on Sep. 24 2006,15:10
gcc1.dsl and gcc1-with-libs.dsl (more headers included) are both available through MyDSL.  I would use caution when installing myDSL on an uncompressed harddrive install, mainly because there is no undoing the install apart from manually removing (and possibly replacing) files. If you installed frugal it will behave the same as a livecd.
Posted by Wittfella on Oct. 03 2006,13:42
G'Day,

I'm doing the same thing, trying to compile the latest ndiswrapper and wireless driver.  I got gcc, gnu-utils, kernel headers etc., mydsl packages. When I try make install in ndiswrapper source it just says "Error: cc command not found".  I assume this is the compiler.  

Anyone know what's up, is there some other mydsl package I need to compile sources?  Reading the info with gcc package it says that it includes everything I need.

Cheers,
Wittfella

Posted by ^thehatsrule^ on Oct. 03 2006,14:27
Did you ./configure ? It should set up all the flags for you...

If it doesn't, you can still manually symlink cc to gcc in /usr/bin

Posted by Wittfella on Oct. 04 2006,11:14
Thanks for the help,  the symlink cc to gcc worked ok.

Now when I try to compile ndiswrapper-1.24 it brings up heaps of warnings and a few errors.  At the very top it says I should be using gcc-3.4.

No problem, off I go to synaptic.....but the latest gcc listed there is 3.3 something or other.

No problem, i'll just try to compile the linux wireless driver and maybe won't need ndiswrapper.....but I get about 637000 warnings/errors that I don't understand.

No problem, I'll just stick with the original ndiswrapper and try some other drivers.....but the original ndiswrapper got uninstalled when attempting to compile the newer one only a couple of minutes before.

No problem, just go to mydsl and grab it again.....but ndiswrapper is not listed in mydsl packages.

No problem, back to synaptic to get anything remotely resembling ndiswrapper.....but its not listed at all!

Aaaahhhhhh.....brain.....hurts.....resist.....urge.....smash.....laptop.....concrete..... :(

Posted by ^thehatsrule^ on Oct. 04 2006,15:02
1. Please try using a livecd/frugal installation when doing system things like this (that could be hazardous).
2. Why do you need the latest ndiswrapper?
3. Please give me your laptop before you smash it :p

Posted by Wittfella on Oct. 05 2006,03:02
Yeah I know your right about liveCD  :)  Its not that bad, it was a fresh install, so I can reinstall in about 10 minutes, just frustrated that everything I try borks in some way.

I got a wireless card that uses the RT61 chipset (Belkin PCI F5D7000 6000au).  After alot of googling it seams this card is giving everyone a lot of grief.  I thought I would just try the latest ndiswrapper to see if they fixed it.  Ironically RaLink actually has a native linux driver for it, but I can't compile it either...

The laptop is fine, DSL and wireless pcmia working great, I'm now trying to get an old desktop going, and using the laptop to download stuff etc., and transfer by usb key.  The laptop is just easier to throw  :p

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.