linux version -cant create temporary directory
Archives Forums/Linux Discussion/linux version -cant create temporary directory
| ||
When I press ctrl-D in Ubuntu it says 'unable to create temporary directory' Also, when I go into the bin directory with the terminal and type-in sudo bmk makemods it says 'command not found' I tried just typing in sudo bmk but it still says 'command not found' EDIT- hmm for some reason you have to go to the blitzmax directory and do sudo bin/bmk makemods dont know why but it works |
| ||
How did you install BlitzMax? If you unzip the .tar.gz into your home directory, then you shouldn't need to be a super user to do anything. |
| ||
i installed it into home/keith/desktop/blitzmax Do you know the flags for makemods? e.g. which one only compiles stuff that needs to be compiled |
| ||
Okay... *WHO* did you install it as? If you need to use "sudo" to get anything to work, you didn't install it as yourself? You *should* be able to do : bin/bmk makemods without 'sudo'. The above command will compile only stuff that needs to be compiled. The first time you run it, everything needs to be compiled. I'd like to point you to the documentation for bmk, but it's not very good. However, check out the Help in the IDE for some basic usage. |
| ||
i just copied the tar file from my USB stick to the desktop and then double-clicked it to unpack I am signed in as the owner |
| ||
If you want to run "bmk" from anywhere, you'll need to add /home/keith/desktop/blitzmax/bin to your PATH - just as you would in Windows. is user 'keith' the 'owner' ? - if they are not the same user, then you may have rights issues. Otherwise, things should work as expected. |
| ||
yes, maybe I will move the directory to 'home' and see what happens |
| ||
or you can chown it. or create a blitzmax group |
| ||
or you can chown it. or create a blitzmax group How do you do that then? |
| ||
chown -R user:group /path/to/file/or/folder where user and group are the names you want to change to (both are optional). The '-R' param will recursively apply the rights change to sub-files and folders. You may need to run it with sudo. Creating a blitzmax group, you'd of course need to add your user account to it, and "chown" the folders to that group too. If you want to do group change only, leave out the "user" part - ":group" |