Find the answer to your Linux question:
Results 1 to 4 of 4
I'm running SUSE 10.0 and trying to compile amaroK 1.4.3, because I need non-messed up iPod support. I got all the deps taken care of (phew!), finished ./configure, and thought ...
  1. #1
    Just Joined!
    Join Date
    Jan 2006
    Posts
    8

    Red face problem compiling amarok? ("No rule to make target 'all'")

    I'm running SUSE 10.0 and trying to compile amaroK 1.4.3, because I need non-messed up iPod support. I got all the deps taken care of (phew!), finished ./configure, and thought I'd finally be in the clear to make, but when I do it displays this:

    make all-recursive
    make[1]: Entering directory `/home/chexmix/apps/amarok-1.4.3'
    Making all in amarok
    make[2]: Entering directory `/home/chexmix/apps/amarok-1.4.3/amarok'
    Making all in src
    make[3]: Entering directory `/home/chexmix/apps/amarok-1.4.3/amarok/src'
    make[3]: *** No rule to make target `all'. Stop.
    make[3]: Leaving directory `/home/chexmix/apps/amarok-1.4.3/amarok/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/chexmix/apps/amarok-1.4.3/amarok'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/chexmix/apps/amarok-1.4.3'
    make: *** [all] Error 2
    ... And I'm enough of a n00b I don't know what to do about that.
    Help? Probably it's something really obvious that I just don't get, so explanations as well as solutions -- if you have time! -- are very appreciated.
    Last edited by Chex; 01-21-2007 at 03:55 PM. Reason: clarification and additional info

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    Hrm...

    Where did you get 'all-recursive' from? Usually the command is simply "make". I imagine that it may have a different rule set. Have you tried plain "make"?

    As for an explanation:

    make is a utility that essentially directs the compilation for you. It is governed by a Makefile, which contains a number of rules in it. For instance, a Makefile might look like this:

    Code:
    all: compile
    
    compile:
        gcc -Wall -o end_product *.c
    
    install: compile
        mv end_product /final/destination
    
    clean:
       rm *.o end_product
    So you might say "make install", and make will run the commands associated with the "install" target.

    The error you're getting is saying "You told me to follow target 'all', but there is no target 'all'".
    DISTRO=Arch
    Registered Linux User #388732

  3. #3
    Just Joined!
    Join Date
    Jan 2006
    Posts
    8
    The weird part is, I type in "make" and it returns the "make all-recursive" and the rest of what I posted. Everything I quoted is what happens after typing make and hitting return. Sorry for being unclear.

    So I've tried doing "make clean" (which I saw in another thread) and then just running ./configure and make again ... same deal with make. I enter 'make,' and the next line is 'make all-recursive,' etc.

    Oh ... huh, and I just tried deleting the folder and decompressing the tarball again, and this time "make" runs properly. HOWEVER!

    It gets toward the end, and then returns this:
    make[5]: Entering directory `/home/chexmix/apps/amarok-1.4.3/amarok/src/mediadevice/ipod'
    /usr/lib/qt3/bin/moc ./ipodmediadevice.h -o ipodmediadevice.moc
    if /bin/sh ../../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../amarok/src -I../../../../amarok/src -I../../../../amarok/src/amarokcore -I../../../../amarok/src/amarokcore -I../../../../amarok/src/engine -I../../../../amarok/src/engine -I../../../../amarok/src/mediadevice -I/usr/local/include/gpod-1.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/usr/local/include/taglib -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT ipodmediadevice.lo -MD -MP -MF ".deps/ipodmediadevice.Tpo" -c -o ipodmediadevice.lo ipodmediadevice.cpp; \
    then mv -f ".deps/ipodmediadevice.Tpo" ".deps/ipodmediadevice.Plo"; else rm -f ".deps/ipodmediadevice.Tpo"; exit 1; fi
    ipodmediadevice.cpp: In member function 'virtual MediaItem* IpodMediaDevice::updateTrackInDB(IpodMediaItem*, const QString&, const MetaBundle&, const PodcastInfo*)':
    ipodmediadevice.cpp:265: error: 'struct _Itdb_Track' has no member named 'unk208'
    ipodmediadevice.cpp:293: error: 'struct _Itdb_Track' has no member named 'unk208'
    make[5]: *** [ipodmediadevice.lo] Error 1
    make[5]: Leaving directory `/home/chexmix/apps/amarok-1.4.3/amarok/src/mediadevice/ipod'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory `/home/chexmix/apps/amarok-1.4.3/amarok/src/mediadevice'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/chexmix/apps/amarok-1.4.3/amarok/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/chexmix/apps/amarok-1.4.3/amarok'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/chexmix/apps/amarok-1.4.3'
    make: *** [all] Error 2

    ??? So now it seems to be a problem related to iPod support ...

  4. #4
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    That is an error in the code, so I recommend checking the amaroK forums for some info on that one.
    DISTRO=Arch
    Registered Linux User #388732

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...