Does anyone have either a 0.7.7 RPM for Mandrake 8.2 or a .spec file to build a Mandrake .rpm?
I have been unable to build 0.7.7 from scratch. Perhaps I am doing something silly. Details follow. ===================================================== Mandrake supports avifile. A "rpm -qa | grep avifile" returns: avifile-plugins-win32-0.6.0-0.20011223.1.1plf avifile-player-0.6.0-0.20011223.2mdk avifile-samples-0.6.0-0.20011223.2mdk avifile-plugins-win32-0.6.0-0.20011223.1plf libavifile0.6-devel-0.6.0-0.20011223.2mdk libavifile0.6-0.6.0-0.20011223.2mdk avifile-plugins-win32-0.6.0-0.20011207.2mdk Looks like version 0.6.0 from Dec 23 last year. So after reading about avifile 0.7.7, I download it and try to compile: Now "./configure --prefix=/usr" complains it can't find qt. Tracking down qt, we find it in "/usr/lib/qt2". Trying again: "./configure --prefix=/usr --with-qt-dir=/usr/lib/qt2" "make" [The host machine has an AMD ATHLON 600 MHz chip.] This starts compiling but it appears some X11 header files are missing. For example, compiling render.cpp, we get: Making all in video make[2]: Entering directory `/usr/local/src/video/avi/avifile0.7-0.7.7/lib/video' source='renderer.cpp' object='renderer.lo' libtool=yes \ depfile='.deps/renderer.Plo' tmpdepfile='.deps/renderer.TPlo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -D_REENTRANT -I./../subtitles -Wall -Wno-unused -I../../include -g -march=i686 -ffast-math -pipe -c -o renderer.lo `test -f renderer.cpp || echo './'`renderer.cpp c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -D_REENTRANT -I./../subtitles -Wall -Wno-unused -I../../include -g -march=i686 -ffast-math -pipe -c renderer.cpp -MT renderer.lo -MD -MP -MF .deps/renderer.TPlo -fPIC -DPIC -o renderer.lo renderer.cpp: In function `int avm::GetPhysicalDepth (void *)': renderer.cpp:241: `XListPixmapFormats' undeclared (first use this function) renderer.cpp:241: (Each undeclared identifier is reported only once for each function it appears in.) renderer.cpp:252: `XFree' undeclared (first use this function) renderer.cpp: In method `int avm::XvRtConfig::GetValue (const char *,int &) const': renderer.cpp:498: `XInternAtom' undeclared (first use this function) renderer.cpp: In method `avm::FullscreenRenderer::FullscreenRenderer (PlayerWidget *, Display *, int, int, bool)': renderer.cpp:728: `XSupportsLocale' undeclared (first use this function) renderer.cpp: In method `avm::FullscreenRenderer::~FullscreenRenderer ()': renderer.cpp:987: `XFreeGC' undeclared (first use this function) renderer.cpp: In method `int avm::FullscreenRenderer::DrawSubtitles (const subtitle_line_t *)': renderer.cpp:1317: `XSetForeground' undeclared (first use this function) renderer.cpp:1318: `XFillRectangle' undeclared (first use this function) renderer.cpp:1427: `XTextWidth' undeclared (first use this function) renderer.cpp:1430: `XDrawString' undeclared (first use this function) renderer.cpp:1433: `XFlush' undeclared (first use this function) renderer.cpp: In method `int avm::FullscreenRenderer::GetPosition (int &, int &) const': renderer.cpp:1459: `XGetGeometry' undeclared (first use this function) renderer.cpp: In method `int avm::FullscreenRenderer::SetPosition (int, int)': renderer.cpp:1474: `XMoveWindow' undeclared (first use this function) renderer.cpp: In method `int avm::FullscreenRenderer::SetFont (const char *)': renderer.cpp:1494: `XCreateGC' undeclared (first use this function) renderer.cpp:1607: `XLoadQueryFont' undeclared (first use this function) renderer.cpp:1638: `XSetFont' undeclared (first use this function) renderer.cpp: In method `void avm::FullscreenRenderer::nvidiaCheck ()': renderer.cpp:1839: `XListExtensions' undeclared (first use this function) renderer.cpp: In method `int avm::FullscreenRenderer::eventFilter (const SDL_Event *)': renderer.cpp:1970: `XUngrabPointer' undeclared (first use this function) renderer.cpp:1971: `XUngrabKeyboard' undeclared (first use this function) renderer.cpp: In method `void avm::FullscreenRenderer::freeFont ()': renderer.cpp:2038: `XFreeFont' undeclared (first use this function) make[2]: *** [renderer.lo] Error 1 make[2]: Leaving directory `/usr/local/src/video/avi/avifile0.7-0.7.7/lib/video' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/video/avi/avifile0.7-0.7.7/lib' make: *** [all-recursive] Error 1 I can send the config.cache, config.log, or config.status files if they would be of any help. I have also tried re-creating the "configure" file with the "autogen.sh" script. The "configure" file was a little smaller but it still produced the same result compiling renderer.cpp. What am I doing wrong??? _______________________________________________ Avifile mailing list [EMAIL PROTECTED] http://prak.org/mailman/listinfo/avifile
