Menu

problem installing cdstatus on RH7.3

Help
2003-01-12
2003-01-14
  • Mertens Bram

    Mertens Bram - 2003-01-12

    Hi,

    I untarred the archive to /usr/src/cdstatus/ and I got the following error when running make (as normal user):
    [M8ram@localhost cdstatus]$ make
    gcc -O2 -o cdstatus cdstatus.c
    /usr/bin/ld: cannot open output file cdstatus: Permission denied
    collect2: ld returned 1 exit status
    make: *** [all] Error 1

    TIA

     
    • Nathanael Hoyle

      Nathanael Hoyle - 2003-01-12

      My guess would be that you may not as a normal user have permission to write into /usr/src/.

      I'd recommend that you extract the tarball into a subdirectory of your own home directory (i.e. /home/m8ram/cdstatus) and run make as m8ram in that directory.  Then su to root, and go back into /home/m8ram/cdstatus and issue

      # make install

      and that should work.  If it doesn't, please let me know, I may have screwed up file permissions for the release.

      -Nathanael Hoyle

       
      • Mertens Bram

        Mertens Bram - 2003-01-14

        Hi,

        After changing the owner and group af the directory and all files everything ran fine!

        I extracted the tar-file as root to /usr/src and the owner and group of all files were set to 919:504...

        Thanks

         

Log in to post a comment.

MongoDB Logo MongoDB