![]() |
basic configure-make-make install question
When you download an application, where do you put the tarball, and where do you extract it to?
Does configure-make-make install move it to the appropriate directory, or do you have to know where to put it? Having installed the application, how do you know where in the directory structure you have to be to execute the application? Links to tutorials or how-to's would be appreciated. Example: I typically download everything from the web to /home/paul/Downloads. I then extracted mplayer from the tarball and by default(?) it was extracted further down the /home/paul/Downloads/ tree: /home/paul/Downloads/MPlayer-1.0rc1/MPlayer-1.0rc1/ after running configure-make-make install in this directory, I can get mplayer to work from the command line but only when I cd into this directory. I would like to be able to use it from the KDE menu. I'm not sure if the problem is that it was extracted incorrectly or if I did configure-make-make install incorrectly, or both. Slackware 10.2 |
By default make install usually installs applications in /usr/local. You can change the prefix by running ./configure with the option --prefix=/some/place
./configure --prefix=/usr is a good choice because then the executable will be put in /usr/bin and should be in your $PATH, /usr/local/bin may not be in your path. Find what else you can tweak about the build by running ./configure --help |
Quote:
Quote:
Quote:
Quote:
|
Quote:
Quote:
I always use Code:
./ configure --prefix=/usrQuote:
|
I dont think you will have gmplayer installed as during build you have to do --enable-gui. See the mplayer install notes.
Putting mplayer in KDE menu is pretty useless until you have gmplayer, cos mplayer needs the file as argument. In KDE, when you want to open a movie file right click and say open with... , put in mplayer and tick "Remember". The KDE menu can be edited by the Configure menu command in the "settings" submenu of KDE start menu. |
| All times are GMT -5. The time now is 04:05 PM. |