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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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