Find the answer to your Linux question:
Results 1 to 4 of 4
I am constantly trying to install programs etc by following directions that say unzip and go to the dir and type make to install. This has never worked for me. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    25

    using the "make" command


    I am constantly trying to install programs etc by following directions that say unzip and go to the dir and type make to install. This has never worked for me.

    Here is the current message I am getting when trying it with hostap-driver-0.1.3

    deepseed@deepseed-laptop:/tools/wifi/hostap-driver-0.1.3$ sudo make
    Makefile:20: /usr/src/linux/.config: No such file or directory
    Makefile:38: WARNING: No kernel PCMCIA support found and PCMCIA_PATH is not defined
    Makefile:45: WARNING: Linux wireless extensions, CONFIG_NET_RADIO, not enabled in the kernel
    make: *** No rule to make target `/usr/src/linux/.config'. Stop.

  2. #2
    Just Joined!
    Join Date
    Nov 2006
    Posts
    58
    I'm a bit of a newb here too, but the first suggestion is Apt-Get, Adept, Synaptic, or Aptitude. These are built in software managers. They can basically do all the hard work for you. I stick with aptitude as it makes sure to check dependencies and such for you. I would use synaptic or adept to see if the package is available and what it is called. Then open up a command line and type the following:

    Code:
    sudo aptitude update
    
    sudo aptitude install (name of file here)
    If that doesn't work I'm sure someone else here will give you some better instructions, but I believe you need to do the following first:

    Code:
    cd /home/directory needed
    
    ./configure
    
    make
    
    make install
    Hope this helps!!

  3. #3
    Just Joined!
    Join Date
    Dec 2006
    Posts
    62
    Ditto!

    >./configure

    >make

    >make test (optional, for giggles!)

    >make install

    Don't forget to be root.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User cayalee's Avatar
    Join Date
    Sep 2004
    Location
    england
    Posts
    389
    ok, looks like your trying to install a wlan pcmcia card right?
    think you'd be better off installing ndiswrapper (via automatix or sourceforge)
    and doing it that way.
    as an aside, you need to install the package "build-essential"
    (sudo apt-get install build-essential) in order to be able to compile.
    You know, aliens are going to come to earth in 50 years and kill the hell out of us for DDoSing their networks with this SETI crap
    registered linux user #388463

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •