ipod nano 5g

My wife gave me an ipod nano 5g forChristmas.
When I plug it in a message pops up asking to initialize it. When I click yse it comes up with a lis of ipods, but the 5th generation isn’t listed. If I try clicking on the 4g nano I get an error mesage. Amarok will then see the ipod, but says there are no songs on it.
I have installed gtkpod, but it looks like it has the same problem as amarok.
My system is Opensuse 11.2
KDE 4.3
gtkpod message

Could not find iPod directory structure at '/media/SARGE'S IPO'.

If you are sure that the iPod is properly mounted at '/media/SARGE'S IPO', it may not be initialized for use. In this case, gtkpod can initialize it for you.

Do you want to create the directory structure now

Sorry f a lack of info. I have to leave for work now

What is the version of your libgpod and gtkpod?

gtkpod 0.99.14
using libgpod 0.7.2

Are you willing to install a nightly build of libgpod and gtkpod from source?

I’d have a go at it. Is there instructions around or a how to?
I don’t think I have installed anything from source before.
What problems am I likely to encounter?

I am writing up a fairly easy how-to for you. Give me a few more minutes and it will be finished and ready for posting.

Before starting uninstall gtkpod and libgpod

  1. Open yast and go to software management. From there choose view and patterns. Then scroll down on the left-hand side and mark base development for installation then accept the changes.

  2. Open a konsole, su to root, and run

zypper in git autoconf flex gettext glib2-devel gtk2-devel libglade2-devel libid3tag0-devel perl-XML-Parser pkg-config automake gcc git-core gtk-doc libcurl4 libFLAC8 hal-devel libvorbis-devel libmp4v2-devel
git clone git://gtkpod.git.sourceforge.net/gitroot/gtkpod/libgpod
git clone git://gtkpod.git.sourceforge.net/gitroot/gtkpod/gtkpod

cd libgpod
./autogen.sh
make
make install
cd ../gtkpod
  1. repeat 5 - 7

lsusb -v | grep -i Serial

This ought to print out among other things, a 16 character hex key. Make note of it as you are going to need it later.

  1. Now open /iPod_Control/Device/SysInfo with kwrite

  2. Append to it

FirewireGuid: 0x(16 character string you found earlier)
  1. Go here and enter that string again. It will give you a file called HashInfo save it in <root of ipod>/iPod_Control/Device/

Now gtkpod ought to work along with any other programs that use libgpod (Armarok, Banshee, etc.)

Thanks mate. I’ll give it a try now.
Should I have the iPod plugged in or unplugged?

You’re welcome. It doesn’t have to be until step 10.

If it stalls during compilation then you need to follow these steps

  1. Open konsole and su to root

cd libgpod
make clean
zypper in libsqlite3-0 sqlite3-devel

now the compilation should work

All has worked until I get to the make command.
I get this message.

make: *** No targets specified and no makefile found.  Stop.

Am I missing something.

I think I am missing something. I found this.

sarge@linux-sarge:~/libgpod> ./autogen.sh
checking for autoconf >= 2.53...         
  testing autoconf2.50... not found.     
  testing autoconf... found 2.63         
checking for automake >= 1.7...          
  testing automake-1.11... found 1.11    
checking for libtool >= 1.4.3...         
  testing libtoolize... found 2.2.6      
checking for glib-gettext >= 2.2.0...    
  testing glib-gettextize... found 2.22.1
checking for intltool >= 0.25...         
  testing intltoolize... found 0.40.6    
checking for pkg-config >= 0.14.0...     
  testing pkg-config... found 0.23       
checking for gtk-doc >= 1.0...           
  testing gtkdocize... found 1.11        
Checking for required M4 macros...       
Checking for forbidden M4 macros...      
Processing ./configure.ac                
Running libtoolize...                    
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'     
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'                
libtoolize: copying file `m4/ltoptions.m4'              
libtoolize: copying file `m4/ltsugar.m4'                
libtoolize: copying file `m4/ltversion.m4'              
libtoolize: copying file `m4/lt~obsolete.m4'            
Running glib-gettextize... Ignore non-fatal messages.   
Copying file mkinstalldirs                              
Copying file po/Makefile.in.in                          

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4                                                        
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.                                  
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.                                    

