I can't answer all your questions well, but I will try.
I believe Error 2 is a file not found error. Make is trying to find a file that isn't in the place it expects. Presumably you have the wrong path for $KDEDIR, $KDEDIR does not exist, or there is a typo in the path. Try running echo $KDEDIR
to see what it returns.
As a sidenote, anything in all caps preceeded by a dollar sign is an environment variable setting. You can use the echo
command to display just the single variable, or use env
to show what variables are set in your environment.
1. To 'read' files from the terminal window, there are a few options. The first would be cat
If the output is more than a screen, it will keep scrolling. You can use the more
command to display output one page at a time. Example:
cat filename | more
The second command would be the more
command alone if you anticipate the output is longer than a page. Example:
A third command would be the editor vi
(short for vi
ew). With this very powerful editor you can move around within the document and search for specific words or phrases as well. Example:
If you get trapped in a vi session, hit the escape key, followed by the colon key followed by the letter q followed by the exclamation point (!) and hit enter. This will exit the vi session
I am sure there are other ways to read files, but these are the most common. For more specific detail, run the following commands:
2. *nix does not suffer from the same problems that plague windows executable files, meaning a file doesn't have to have a .com, .exe, or .bat extension to run. Any file on a *nix (this includes unix and linux) can be marked as executable. This means you can run it by just typing the filename at the command line, assuming it has executable permissions.
Here is a link to some info regarding file permissions. There is too much detail for me to go into to explain it.
You use the chmod
command to change file permissions, so do a man chmod
to get more info on that.
Hope this helps.