mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: June 06 2005,14:52 |
|
Not sure why you were not allowed to create a directory in /opt, but you shouldn't need to do that step anyway....usually the installation process creates that directory automatically. If you need root access in Knoppix, this will be done during install...you should su to root for the 'make install' command. Does your source package contain a 'configure' script? If so you can specify a target directory with "configure --prefix=/a/path". I'm guessing configure wasn't included, though, since you mentioned only 'make'.
Using a /mnt/something for installation probably isn't a good idea, since the compiled program will likely be looking there...if you move your program it might end up with missing files. If you don't have the space in /opt, you can create a symlink in /opt to /mnt/something. Again, I'm not sure why you were not able to create a directory in /opt, but it may just be that you need root power.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|