Announcement

Collapse
No announcement yet.

Problem with "make" while installing libgpod (gtkpod lib)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem with "make" while installing libgpod (gtkpod lib)

    I have downloaded the latest released version of libgpod from the gtkpod website and have been trying to install the tarball. I've extracted and configured as directed in the instructions but at the bottom of the configure routine (shown below) there is an error regarding "perl"? What is this and how do I find and install it?

    (see the very last line)

    Also, typing "make" returns the following

    mrmsudawgs@closet:~/Desktop/libgpod-0.6.0$ make
    make: *** No targets specified and no makefile found. Stop.




    Thanks!

    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    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 for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for g++... no
    checking for c++... no
    checking for gpp... no
    checking for aCC... no
    checking for CC... no
    checking for cxx... no
    checking for cc++... no
    checking for cl.exe... no
    checking for FCC... no
    checking for KCC... no
    checking for RCC... no
    checking for xlC_r... no
    checking for xlC... no
    checking whether we are using the GNU C++ compiler... no
    checking whether g++ accepts -g... no
    checking dependency style of g++... none
    checking for a sed that does not truncate output... /bin/sed
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognize dependent libraries... pass_all
    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 dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking for g77... no
    checking for xlf... no
    checking for f77... no
    checking for frt... no
    checking for pgf77... no
    checking for cf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for xlf90... no
    checking for f90... no
    checking for pgf90... no
    checking for pghpf... no
    checking for epcf90... no
    checking for gfortran... no
    checking for g95... no
    checking for xlf95... no
    checking for f95... no
    checking for fort... no
    checking for ifort... no
    checking for ifc... no
    checking for efc... no
    checking for pgf95... no
    checking for lf95... no
    checking for ftn... no
    checking whether we are using the GNU Fortran 77 compiler... no
    checking whether accepts -g... no
    checking the maximum length of command line arguments... 98304
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld) 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
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    appending configuration tag "F77" to libtool
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking for intltool >= 0.21... 0.36.2 found
    checking for perl... /usr/bin/perl
    checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool


    sudo make me rich<br /><br />Kubuntu Gutsy 7.10<br />KDE 3.5<br />Compaq Presario 5000<br />Intel Celeron 1.2 Ghz<br />512 Ram, Riva TNT2 Video Card<br />All the above hardware is 7 year old junk but<br />Linux runs great on it.&nbsp; :&gt<br />Ham Radio Rules

    #2
    Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

    you are probably missing a needed library somewhere. You can get most if not all using apt:

    Code:
    sudo apt-get build-dep gtkpod
    The version in feisty is not too old, really so the dependencies should be the same for the latest version of gtkpod.

    The package that you need to fix that particular configure error is probably libxml-parser-perl

    Comment


      #3
      Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

      I believe the version of gtkpod in the repository is 0.98 but I had to bump up to 0.99 in order to have tag editing capabilities for video podcasts. Well, let me correct that - I had previously been running gtkpod-aac from the repository because I read somewhere that that particular version supported video podcasts (5th gen iPod video, 80 gig). I've never actually tried the 0.98 version in the repository.

      Well, heck...I guess I could give that a try. Boy, iTunes for Linux sure would be nice. Yeah, I know.

      M
      sudo make me rich<br /><br />Kubuntu Gutsy 7.10<br />KDE 3.5<br />Compaq Presario 5000<br />Intel Celeron 1.2 Ghz<br />512 Ram, Riva TNT2 Video Card<br />All the above hardware is 7 year old junk but<br />Linux runs great on it.&nbsp; :&gt<br />Ham Radio Rules

      Comment


        #4
        Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

        my point, which I did not make very clear is that you should be able to install all the needed build dependencies using the method I noted above, and that the deps shouldn't be different from the version in the repos and the newer version you are trying to build. So it should be pretty easy compile.

        I neither own an ipod, nor use itunes, and don't plan to, but that's another subject entirely. Until I get a video capable device, I will probably stick to Amarok myself

        Comment


          #5
          Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

          You were correct about the missing library. However, me being a noob, I may have screwed something else...

          I downloaded the library you suggested from the repository. No problem. Installed just fine. Then, I typed ./configure which ran this long process. At the same time, uninstalled gtkpod by using Adept.

          The configuration seemed to be going well but it ended with two errors. I ignored them, as all noobs do, and typed "make install" which also ended in two errors. Below is the hash.

          Any idea how to resolve this? Thanks for the help!!

          gcc -g -O2 -o .libs/test-init-ipod test-init-ipod.o /usr/lib/libgdk_pixbuf-2.0.
          so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgl
          ib-2.0.so ../src/.libs/libgpod.so -Wl,--rpath -Wl,/usr/local/lib
          creating test-init-ipod
          make[2]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/tests'
          Making all in po
          make[2]: Entering directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/po'
          file=`echo de | sed 's,.*/,,'`.gmo \
          && rm -f $file && -o $file de.po
          /bin/sh: -o: not found
          make[2]: *** [de.gmo] Error 127
          make[2]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/po'
          make[1]: *** [all-recursive] Error 1
          make[1]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0'
          make: *** [all] Error 2

          mrmsudawgs@closet:~/Desktop/libgpod-0.6.0$ make install
          Making install in src
          make[1]: Entering directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/src'
          make[2]: Entering directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/src'
          test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
          /bin/bash ../libtool --mode=install /usr/bin/install -c 'libgpod.la' '/usr/loc
          al/lib/libgpod.la'
          /usr/bin/install -c .libs/libgpod.so.3.0.0 /usr/local/lib/libgpod.so.3.0.0
          /usr/bin/install: cannot create regular file `/usr/local/lib/libgpod.so.3.0.0':
          Permission denied
          make[2]: *** [install-libLTLIBRARIES] Error 1
          make[2]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/src'
          make[1]: *** [install-am] Error 2
          make[1]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/src'
          make: *** [install-recursive] Error
          1
          sudo make me rich<br /><br />Kubuntu Gutsy 7.10<br />KDE 3.5<br />Compaq Presario 5000<br />Intel Celeron 1.2 Ghz<br />512 Ram, Riva TNT2 Video Card<br />All the above hardware is 7 year old junk but<br />Linux runs great on it.&nbsp; :&gt<br />Ham Radio Rules

          Comment


            #6
            Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

            ...in addtion to the above question - could I have installed the newest version of gtkpod on top of the older version? Being a Windows users, I'm accustom to uninstalling the old software before installing the new which may or may not be necessary in Linux.

            Thanks again.

            M
            sudo make me rich<br /><br />Kubuntu Gutsy 7.10<br />KDE 3.5<br />Compaq Presario 5000<br />Intel Celeron 1.2 Ghz<br />512 Ram, Riva TNT2 Video Card<br />All the above hardware is 7 year old junk but<br />Linux runs great on it.&nbsp; :&gt<br />Ham Radio Rules

            Comment


              #7
              Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

              well, if configure ends with errors, that should be looked at first

              Nothing was set-up for the compile if configure didn't finish

              To properly compile, you need to (basically) follow these steps:
              • uninstall any version you already have installed
              • Make sure you have all the needed deps, libraries, and tools installed
              • run './configure' - use './configure --help' for some more options and info
              • Resolve any errors found during configure - usually a missing libarary or -dev package
              • run configure again, and repeat the above if necessary, until there are no errors
              • run 'make'
              • if needed , find out what strange error message mean (google ) and hopefully fix the problem
              • run 'make' again
              • If all is good and error free, then run 'sudo make install'


              Often you have to tell configure where your base libraries, etc are, so you may need to run configure like this:
              Code:
              ./configure --prefix=/usr
              to get it to set up the build properly

              Comment


                #8
                Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

                Originally posted by claydoh
                • Make sure you have all the needed deps, libraries, and tools installed


                So, how does one;

                (1) Determine what deps, libraries, and tools are needed?
                (2) Determine if those things are already installed on one's system?

                It amazes me how you guys know and understand this stuff.

                Making progress.

                Thanks again.
                sudo make me rich<br /><br />Kubuntu Gutsy 7.10<br />KDE 3.5<br />Compaq Presario 5000<br />Intel Celeron 1.2 Ghz<br />512 Ram, Riva TNT2 Video Card<br />All the above hardware is 7 year old junk but<br />Linux runs great on it.&nbsp; :&gt<br />Ham Radio Rules

                Comment


                  #9
                  Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

                  1) (a)read the documentation from the related website, or poke around the source files for a readme file or similar
                  (b) running configure will tell you what is missing or what it can't find, though exact package names can be troublesome to figure out
                  (c) in this case, as I mentioned in my first post: 'sudo apt-get build-dep gtkpod' will tell apt to pull in most if not all the things needed, then ./configure will help fill the holes (if any)

                  2) See (1b) and (1c)

                  It can be time consuming and a little frustrating at first, but it gets easier as you learn

                  And who says I understand it all
                  Since coming to Kubuntu (and the debian style of repository and package management, I seldom compile stuff anymore.

                  Comment


                    #10
                    Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

                    Ok...I've made it through
                    ./configure
                    make
                    make install

                    but now I can't determine how to launch gtkpod. I've checked all the KDE menus (multimedia, internet, etc..) and gtkpod is not listed. I typed "whereis gtkpod" and it returned "gtkpod:"

                    Below is the hash at the end of the "make file" command. No errors appeard so I'm not sure if it is installed or not. Any ideas?

                    make[3]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/docs/reference'
                    make[2]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/docs/reference'
                    make[2]: Entering directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/docs'
                    make[3]: Entering directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/docs'
                    make[3]: Nothing to be done for `install-exec-am'.
                    make[3]: Nothing to be done for `install-data-am'.
                    make[3]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/docs'
                    make[2]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/docs'
                    make[1]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/docs'
                    Making install in bindings
                    make[1]: Entering directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/bindings'
                    make[2]: Entering directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/bindings'
                    make[3]: Entering directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/bindings'
                    make[3]: Nothing to be done for `install-exec-am'.
                    make[3]: Nothing to be done for `install-data-am'.
                    make[3]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/bindings'
                    make[2]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/bindings'
                    make[1]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0/bindings'
                    make[1]: Entering directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0'
                    make[2]: Entering directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0'
                    make[2]: Nothing to be done for `install-exec-am'.
                    test -z "/usr/local/lib/pkgconfig" || mkdir -p -- "/usr/local/lib/pkgconfig"
                    /usr/bin/install -c -m 644 'libgpod-1.0.pc' '/usr/local/lib/pkgconfig/libgpod-1.0.pc'
                    make[2]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0'
                    make[1]: Leaving directory `/home/mrmsudawgs/Desktop/libgpod-0.6.0'

                    mrmsudawgs@closet:~/Desktop/libgpod-0.6.0$ whereis gtkpod
                    gtkpod:

                    mrmsudawgs@closet:~/Desktop/libgpod-0.6.0$ gtkpod
                    The program 'gtkpod' can be found in the following packages:
                    * gtkpod-aac
                    * gtkpod
                    Try: sudo apt-get install <selected package>
                    Make sure you have the 'universe' component enabled
                    bash: gtkpod: command not found
                    mrmsudawgs@closet:~/Desktop/libgpod-0.6.0$
                    sudo make me rich<br /><br />Kubuntu Gutsy 7.10<br />KDE 3.5<br />Compaq Presario 5000<br />Intel Celeron 1.2 Ghz<br />512 Ram, Riva TNT2 Video Card<br />All the above hardware is 7 year old junk but<br />Linux runs great on it.&nbsp; :&gt<br />Ham Radio Rules

                    Comment


                      #11
                      Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

                      A menu entry may or may not show up, though it usually will . Does entering the command 'gtkpod' in the terminal work? You may also try '/usr/local/bin/gtkpod'

                      Also, from the above, you did install libgpod. That is a separate thing from the app 'gtkpod', which you need to compile and install that as well. They are listed as separate source packages on their website

                      libgpod is the backend bits to control ipod stuff, and gtkpod is a graphical front-end that uses it.

                      Comment


                        #12
                        Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

                        :P Ohhhhh Duhhhhhhh!!!! Dang. That's embarrassing. You are correct. I've only installed libgpod and not gtkpod itself. I was so happy that I actually installed something without Adept that I forgot what the end goal was.

                        That just goes along with the rest of my day today.

                        LOL!

                        sudo make me rich<br /><br />Kubuntu Gutsy 7.10<br />KDE 3.5<br />Compaq Presario 5000<br />Intel Celeron 1.2 Ghz<br />512 Ram, Riva TNT2 Video Card<br />All the above hardware is 7 year old junk but<br />Linux runs great on it.&nbsp; :&gt<br />Ham Radio Rules

                        Comment


                          #13
                          Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

                          Originally posted by claydoh
                          A menu entry may or may not show up, though it usually will . Does entering the command 'gtkpod' in the terminal work? You may also try '/usr/local/bin/gtkpod'

                          Also, from the above, you did install libgpod. That is a separate thing from the app 'gtkpod', which you need to compile and install that as well. They are listed as separate source packages on their website

                          libgpod is the backend bits to control ipod stuff, and gtkpod is a graphical front-end that uses it.
                          Getting past my previous issues ---I've downloaded the gtkpod files and made through
                          ./configure
                          make
                          make install

                          and located the execuitable file. However, nothing happens when clicked. Also, typing "gtkpod" in shell yielded this:

                          mrmsudawgs@closet:~$ cd /usr/local/bin
                          mrmsudawgs@closet:/usr/local/bin$ ls
                          gtkpod
                          mrmsudawgs@closet:/usr/local/bin$ gtkpod
                          gtkpod: error while loading shared libraries: libgpod.so.3: cannot open shared object file: No such file or directory
                          mrmsudawgs@closet:/usr/local/bin$ sudo gtkpod
                          Password:
                          gtkpod: error while loading shared libraries: libgpod.so.3: cannot open shared object file: No such file or directory
                          mrmsudawgs@closet:/usr/local/bin$


                          I used Konqueror to look for libgpod.so.3 and none could be found. I also checked the repositories and nothing there either. So, I'm an inch away from the finish line but it still feels like a mile. Any ideas?

                          M
                          sudo make me rich<br /><br />Kubuntu Gutsy 7.10<br />KDE 3.5<br />Compaq Presario 5000<br />Intel Celeron 1.2 Ghz<br />512 Ram, Riva TNT2 Video Card<br />All the above hardware is 7 year old junk but<br />Linux runs great on it.&nbsp; :&gt<br />Ham Radio Rules

                          Comment


                            #14
                            Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

                            I don't know if its the only problem but the missing library problem

                            "gtkpod: error while loading shared libraries: libgpod.so.3: cannot open shared object file: No such file or directory"

                            is related to this:

                            "/usr/bin/install: cannot create regular file `/usr/local/lib/libgpod.so.3.0.0':
                            Permission denied
                            make[2]: *** [install-libLTLIBRARIES] Error 1"

                            which is a result of your running
                            make install
                            without sudo

                            make install is what actually moves the compiled libraries and application into their proper locations and sets up symbolic links for the libraries so you HAVE TO run this as

                            sudo make install

                            so you have root and can write files into the locations that are owned by root.

                            Comment


                              #15
                              Re: Problem with &quot;make&quot; while installing libgpod (gtkpod lib)

                              It would be super if someone could update libgpod and gtkpod and compile gtkpod w/ mp4v2. That is why I'm not using it. I tried the compile and was getting a lot of silliness.

                              Comment

                              Working...
                              X