Find the answer to your Linux question:
Results 1 to 2 of 2
i followed the instructions shown below working from my home directory. when i run lshw, it says command not found. what can i do to find/create this program? ezix.org/project/wiki/HardwareLiSter#Installation Installation¶ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    14

    suse. ran make. cannot find app.


    i followed the instructions shown below working from my home directory. when i run lshw, it says command not found. what can i do to find/create this program?


    ezix.org/project/wiki/HardwareLiSter#Installation

    Installation¶
    •unpack the source code:
    tar xvfz lshw-release.tar.gz

    •compile it:

    cd lshw-release
    make


    edit -
    running make again shows the output below. also i see a file named lshw, but i receive command not found when trying to run it

    -rwxrw-rw- 1 root root 3337600 2010-10-14 09:13 lshw




    user@linux02:~/lshw-B.02.15> cat make.txt
    make -C src all
    make[1]: Entering directory `/home/user/lshw-B.02.15/src'
    make -C core all
    make[2]: Entering directory `/home/user/lshw-B.02.15/src/core'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/user/lshw-B.02.15/src/core'
    g++ -L./core/ -g -Wl,--as-needed -o lshw lshw.o -llshw -lresolv
    make[1]: Leaving directory `/home/user/lshw-B.02.15/src'
    Last edited by techstress; 10-14-2010 at 01:11 PM.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,677
    You probably need to run "make install" to install it to the system directories. Also, you probably need to either be root or run with sudo to install it.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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