Running intltoolize...
Running gtkdocize...  
Running aclocal-1.11...
Running autoconf...    
Running autoheader...  
Running automake-1.11...
configure.ac:45: installing `./compile'
configure.ac:52: installing `./config.guess'
configure.ac:52: installing `./config.sub'  
configure.ac:36: installing `./install-sh'  
configure.ac:36: installing `./missing'     
bindings/python/Makefile.am: installing `./depcomp'
bindings/python/Makefile.am:39: installing `./py-compile'
Running ./configure --enable-maintainer-mode --enable-gtk-doc ...
checking for a BSD-compatible install... /usr/bin/install -c     
checking whether build environment is sane... yes                
checking for a thread-safe mkdir -p... /bin/mkdir -p             
checking for gawk... gawk                                        
checking whether make sets $(MAKE)... yes                        
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU                          
checking for gcc... gcc                                                    
checking for C compiler default output file name... a.out                  
checking whether the C compiler works... yes                               
checking whether we are cross compiling... no                              
checking for suffix of executables...                                      
checking for suffix of object files... o                                   
checking whether we are using the GNU C compiler... yes                    
checking whether gcc accepts -g... yes                                     
checking for gcc option to accept ISO C89... none needed                   
checking dependency style of gcc... gcc3                                   
checking how to run the C preprocessor... gcc -E                           
checking for grep that handles long lines and -e... /usr/bin/grep          
checking for egrep... /usr/bin/grep -E                                     
checking for ANSI C header files... yes                                    
checking for sys/types.h... yes                                            
checking for sys/stat.h... yes                                             
checking for stdlib.h... yes                                               
checking for string.h... yes                                               
checking for memory.h... yes                                               
checking for strings.h... yes                                              
checking for inttypes.h... yes                                             
checking for stdint.h... yes                                               
checking for unistd.h... yes                                               
checking minix/config.h usability... no                                    
checking minix/config.h presence... no                                     
checking for minix/config.h... no                                          
checking whether it is safe to define __EXTENSIONS__... yes                
checking for gcc... (cached) gcc                                           
checking whether we are using the GNU C compiler... (cached) yes           
checking whether gcc accepts -g... (cached) yes                            
checking for gcc option to accept ISO C89... (cached) none needed          
checking dependency style of gcc... (cached) gcc3                          
checking whether gcc and cc understand -c and -o together... yes           
checking for g++... g++                                                    
checking whether we are using the GNU C++ compiler... yes                  
checking whether g++ accepts -g... yes                                     
checking dependency style of g++... gcc3                                   
checking build system type... x86_64-suse-linux-gnu                        
checking host system type... x86_64-suse-linux-gnu                         
checking for a sed that does not truncate output... /usr/bin/sed           
checking for fgrep... /usr/bin/grep -F                                     
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld               
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes    
checking for ANSI C header files... (cached) yes                           
checking for a BSD-compatible install... /usr/bin/install -c               
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B      
checking the name lister (/usr/bin/nm -B) interface... BSD nm              
checking whether ln -s works... yes                                        
checking the maximum length of command line arguments... 1572864           
checking whether the shell understands some XSI constructs... yes          
checking whether the shell understands "+="... yes                         
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump                                               
checking how to recognize dependent libraries... pass_all                     
checking for ar... ar                                                         
checking for strip... strip                                                   
checking for ranlib... ranlib                                                 
checking command to parse /usr/bin/nm -B output from gcc object... ok         
checking for dlfcn.h... yes                                                   
checking whether we are using the GNU C++ compiler... (cached) yes            
checking whether g++ accepts -g... (cached) yes                               
checking dependency style of g++... (cached) gcc3                             
checking how to run the C++ preprocessor... g++ -E                            
checking for objdir... .libs                                                  
checking if gcc supports -fno-rtti -fno-exceptions... no                      
checking for gcc option to produce PIC... -fPIC -DPIC                         
checking if gcc PIC flag -fPIC -DPIC works... yes                             
checking if gcc static flag -static works... yes                              
checking if gcc supports -c -o file.o... yes                                  
checking if gcc supports -c -o file.o... (cached) yes                         
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no                                                     
checking dynamic linker characteristics... GNU/Linux ld.so                                                    
checking how to hardcode library paths into programs... immediate                                             
checking whether stripping libraries is possible... yes                                                       
checking if libtool supports shared libraries... yes                                                          
checking whether to build shared libraries... yes                                                             
checking whether to build static libraries... yes                                                             
checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64                                    
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes                         
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC                                                         
checking if g++ PIC flag -fPIC -DPIC works... yes                                                             
checking if g++ static flag -static works... yes                                                              
checking if g++ supports -c -o file.o... yes                                                                  
checking if g++ supports -c -o file.o... (cached) yes                                                         
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so                                                    
checking how to hardcode library paths into programs... immediate                                             
checking whether ln -s works... yes                                                                           
checking whether make sets $(MAKE)... (cached) yes                                                            
checking whether NLS is requested... yes                                                                      
checking for intltool &gt;= 0.21... 0.40.6 found                                                                 
checking for intltool-update... /usr/bin/intltool-update                                                      
checking for intltool-merge... /usr/bin/intltool-merge                                                        
checking for intltool-extract... /usr/bin/intltool-extract                                                    
checking for xgettext... /usr/bin/xgettext                                                                    
checking for msgmerge... /usr/bin/msgmerge                                                                    
checking for msgfmt... /usr/bin/msgfmt                                                                        
checking for gmsgfmt... /usr/bin/msgfmt                                                                       
checking for perl... /usr/bin/perl                                                                            
checking for perl &gt;= 5.8.1... 5.10.0                                                                          
checking for XML::Parser... ok                                                                                
checking for localtime_r... yes                                                                               
checking for struct tm.tm_gmtoff... yes                                                                       
checking for pkg-config... /usr/bin/pkg-config                                                                
checking pkg-config is at least version 0.9.0... yes
checking for LIBGPOD... configure: error: Package requirements (glib-2.0 &gt;= 2.8.0 gobject-2.0 sqlite3 libplist) were not met:

No package 'sqlite3' found
No package 'libplist' 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 LIBGPOD_CFLAGS
and LIBGPOD_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

It is asking me to add files to my “autoconf macro directory
or directly to your aclocal.m4 file”
How would I do this?
Thanks

First open a konsole and su to root then while in your home directory run

rm -rf libgpod

make sure that you are in your home driectory for this because this command is supposed to delete the libgpod source code that you downloaded but might delete something else if in the wrong directory.

Then run (not as root)

git clone git://gtkpod.git.sourceforge.net/gitroot/gtkpod/libgpod

again.

Now download this and extract it. This file came from this post on the Ubuntu forums. Take the two files inside and put them libgpod/src if it asks you whether or not you want to overwrite existing files say yes.

now run

ls /usr/share/aclocal

and post the results

Here is a better fix.

http://gitorious.org/libgpod/teuf-sandbox/archive-tarball/nano5g
Will will require no patching.

Just download the tarball and extract it.

then run

./configure
make
make install

Afterwards install gtkpod as I had posted before.
Although you may need to copy the contents of /usr/share/aclocal to libgpod/m4

A better fix

http://gitorious.org/libgpod/teuf-sandbox/archive-tarball/nano5g
This source will require no patching. Just instead of downloading the regular nighly with git download this extract it and you will be able to compile it the same way. For the aclocal problem just copy everything from /usr/share/aclocal to libgpod-teuf-sandbox/m4. Ignore the previous post the link is also broken above.

I have downloaded the above file, copied the files across, but still get the same message when attempting “make”

make: *** No targets specified and no makefile found. Stop.

What am I missing here?
Will I need to reboot when all this is finished?

What is the result of ./autogen.sh

Sorry I’m working away from home and I’m having trouble getting linux to log on to the motel wifi. (In widows at the moment) I will keep trying though.

sarge@linux-sarge:~/Download/libgpod-teuf-sandbox> ./autogen.sh 
checking for autoconf >= 2.53...                                
  testing autoconf2.50... not found.                            
  testing autoconf... found 2.63                                
checking for automake >= 1.7...                                 
  testing automake-1.11... found 1.11                           
checking for libtool >= 1.4.3...                                
  testing libtoolize... found 2.2.6                             
checking for glib-gettext >= 2.2.0...                           
  testing glib-gettextize... found 2.22.1                       
checking for intltool >= 0.25...                                
  testing intltoolize... found 0.40.6                           
checking for pkg-config >= 0.14.0...                            
  testing pkg-config... found 0.23                              
checking for gtk-doc >= 1.0...                                  
  testing gtkdocize... found 1.11                               
Checking for required M4 macros...                              
Checking for forbidden M4 macros...                             
Processing ./configure.ac                                       
Running libtoolize...                                           
libtoolize: putting auxiliary files in `.'.                     
libtoolize: copying file `./ltmain.sh'                          
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.        
libtoolize: copying file `m4/libtool.m4'                        
libtoolize: copying file `m4/ltoptions.m4'                      
libtoolize: copying file `m4/ltsugar.m4'                        
libtoolize: copying file `m4/ltversion.m4'                      
libtoolize: copying file `m4/lt~obsolete.m4'                    
Running glib-gettextize... Ignore non-fatal messages.           
Copying file mkinstalldirs                                      
Copying file po/Makefile.in.in                                  

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4                                                        
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.                                  
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.                                    

