The following line was repeated many times, but not tagged as an error: ../libtool: CC: command not found This was also a problem early in the build: make[1]: *** No rule to make target `../ogle/libmsgevents.la', needed by `libdvdcontrol.la'. Stop. make[1]: *** Waiting for unfinished jobs.... ../libtool: CC: command not found ../libtool: CC: command not found But the fatal error was: 686-pc-linux-gnu-gcc -DPACKAGE=\"ogle\" -DVERSION=\"0.8.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_DLFCN_H=1 -DHAVE_BYTESWAP_H=1 -DHAVE_XSHM=1 -DHAVE_XV=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_MADVISE=1 -DLIBAO_OSS= -DHAVE_XML=1 -DHAVE_XF86VIDMODE=1 -DCONFIG_FILE=\"/usr/share/ogle/oglerc\" -DHAVE_MMX=1 -I. -I. -I. -I.. -I../include -I/usr/include -I/usr/include/libxml2 -march=i686 -O3 -pipe -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -c `test -f a52_decoder.c || echo './'`a52_decoder.c a52_decoder.c: In function `main': a52_decoder.c:219: `MM_ACCEL_MLIB' undeclared (first use in this function) a52_decoder.c:219: (Each undeclared identifier is reported only once a52_decoder.c:219: for each function it appears in.) a52_decoder.c:223: warning: assignment from incompatible pointer type a52_decoder.c: In function `a52_decode_data': a52_decoder.c:678: storage size of ` state ' isn't known a52_decoder.c:739: sizeof applied to an incomplete type a52_decoder.c:739: sizeof applied to an incomplete type a52_decoder.c:739: sizeof applied to an incomplete type a52_decoder.c:739: sizeof applied to an incomplete type a52_decoder.c:739: sizeof applied to an incomplete type a52_decoder.c:739: sizeof applied to an incomplete type a52_decoder.c:749: too many arguments to function `a52_block' make[1]: *** [a52_decoder.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/ogle-0.8.2-r6/work/ogle-0.8.2/ac3' make: *** [all-recursive] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 18, Exitcode 2 !!! (no error message) ...done! >>> emerge media-video/ogle-0.8.2-r6 to / >>> md5 ;-) ogle-0.8.2.tar.gz !!! emerge aborting on /usr/portage/media-video/ogle/ogle-0.8.2-r6.ebuild .
emerge dev-libs/a52dec I'm not quite sure why the dependency isn't found, since it is inside the ebuild.
type "emerge rsync; emerge sys-devel/autoconf" and try again. It'll work this time. (Older autoconf versions caused it to croak)
The "fix" in Comment #2 had no effect for me I still get exactly the ame error the original poster reported.
Have you tried running portage 1.9.2?
yes that is the version of portage that I have installed
what about the fix in comment #1?
the comment 1 suggestion emerge dev-libs/a52dec gives couldn't find match ev-libs/a52dec the command emerge media-libs/a52dec recompiles a52dec but I still can't get ogle to compile. I get the same error
i can't reproduce this - compiles fine on my machine... i do have mmx in my USE i do not have oss in my USE i think it's OSS is being used wrongly in this ebuild, actually... perhaps that is it
The CC command not found was resolved by re-running the ./autogen script and then re-running ./configure before executing make. (Suggestion from a friend -- I never would have thought of it..) I was able to bypass the a52_block errors by using the header files from the 0.7.2 revision of liba52. I edited the a52_decoder.c file to use local copies of a52.h, audio_out.h and mm_accel.h (from the 0.7.2 version) this also killed the MM_ACCEL_MLIB undeclared problem. Now I have a problem with open_output function in a52_decoder.c. It is giving an argument count error. . . For the record the ogle site [http://www.dtek.chalmers.se/groups/dvd/downloads.shtml] lists .0.72 as the version to download, FWIW. Hope this helps someone along I don't want to have to keep rebooting to watch DVD's! :)
Resolved? Okay, took a minor break, yanked my head out of my behind, read the portage guide, unmerge 0.7.3, then did an emerge =a52lib-0.7.2 followed by an emerge ogle and have an apparent working binary. I don't have a DVD reader on my office machine so I can't test this exactly.
Resolved? Okay, took a minor break, yanked my head out of my behind, read the portage guide, unmerge 0.7.3, then did an emerge =a52lib-0.7.2 followed by an emerge ogle and have an apparent working binary. I don't have a DVD reader on my office machine so I can't say it's a 100% solution. Soon as I get home from the office I will try again though! (PS: Sorry if this shows up twice, I tried to add bangert to the CC list and possibly did a stoopid.) William
Sorry, I forgot to add that I edited /var/cache/edb/world file to "pin" the version of a52lib to 0.7.2 i.e., I changed media-libs/a52dec to =a52dec-0.7.2
i did what comment #10 suggested... the pinning (#12) should not be necessary - i think that was a bug in portage that made it necessary thanks to everyone involved