[SOLVED] Installing mtpfs 1.1.tar gz for Fedora 19
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
LFS for Linux From Scratch; you have installed missing dependency, but last ./configure failed, so no Makefile was generated, do ./configure again, until it success
LFS for Linux From Scratch; you have installed missing dependency, but last ./configure failed, so no Makefile was generated, do ./configure again, until it success
Oh, yeah, Linux From Scratch. I have spoken to a few members here that have had good success with LFS!
Trying ./configure again.....
Code:
checking pkg-config is at least version 0.9.0... yes
checking for FUSE... yes
checking for MTP... no
configure: error: Package requirements (libmtp >= 1.1.0) were not met:
No package 'libmtp' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables MTP_CFLAGS
and MTP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[redcat@localhost mtpfs-1.1]$
Install libmtp--
Code:
[redcat@localhost ~]$ su
Password:
[root@localhost redcat]# yum install libmtp
Loaded plugins: langpacks
Package libmtp-1.1.6-0.fc19.x86_64 already installed and latest version
Nothing to do
[root@localhost redcat]#
Try configure once more?
the configure script is likely looking for the SOURCE HEADERS for "libmtp"
that is provided by the -devel rpms in redhat/cent/fedora
you might want to use the SEARCH option when installing rpm's using yum
--- WARNING this is MY opensuse output ..so....
( replaced zypper with yum )
Code:
su -
yum search libmtp
S | Name | Summary | Type
--+--------------+----------------------------------------------------+-----------
| libmtp | Commandline utilities for access to MTP Players | srcpackage
i | libmtp-devel | Development files for access to MTP Player library | package
i | libmtp9 | Library for accessing MTP Players | package
---- then install it if you see it and it is NOT installed already
yum install libmtp-devel
the configure script is likely looking for the SOURCE HEADERS for "libmtp"
that is provided by the -devel rpms in redhat/cent/fedora
you might want to use the SEARCH option when installing rpm's using yum
--- WARNING this is MY opensuse output ..so....
( replaced zypper with yum )
Code:
su -
yum search libmtp
S | Name | Summary | Type
--+--------------+----------------------------------------------------+-----------
| libmtp | Commandline utilities for access to MTP Players | srcpackage
i | libmtp-devel | Development files for access to MTP Player library | package
i | libmtp9 | Library for accessing MTP Players | package
---- then install it if you see it and it is NOT installed already
yum install libmtp-devel
configure: error: Package requirements (glib-2.0 >= 2.6 gthread-2.0 >= 1.2 gio-2.0 >= 2.6) were not met:
No package 'glib-2.0' found
No package 'gthread-2.0' found
No package 'gio-2.0' found
Looks like 'glib', 'gthread' and 'gio'need installed too.
For the first time really learning this and understand it now I have to ask does this business of
re cursiveness come to and?
knudfl:, gengisdave:,and John VV: I'm greatful for the help you have given me; Thanks!
I will have to continue with these pkg's tomorrow. Have to work in the morning and it's late.
is looking like a few more -devel rpms need installing
configure is calling "package configure" and THAT program is looking in /ust/lib64/pkgconfig for the " *.pc " files
those are in the *-devel.rpm's
normally it is a good idea to read the two files ( if there ) called
README
INSTALL
/doc
or any pdf or text file or html file in a folder called "doc"
but
the configure script ( if there is one ) can figure out what is missing
i have been known to open a terminal AS ROOT and run yum or zypper
and in a second terminal run the ./configure script ( or ccmake or qmake)
then install what is missing from the "configure" errors yes bold
it is ALSO a VERY good idea to READ - READ the output of
" ./configure --help " FIRST !!!
one thing that WILL inform you as to the DEFAULT install location
most things will use the Debian default
/usr/local Fedora DOSE NOT USE THIS location !!!
it is NOT in the system $PATH
fedora uses /usr
or in a non standard location like
/usr/opt/???? ( this is where Libreoffice and KDE3 is installed )
on fedora ( any redhat based distro ) you will ALMOST ALWAYS need to use the "--prefix" option in configure
Code:
cd mtpfs-1.1
./configure --prefix=/usr
make
su
---- the root password
make install
now READING the output of the --help will help you SET the correct configure line
it is ALSO a VERY good idea to READ - READ the output of
" ./configure --help " FIRST !!!
Didn't know as this is my real first attempt with a tar.gz--
Quote:
fedora uses /usr
or in a non standard location like
/usr/opt/???? ( this is where Libreoffice and KDE3 is installed )
on fedora ( any redhat based distro ) you will ALMOST ALWAYS need to use the "--prefix" option in configure
Wasn't aware of that, Thank You!
I read the Install file. I need to read the Read Me file...so I will do that now before proceeding further until I understand.
Quote:
** Be aware all packages to be used at compile time must be <name>-devel ! !
To mount a device run:
mtpfs <mount_point>
To unmount do:
fusermount -u <mount_point>
Note that you may need to be root to do all this if permissions on the
MTP device are not correct
Debugging
---------
To enable debugging info use the --enable-debug option when running ./configure
Acknowledgements
----------------
This wouldn't be possible without libmtp, libusb and fuse.
Sections of code (in id3read.c and mp3file.c) blatently ripped from gnomad
What does sections of code (in id3read.c and mp3file.c) etc......mean?
configure: error: Package requirements (mad >= 0.15 id3tag >= 0.15) were not met:
No package 'mad' found
No package 'id3tag' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables MAD_CFLAGS
and MAD_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[redcat@localhost mtpfs-1.1]$ yum install mad-devel
Loaded plugins: langpacks
You need to be root to perform this command.
[redcat@localhost mtpfs-1.1]$ su
Password:
[root@localhost mtpfs-1.1]# yum install mad-devel
Loaded plugins: langpacks
No package mad-devel available.
Error: Nothing to do
[root@localhost mtpfs-1.1]# yum install id3tag-devel
Loaded plugins: langpacks
No package id3tag-devel available.
Error: Nothing to do
[root@localhost mtpfs-1.1]#
Code:
Package madplay-0.15.2b-9.fc19.x86_64 already installed and latest version
I thought that "devel" should follow directly after the pkg name.
What is wrong?
fedora is a great OS , but after hacking code to get it to build on fedora and the needed reinstall every 6 months
I never was able to get a GOOD inplace upgrade . and gcc tends to be SO new that a lot of source code tends to need to be hacked to build
that is FUN for a bit , but after awhile not so much .
you are using the CURRENT "libmtp-1.1.6.tar.gz" ??? right
and NOT the old 1.1 from 2011
from the README it states read the INSTALL file
from that there is this section
Code:
Dependencies
------------
To build libmtp you should only need development files for libusb.
(Often named libusb-devel or similar.) For working with CVS versions
you may need autoconf, automake, libtool, gettext(-devel).
To enable the optional MTPZ support using libgcrypt you need the
libgcrypt library installed as well.
this line
"you may need autoconf, automake, libtool, gettext(-devel)."
in fedora and redhat terms is the "development tools "
Code:
su -
yum groupinstall "Development Tools"
-----------------
---- now fedora did a bit of renaming of software groups so i am not 100% sure of the names anylonger
-----------------
so to find them do a search
Code:
su -
yum grouplist
also you might want to make sure that "libgcrypt" is installed
I have been operating from "mtpfs-1.1.tar gz-
I did download "libmtp-1.1.6.tar.gz" but have not extracted it.
I used Yum to install libmtp or so I thought. Again, this is my first real attempt with this and I am struggling at this point to understand but not giving up.
you may need autoconf, automake, libtool, gettext(-devel).
How will I know that?
Code:
[root@localhost redcat]# yum grouplist
Loaded plugins: langpacks
Available environment groups:
GNOME Desktop
KDE Plasma Workspaces
Xfce Desktop
LXDE Desktop
Cinnamon Desktop
MATE Desktop
Sugar Desktop Environment
Development and Creative Workstation
Web Server
Infrastructure Server
Basic Desktop
Minimal Install
Installed groups:
Development Tools
Available Groups:
3D Printing
Administration Tools
Authoring and Publishing
Books and Guides
C Development Tools and Libraries
Cloud Infrastructure
Design Suite
Editors
Educational Software
Electronic Lab
Engineering and Scientific
Fedora Eclipse
Games and Entertainment
LibreOffice
Medical Applications
Milkymist
Network Servers
Office/Productivity
RPM Development Tools
Robotics
Security Lab
Sound and Video
System Tools
Text-based Internet
Window Managers
Done
[root@localhost redcat]#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.