Running intltoolize...
Running gtkdocize...  
Running aclocal-1.11...
Running autoconf...    
Running autoheader...  
Running automake-1.11...
configure.ac:45: installing `./compile'
configure.ac:52: installing `./config.guess'
configure.ac:52: installing `./config.sub'  
configure.ac:36: installing `./install-sh'  
configure.ac:36: installing `./missing'     
bindings/python/Makefile.am: installing `./depcomp'
bindings/python/Makefile.am:39: installing `./py-compile'
Running ./configure --enable-maintainer-mode --enable-gtk-doc ...
checking for a BSD-compatible install... /usr/bin/install -c     
checking whether build environment is sane... yes                
checking for a thread-safe mkdir -p... /bin/mkdir -p             
checking for gawk... gawk                                        
checking whether make sets $(MAKE)... yes                        
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU                          
checking for gcc... gcc                                                    
checking for C compiler default output file name... a.out                  
checking whether the C compiler works... yes                               
checking whether we are cross compiling... no                              
checking for suffix of executables...                                      
checking for suffix of object files... o                                   
checking whether we are using the GNU C compiler... yes                    
checking whether gcc accepts -g... yes                                     
checking for gcc option to accept ISO C89... none needed                   
checking dependency style of gcc... gcc3                                   
checking how to run the C preprocessor... gcc -E                           
checking for grep that handles long lines and -e... /usr/bin/grep          
checking for egrep... /usr/bin/grep -E                                     
checking for ANSI C header files... yes                                    
checking for sys/types.h... yes                                            
checking for sys/stat.h... yes                                             
checking for stdlib.h... yes                                               
checking for string.h... yes                                               
checking for memory.h... yes                                               
checking for strings.h... yes                                              
checking for inttypes.h... yes                                             
checking for stdint.h... yes                                               
checking for unistd.h... yes                                               
checking minix/config.h usability... no                                    
checking minix/config.h presence... no                                     
checking for minix/config.h... no                                          
checking whether it is safe to define __EXTENSIONS__... yes                
checking for gcc... (cached) gcc                                           
checking whether we are using the GNU C compiler... (cached) yes           
checking whether gcc accepts -g... (cached) yes                            
checking for gcc option to accept ISO C89... (cached) none needed          
checking dependency style of gcc... (cached) gcc3                          
checking whether gcc and cc understand -c and -o together... yes           
checking for g++... g++                                                    
checking whether we are using the GNU C++ compiler... yes                  
checking whether g++ accepts -g... yes                                     
checking dependency style of g++... gcc3                                   
checking build system type... x86_64-suse-linux-gnu                        
checking host system type... x86_64-suse-linux-gnu                         
checking for a sed that does not truncate output... /usr/bin/sed           
checking for fgrep... /usr/bin/grep -F                                     
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld               
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes    
checking for ANSI C header files... (cached) yes                           
checking for a BSD-compatible install... /usr/bin/install -c               
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B      
checking the name lister (/usr/bin/nm -B) interface... BSD nm              
checking whether ln -s works... yes                                        
checking the maximum length of command line arguments... 1572864           
checking whether the shell understands some XSI constructs... yes          
checking whether the shell understands "+="... yes                         
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump                                               
checking how to recognize dependent libraries... pass_all                     
checking for ar... ar                                                         
checking for strip... strip                                                   
checking for ranlib... ranlib                                                 
checking command to parse /usr/bin/nm -B output from gcc object... ok         
checking for dlfcn.h... yes                                                   
checking whether we are using the GNU C++ compiler... (cached) yes            
checking whether g++ accepts -g... (cached) yes                               
checking dependency style of g++... (cached) gcc3                             
checking how to run the C++ preprocessor... g++ -E                            
checking for objdir... .libs                                                  
checking if gcc supports -fno-rtti -fno-exceptions... no                      
checking for gcc option to produce PIC... -fPIC -DPIC                         
checking if gcc PIC flag -fPIC -DPIC works... yes                             
checking if gcc static flag -static works... yes                              
checking if gcc supports -c -o file.o... yes                                  
checking if gcc supports -c -o file.o... (cached) yes                         
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no                                                     
checking dynamic linker characteristics... GNU/Linux ld.so                                                    
checking how to hardcode library paths into programs... immediate                                             
checking whether stripping libraries is possible... yes                                                       
checking if libtool supports shared libraries... yes                                                          
checking whether to build shared libraries... yes                                                             
checking whether to build static libraries... yes                                                             
checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64                                    
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes                         
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC                                                         
checking if g++ PIC flag -fPIC -DPIC works... yes                                                             
checking if g++ static flag -static works... yes                                                              
checking if g++ supports -c -o file.o... yes                                                                  
checking if g++ supports -c -o file.o... (cached) yes                                                         
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so                                                    
checking how to hardcode library paths into programs... immediate                                             
checking whether ln -s works... yes                                                                           
checking whether make sets $(MAKE)... (cached) yes                                                            
checking whether NLS is requested... yes                                                                      
checking for intltool &gt;= 0.21... 0.40.6 found                                                                 
checking for intltool-update... /usr/bin/intltool-update                                                      
checking for intltool-merge... /usr/bin/intltool-merge                                                        
checking for intltool-extract... /usr/bin/intltool-extract                                                    
checking for xgettext... /usr/bin/xgettext                                                                    
checking for msgmerge... /usr/bin/msgmerge                                                                    
checking for msgfmt... /usr/bin/msgfmt                                                                        
checking for gmsgfmt... /usr/bin/msgfmt                                                                       
checking for perl... /usr/bin/perl                                                                            
checking for perl &gt;= 5.8.1... 5.10.0
checking for XML::Parser... ok
checking for localtime_r... yes
checking for struct tm.tm_gmtoff... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBGPOD... configure: error: Package requirements (glib-2.0 &gt;= 2.8.0 gobject-2.0 sqlite3 libplist) were not met:

No package 'sqlite3' found
No package 'libplist' 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 LIBGPOD_CFLAGS
and LIBGPOD_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I have installed sqlite3 and thought I installed libplist via one click.

Did you copy the files from /usr/share/aclocal to libgpod_teuf_sandbox/m4

Yes, I did that