LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   unable to install mtpfs but it is saying mad is missing (https://www.linuxquestions.org/questions/linux-software-2/unable-to-install-mtpfs-but-it-is-saying-mad-is-missing-680137/)

schneidz 10-30-2008 07:21 PM

unable to install mtpfs but it is saying mad is missing
 
hi, i am running fc-9-live-cd

here is some system info
Code:

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008 i686 i686 i386 GNU/Linux

i am trying to install a package dependancy but it keeps telling me its not installed even though it is what am i doing wrong
Code:

[fedora@localhost libmad-0.15.1b]$ ./configure --prefix=/usr && make && sudo make install
[fedora@localhost libmad-0.15.1b]$ cd ../mtpfs-0.9
[fedora@localhost mtpfs-0.9]$ ./configure --prefix=/usr
...
checking for FUSE... configure: error: Package requirements (fuse >= 2.2                        glib-2.0 >= 2.6                        gthread-2.0 >= 1.2                        mad >= 0.15                        id3tag >= 0.15                        libmtp >= 0.0.9) were not met:

No package 'glib-2.0' found
No package 'gthread-2.0' found
No package 'mad' found
No package 'id3tag' found
...

fyi
Code:

$ ll /usr/lib/*mad*
-rw-r--r-- 1 root root 238404 2008-10-30 20:40 /usr/lib/libmad.a
-rwxr-xr-x 1 root root    791 2008-10-30 20:40 /usr/lib/libmad.la
lrwxrwxrwx 1 root root    15 2008-10-30 20:40 /usr/lib/libmad.so -> libmad.so.0.2.1
lrwxrwxrwx 1 root root    15 2008-10-30 20:40 /usr/lib/libmad.so.0 -> libmad.so.0.2.1
-rwxr-xr-x 1 root root 186333 2008-10-30 20:40 /usr/lib/libmad.so.0.2.1


schneidz 10-30-2008 11:20 PM

i finally figured out how to yum install those dependencies (but i still would like to know how to install manually).

the ./configure works, now it is failing on the make:
Code:

[fedora@localhost mtpfs-0.9]$ make
gcc -DPACKAGE_NAME=\"MTPfs\" -DPACKAGE_TARNAME=\"mtpfs\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"MTPfs\ 0.9\" -DPACKAGE_BUGREPORT=\"Chris\ Debenham\ \<chris@adebenham.com\>\" -DPACKAGE=\"mtpfs\" -DVERSION=\"0.9\" -DDEBUG=0 -I.  -DFUSE_USE_VERSION=22 -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/fuse -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -g -O2 -MT mtpfs-mtpfs.o -MD -MP -MF .deps/mtpfs-mtpfs.Tpo -c -o mtpfs-mtpfs.o `test -f 'mtpfs.c' || echo './'`mtpfs.c
mtpfs.c: In function ‘save_playlist’:
mtpfs.c:191: error: too few arguments to function ‘LIBMTP_Create_New_Playlist’
mtpfs.c: In function ‘mtpfs_release’:
mtpfs.c:464: error: ‘LIBMTP_track_t’ has no member named ‘storage_id’
mtpfs.c:502: error: too few arguments to function ‘LIBMTP_Send_Track_From_File_Descriptor’
mtpfs.c:516: error: too few arguments to function ‘LIBMTP_Send_File_From_File_Descriptor’
mtpfs.c: In function ‘mtpfs_mkdir_real’:
mtpfs.c:990: error: too many arguments to function ‘LIBMTP_Create_Folder’
make: *** [mtpfs-mtpfs.o] Error 1

what is the issue now ?
thanks for the help,

schneidz 11-04-2008 10:59 PM

this is what i did
Code:

sudo yum -y install libnjb libnjb-devel libid3tag libid3tag-devel glib-2.0 glib-2.0-devel gthread gthread-devel fuse fuse-libs fuse-devel gettext gcc gcc-c++ make libmad libmad-devel madplay
sudo yum remove libmtp

and then download and install the following:
glib-2.18.2
libmtp-0.3.3
mtpfs-0.9


All times are GMT -5. The time now is 03:04 PM.