Find the answer to your Linux question:
Results 1 to 6 of 6
Hi Im trying to install Universal PCI Powered RS-232 Communication Board drivers on Fedora 15. I succeeded with the following commands # cp snx_Vx.x.x.x.tar.gz /temp # cd /temp # tar ...
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    39

    Make clean;make install gives errors

    Hi
    Im trying to install Universal PCI
    Powered RS-232
    Communication Board drivers on
    Fedora 15.

    I succeeded with the following commands

    # cp snx_Vx.x.x.x.tar.gz /temp
    # cd /temp
    # tar xvfz snx_Vx.x.x.x.tar.gz
    # cd /temp/snx
    # make clean ; make install

    Im in the root account yes. When I make clean;
    make install

    It gives me errors such as:

    make/; -C /lib/modules/2.6.38.6-26/build SubDiRS=/temp/snx/drier modules
    make: entering an unknown directory
    make ****[driver_install] Error 2

    Thanks for any help

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    955
    You're doing things in the wrong order. First you have to run the configure script:
    Code:
    ./configure
    This creates all the files that make will use.
    Then :
    Code:
    make
    . This carries out the actual build.
    Finally, become root and type:
    Code:
    make install
    .
    make clean is used to get rid of compiled files if something has gone wrong, so that you can run make again without interference from your previous run. So obviously you can't use "make install" directly after "make clean" because there's nothing to install; if there was anything, you've got rid of it.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  3. #3
    Just Joined!
    Join Date
    Aug 2011
    Posts
    39
    thanks will try that and get back, well wanted to know if there is anyhow i cant perfom the drivers install with add/remove program. is there anything feature like that in Fedora?

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    As Hazel said. In addition, you should build the module as a regular user (not root), but you need to be root to run "make install", which you can do with sudo as the regular user, provided that user has the appropriate sudo privileges.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Aug 2011
    Posts
    39
    Im logged in as root, i managed to create a folder and stored my zip file in there.

    I extracted the zip file and now i need to install the drivers.

    in the same folder I ran the command

    ./configure

    and it displays this:

    bash: ./configure: No such file or directory

  6. #6
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    955
    Quote Originally Posted by ndaka123488 View Post
    Im logged in as root, i managed to create a folder and stored my zip file in there.

    I extracted the zip file and now i need to install the drivers.

    in the same folder I ran the command

    ./configure

    and it displays this:

    bash: ./configure: No such file or directory
    OK. 99% of programs install with ./configure, make & make install - but a few do not. Somewhere in the directory you unpacked, you will find a file called README and perhaps a separate one called INSTALL. Read these files carefully. They should tell you exactly what commands you need to use and in what order.

    You asked above if there was a Linux equivalent of add/remove programs. Yes, there is: it's called a package manager. The RedHat/Fedora one is called yum. You can use this to install and remove aplications, but proprietary hardware drivers usually have to be installed by hand.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

Posting Permissions

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