OK, got all the dependencies taken care of, and the typos in the id3tag.pc file fixed. So now it'll configure, but won't compile - it appears to be missing a header file:
[rcs@yoda: ~/Downloads/mtpfs-read-only]$ make check
gcc -DPACKAGE_NAME=\"MTPfs\" -DPACKAGE_TARNAME=\"mtpfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"MTPfs\ 1.0\" -DPACKAGE_BUGREPORT=\"Chris\ Debenham\ \<
[email protected]\>\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mtpfs\" -DVERSION=\"1.0\" -DDEBUG=0 -I. -DFUSE_USE_VERSION=22 -D_FILE_OFFSET_BITS=64 -pthread -I/usr/local/include/fuse -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DUSEMAD -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
In file included from mtpfs.c:9:
./mtpfs.h:29:20: error: id3tag.h: No such file or directory
In file included from ./mtpfs.h:30,
from mtpfs.c:9:
./id3read.h:4: warning: ‘struct id3_tag’ declared inside parameter list
./id3read.h:4: warning: its scope is only this definition or declaration, which is probably not what you want
./id3read.h:5: warning: ‘struct id3_tag’ declared inside parameter list
./id3read.h:6: warning: ‘struct id3_tag’ declared inside parameter list
./id3read.h:7: warning: ‘struct id3_tag’ declared inside parameter list
./id3read.h:8: warning: ‘struct id3_tag’ declared inside parameter list
./id3read.h:9: warning: ‘struct id3_tag’ declared inside parameter list
./id3read.h:10: warning: ‘struct id3_tag’ declared inside parameter list
./id3read.h:11: warning: ‘struct id3_tag’ declared inside parameter list
mtpfs.c: In function ‘mtpfs_release’:
mtpfs.c:484: error: ‘ID3_FILE_MODE_READONLY’ undeclared (first use in this function)
mtpfs.c:484: error: (Each undeclared identifier is reported only once
mtpfs.c:484: error: for each function it appears in.)
mtpfs.c:485: warning: assignment makes pointer from integer without a cast
mtpfs.c:487: warning: passing argument 1 of ‘getArtist’ from incompatible pointer type
./id3read.h:4: note: expected ‘struct id3_tag *’ but argument is of type ‘struct id3_tag *’
mtpfs.c:488: warning: passing argument 1 of ‘getTitle’ from incompatible pointer type
./id3read.h:7: note: expected ‘struct id3_tag *’ but argument is of type ‘struct id3_tag *’
mtpfs.c:489: warning: passing argument 1 of ‘getAlbum’ from incompatible pointer type
./id3read.h:5: note: expected ‘struct id3_tag *’ but argument is of type ‘struct id3_tag *’
mtpfs.c:490: warning: passing argument 1 of ‘getGenre’ from incompatible pointer type
./id3read.h:8: note: expected ‘struct id3_tag *’ but argument is of type ‘struct id3_tag *’
mtpfs.c:491: warning: passing argument 1 of ‘getYear’ from incompatible pointer type
./id3read.h:6: note: expected ‘struct id3_tag *’ but argument is of type ‘struct id3_tag *’
mtpfs.c:499: warning: passing argument 1 of ‘getSonglen’ from incompatible pointer type
./id3read.h:9: note: expected ‘struct id3_tag *’ but argument is of type ‘struct id3_tag *’
mtpfs.c:507: warning: passing argument 1 of ‘getTracknum’ from incompatible pointer type
./id3read.h:10: note: expected ‘struct id3_tag *’ but argument is of type ‘struct id3_tag *’
make: *** [mtpfs-mtpfs.o] Error 1