Quote:
just use "sudo make install", or do "make install" as root ADD: as you see, program is installed in /usr/local/bin instead of /usr/bin, this is a default for every program you build manually, to change it, add "--prefix=/usr" to the ./configure, as "./configure --prefix=/usr" (as said by JohnVV) |
If I understand you gengisdave; I need to type this at the prompt?
Code:
root@redlocalhost~]$./configure --prefix=/usr/bin |
"prefix" is a parameter for configure, it tells to the script that will generate the makefiles where we want the files go, saying --prefix=/usr, the makefile will be generated so binaries will go in /usr/bin, include in /usr/include, libraries in /usr/lib(64) etc
|
Quote:
Code:
[redcat@localhost mtpfs-1.1]$ ./configure --prefix=/usr/bin |
Quote:
/usr NOT /usr/bin the root "tree" for user space is /usr if you were to use /usr/bin it would install into the wrong folders /usr/bin/bin /usr/bin/lib64 /usr/bin/include /usr/bin/share -- one too many "bin" folders almost all fedora programs install to /usr that is the default location for fedora now you CAN use a secondary location BUT that brings with it some complications -- for now you really do not want to have to deal with those so use --prefix=/usr and things will install just fine |
Still not right is it?
Code:
[redcat@localhost mtpfs-1.1]$ ./configure --prefix=/usr Quote:
|
although "make install" can sometimes be used as a shortcut
it is not a good idea "make" should be ran as a NORMAL user as root clean the build folder there a few ways start over with a clean extract of the tarball or run "AS ROOT for this seeing as you ran "make" as root last time Code:
su as a normal non root user Code:
./configure --prefix=/usr |
Code:
[root@localhost mtpfs-1.1]# make distclean 1) ./configure --prefix=/usr 2)make 3)su 4)make install Code:
[redcat@localhost mtpfs-1.1]$ ./configure --prefix=/usr |
Still looking as I have only been able to find mtpfs for FC 18-
http://rpm.pbone.net/index.php3?stat...tpfs&srodzaj=3 It's probably a bad idea to download the mtpfs tarball for FC 18 and extract it for FC 19? Right? |
your last chain was perfect, it's a small packages, it has no libraries, just the binary
|
Quote:
|
yes, it only install the binary mtpfs in /usr/bin, as told by your configure parameters;
the string "nothing to be done..." is normal during make, as makefile contain a sequence of command to build the package and some of them exist, but have no relevant command, like pressing enter in a shell without entering a command, it does nothing but you have pressed enter |
Thank you for explaining that it's normal during make.
I thought something was wrong. Is there any other steps I need to proceed with? |
no, just use it (and i'm interested too), just a thing more, if you want to delete it, just do a "make uninstall", you can delete the source folder, and in the future just do "./configure --prefix=/usr" and "make uninstall", remember the prefix you used or the makefile won't find anything
EDIT: the end of the world, my phone as a usbdrive :) |
It's installed and that's good.
http://s1052.photobucket.com/user/Ul...mtpfs.png.html BTW I also installed 'simple-mtpfs' as Jeremy advised me. I'm very sorry to say that installing 'mtpfs' & 'simple-mtpfs' has made no difference or at least; so far it hasn't. You guys are the best! Thank you allfor teaching me this compilation process!;) |
All times are GMT -5. The time now is 04:16 AM. |