Hi, I'm having a few problems trying to install avifile in Mandrake 8.1. I've tried installing a set of RPMS but aviplay gave an error with XF86VidModeGetAllModeLines. I found a suggestion somewhere that this was due to problems with SDL-1.1.7, so I tried SDL-1.1.6 and SDL-1.2.6 instead but got the same error message.
Then I tried downloading the latest source code and compiling. This got stuck with some code in flvenc.c subroutine flv_write_trailer. Someone else encountered the same bug (http://www.mail-archive.com/[EMAIL PROTECTED]/msg04862.html) and the suggestion was to download the latest CVS version of the source code and try compiling that instead. I've now downloaded the CVS version but compilation fails with a missing header file, qmutex.h, that only comes with libqt3-devel. At the moment I've only got libqt2-devel installed and I don't particularly want to uninstall it (in order to install libqt3-devel) as there appear to be a load of KDE files that use libqt2. Do you have a version of the source code that has the flvenc.c bug fixed but does not need the qmutex.h file? I've included all the details of my attempts at installation below. Sorry if it is a bit verbose;-) Many thanks, Simon Output from uname -a: ===================== Linux sglt.me.umist.ac.uk 2.4.8-26mdk #1 Sun Sep 23 17:06:39 CEST 2001 i686 unknown First installation tested: ========================== The following RPMS installed: libavifile0.6-0.6.0-0.20011207.2mdk.i586.rpm libavifile0.6-devel-0.6.0-0.20011207.2mdk.i586.rpm avifile-plugins-divx4-0.6.0-0.20011223.1.1plf.i586.rpm avifile-plugins-lame-0.6.0-0.20011223.1.1plf.i586.rpm avifile-plugins-win32-0.6.0-0.20011223.1.1plf.i586.rpm avifile-player-0.6.0-0.20011207.2mdk.i586.rpm Ouput from running aviplay: aviplay fs seg 0x40017000 Available CPU flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow 1200.047000 MHz AMD Athlon(tm) Processor processor detected MainAVIHeader: MicroSecPerFrame=100000 MaxBytesPerSec=809260 PaddingGranularity=0 Flags=[ HAS_INDEX TRUST_CKTYPE ] TotalFrames=60 InitialFrames=0 Streams=1 SuggestedBufferSize=80926 WxH=566x504 WARNING: unexpected AVI stream header size (64) AVIStreamHeader: FccType=vids FccHandler=00dc Flags=[ ] InitialFrames=0 Scale=100000 Rate=1000000 Start=0 Length=60 SuggestedBufferSize=80926 Quality=0 SampleSize=0 Rect l,r,t,b=0,0,0,0 WARNING: Invalid index entry 60 -- id: 1263424842 offset: 858797360 size: 909523249 Reconstructing index... Stream 0: 0x73646976 (vids) : 0x63643030 (00dc) 60 chunks (0.94KB) Cache: Adding stream 0, 60 chunks Cache: Creating cache for file descriptor: 8 Initialized stream 0 (Chunk table size 60, format size 1064) Successfully opened /home/mcjihsg2/STREAM/ROTOR_STATOR/AXISYMM/PLOT/TECPLOT/MULTI/pkmod_ur_0-600.avi /usr/lib/avifile0.6/libwin32.so: found A: 13 V: 46 plugins /usr/lib/avifile0.6/libvorbis_audio.so: found A: 1 V: 0 plugin /usr/lib/avifile0.6/libmpeg_audiodec.so: found A: 1 V: 0 plugin /usr/lib/avifile0.6/libmp3lamebin_audioenc.so: found A: 1 V: 0 plugin /usr/lib/avifile0.6/libmjpeg.so: found A: 0 V: 1 plugin /usr/lib/avifile0.6/libmad_audiodec.so: found A: 1 V: 0 plugin /usr/lib/avifile0.6/libffmpeg.so: found A: 2 V: 5 plugins /usr/lib/avifile0.6/libdivx4.so: found A: 0 V: 2 plugins /usr/lib/avifile0.6/libaudiodec.so: found A: 5 V: 0 plugins /usr/lib/avifile0.6/libac3pass.so: found A: 1 V: 0 plugin Using Win32 dll library: msrle32.dll VideoDecoder Size 1064 MS RLE video decoder created Audiostream not detected Video decoder thread lowered priority to 5 SDL Video driver: x11 Disabling DPMS aviplay: error while loading shared libraries: /usr/lib/libaviplay-0.6.so.0: undefined symbol: XF86VidModeGetAllModeLines The following SDL RPMS were all tried with the above installation: SDL-1.1.6-1.i386.rpm SDL-1.2.6-1.i386.rpm SDL-1.1.7-1mdk.i586.rpm SDL-devel-1.2.6-1.i386.rpm Source Code Compilation/Installation: ===================================== Most up to date source code downloaded from avifile.sourceforge.net: avifile-0.7-0.7.38.tar.gz Same bug found as reported at: http://www.mail-archive.com/[EMAIL PROTECTED]/msg04862.html CVS version Compilation/Installation: ===================================== output from running autogen.sh and then configure: Configuration for avifile CVS-0.7.40-031211-18:00-8.1 Compiler C: gcc -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe Compiler C++: c++ -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe Install path: /usr/local Qt: yes Sdl: yes Xft: yes Oss audio: yes Sun audio: no Mga_vid: no Plugins: ac3passthrough yes (with SBLive only) divx4 (dec/enc) yes/yes (DivxNetworks) xvid no (DivX4, XviD) ffmpeg yes (DivX ;-), OpenDivX, MJPEG, AC3) ffmpeg faad no (AAC) (runtime yes) os motion jpeg yes (MJPEG) win32 yes (DivX, WMF1/2, DV, MJPEG, Ati, Asus,...) MAD yes (MPEG Layer I/II/III) vorbis no lame runtime Output from running make -j 2 install: make[1]: Entering directory `/home/mcjihsg2/RPMS/AVIFILE/avifile/player' c++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/lib/qt2/include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I../libavqt -DQT_THREAD_SUPPORT -DPIXMAP_PATH=\"/usr/local/share/avifile-0.7/pixmaps\" -Wall -Wno-unused -I../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c playercontrol.cpp In file included from playercontrol.cpp:13: configdialog_impl.h:5:20: qmutex.h: No such file or directory In file included from playercontrol.cpp:13: configdialog_impl.h:42: field `m_Mutex' has incomplete type make[1]: *** [playercontrol.o] Error 1 make[1]: Leaving directory `/home/mcjihsg2/RPMS/AVIFILE/avifile/player' make: *** [all-recursive] Error 1 File qmutex.h can be obtained from: libqt3-devel-3.0.5-2mdk.i586.rpm however this conflicts with the already installed libqt2-devel-2.3.1-14mdk -- Dr. Simon Gant Dept. of Mechanical, Aerospace & Manufacturing Engineering Room C17 George Begg UMIST, PO Box 88 Manchester M60 1QD, UK Tel: +44(0)161 200 4547 Fax: +44(0)161 200 3723 Mobile: +44(0)790 406 1393 E-mail: [EMAIL PROTECTED] Web: http://sgu.me.umist.ac.uk/~mcjihsg2 _______________________________________________ Avifile mailing list [EMAIL PROTECTED] http://prak.org/mailman/listinfo/avifile
