I[AM]SMRT
August 20th, 2008, 06:43 PM
I'm trying to install Gnomad2 for my Creative Zen X-Fi. I got the latest source, untarred and ./configure but when I try to "make", I get some errors:
brian@brian-laptop:~/Desktop/gnomad2-2.9.2$ sudo make
Making all in src
make[1]: Entering directory `/home/brian/Desktop/gnomad2-2.9.2/src'
gcc -DPACKAGE_NAME=\"gnomad2\" -DPACKAGE_TARNAME=\"gnomad2\" -DPACKAGE_VERSION=\"2.9.2\" -DPACKAGE_STRING=\"gnomad2\ 2.9.2\" -DPACKAGE_BUGREPORT=\"http://sourceforge.net/tracker/\?func=add\&group_id=65573\&atid=511470\" -DPACKAGE=\"gnomad2\" -DVERSION=\"2.9.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBMTP=1 -DHAVE_DBUSGLIB=1 -DGETTEXT_PACKAGE=\"gnomad2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DGNOMADLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_CHDIR=1 -I. -pthread -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPREFIX=\"/usr/local\" -DSYSCONFDIR=\"/usr/local/etc\" -DDATADIR=\"/usr/local/share\" -DLIBDIR=\"/usr/local/lib\" -DPIXMAPSDIR=\""/usr/local/share/pixmaps"\" -g -O2 -MT jukebox.o -MD -MP -MF .deps/jukebox.Tpo -c -o jukebox.o jukebox.c
jukebox.c: In function ‘hd2jb_thread’:
jukebox.c:2183: error: ‘LIBMTP_track_t’ has no member named ‘storage_id’
jukebox.c:2187: error: too few arguments to function ‘LIBMTP_Send_Track_From_File’
jukebox.c: In function ‘hd2jb_data_thread’:
jukebox.c:2354: error: too few arguments to function ‘LIBMTP_Send_File_From_File’
jukebox.c: In function ‘jukebox_create_playlist’:
jukebox.c:2752: error: ‘LIBMTP_playlist_t’ has no member named ‘parent_id’
jukebox.c:2753: error: ‘LIBMTP_playlist_t’ has no member named ‘storage_id’
jukebox.c:2755: error: too few arguments to function ‘LIBMTP_Create_New_Playlist’
jukebox.c: In function ‘jukebox_create_folder’:
jukebox.c:3617: error: too many arguments to function ‘LIBMTP_Create_Folder’
make[1]: *** [jukebox.o] Error 1
make[1]: Leaving directory `/home/brian/Desktop/gnomad2-2.9.2/src'
make: *** [all-recursive] Error 1
Is there anything I'm doing wrong?
Maybe it's because there's something wrong with my libnjb install?
Making all in doc
make[2]: Entering directory `/home/brian/Desktop/libnjb-2.2.6/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/brian/Desktop/libnjb-2.2.6/doc'
make[2]: Entering directory `/home/brian/Desktop/libnjb-2.2.6'
make[2]: Leaving directory `/home/brian/Desktop/libnjb-2.2.6'
make[1]: Leaving directory `/home/brian/Desktop/libnjb-2.2.6'
Making install in src
make[1]: Entering directory `/home/brian/Desktop/libnjb-2.2.6/src'
make[2]: Entering directory `/home/brian/Desktop/libnjb-2.2.6/src'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libnjb.la' '/usr/local/lib/libnjb.la'
/usr/bin/install -c .libs/libnjb.so.5.1.0 /usr/local/lib/libnjb.so.5.1.0
/usr/bin/install: cannot remove `/usr/local/lib/libnjb.so.5.1.0': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/brian/Desktop/libnjb-2.2.6/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/brian/Desktop/libnjb-2.2.6/src'
make: *** [install-recursive] Error 1
brian@brian-laptop:~/Desktop/gnomad2-2.9.2$ sudo make
Making all in src
make[1]: Entering directory `/home/brian/Desktop/gnomad2-2.9.2/src'
gcc -DPACKAGE_NAME=\"gnomad2\" -DPACKAGE_TARNAME=\"gnomad2\" -DPACKAGE_VERSION=\"2.9.2\" -DPACKAGE_STRING=\"gnomad2\ 2.9.2\" -DPACKAGE_BUGREPORT=\"http://sourceforge.net/tracker/\?func=add\&group_id=65573\&atid=511470\" -DPACKAGE=\"gnomad2\" -DVERSION=\"2.9.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBMTP=1 -DHAVE_DBUSGLIB=1 -DGETTEXT_PACKAGE=\"gnomad2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DGNOMADLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_CHDIR=1 -I. -pthread -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPREFIX=\"/usr/local\" -DSYSCONFDIR=\"/usr/local/etc\" -DDATADIR=\"/usr/local/share\" -DLIBDIR=\"/usr/local/lib\" -DPIXMAPSDIR=\""/usr/local/share/pixmaps"\" -g -O2 -MT jukebox.o -MD -MP -MF .deps/jukebox.Tpo -c -o jukebox.o jukebox.c
jukebox.c: In function ‘hd2jb_thread’:
jukebox.c:2183: error: ‘LIBMTP_track_t’ has no member named ‘storage_id’
jukebox.c:2187: error: too few arguments to function ‘LIBMTP_Send_Track_From_File’
jukebox.c: In function ‘hd2jb_data_thread’:
jukebox.c:2354: error: too few arguments to function ‘LIBMTP_Send_File_From_File’
jukebox.c: In function ‘jukebox_create_playlist’:
jukebox.c:2752: error: ‘LIBMTP_playlist_t’ has no member named ‘parent_id’
jukebox.c:2753: error: ‘LIBMTP_playlist_t’ has no member named ‘storage_id’
jukebox.c:2755: error: too few arguments to function ‘LIBMTP_Create_New_Playlist’
jukebox.c: In function ‘jukebox_create_folder’:
jukebox.c:3617: error: too many arguments to function ‘LIBMTP_Create_Folder’
make[1]: *** [jukebox.o] Error 1
make[1]: Leaving directory `/home/brian/Desktop/gnomad2-2.9.2/src'
make: *** [all-recursive] Error 1
Is there anything I'm doing wrong?
Maybe it's because there's something wrong with my libnjb install?
Making all in doc
make[2]: Entering directory `/home/brian/Desktop/libnjb-2.2.6/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/brian/Desktop/libnjb-2.2.6/doc'
make[2]: Entering directory `/home/brian/Desktop/libnjb-2.2.6'
make[2]: Leaving directory `/home/brian/Desktop/libnjb-2.2.6'
make[1]: Leaving directory `/home/brian/Desktop/libnjb-2.2.6'
Making install in src
make[1]: Entering directory `/home/brian/Desktop/libnjb-2.2.6/src'
make[2]: Entering directory `/home/brian/Desktop/libnjb-2.2.6/src'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libnjb.la' '/usr/local/lib/libnjb.la'
/usr/bin/install -c .libs/libnjb.so.5.1.0 /usr/local/lib/libnjb.so.5.1.0
/usr/bin/install: cannot remove `/usr/local/lib/libnjb.so.5.1.0': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/brian/Desktop/libnjb-2.2.6/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/brian/Desktop/libnjb-2.2.6/src'
make: *** [install-recursive] Error 1