Sirs,

I just tried to install the very latest avifile-0.7.17-20021101.tgz in my stock Red Hat 8.

The autogen.sh script reported some errors:

-------------------

[sergio@laptopsergio avifile0.7-0.7.17]$ ./autogen.sh
Generating build information...
Running libtoolize...
Running aclocal ...
Running autoheader...
autoheader: `include/config.h.in' is updated
Running autoconf...
configure.in:642: error: possibly undefined macro: AC_CHECK_FT2
Running automake...
lib/video/Makefile.am:15: variable `FT2_LIBS' not defined
Problems detected. Please investigate.
Suggested version of used programs (try to use them)
  libtool  1.4.1 or better
  automake 1.4 or better (automake 1.6.0 is buggy!)
  autoconf 2.52 or better
Your installed version:
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37)
automake (GNU automake) 1.6.3
autoconf (GNU Autoconf) 2.53
Report aclocal =
/usr/share/aclocal
Please report your problem on [EMAIL PROTECTED]
with this log of build process together with system description.

-----------------------------

Then I switched to root, expecting to have to install in /usr/local, and started configure:

---------------------------------

[root@laptopsergio avifile0.7-0.7.17]# ./configure --enable-release
avifile configure options: --enable-release
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/sergio/avifile0.7-0.7.17/admin/missing: Unknown `--run' option
Try `/home/sergio/avifile0.7-0.7.17/admin/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for g++... g++
checking for C++ compiler default output... 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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... none
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking for ANSI C header files... yes
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 ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether byte ordering is bigendian... no
checking for dlopen in -ldl... yes
checking for nanosleep in -lposix4... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for kstat_open in -lkstat... no
checking for lseek64 in -lc... yes
checking for pthreads...  yes
checking for ANSI C header files... (cached) yes
checking linux/ioctl.h usability... yes
checking linux/ioctl.h presence... yes
checking for linux/ioctl.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/ioccom.h usability... no
checking sys/ioccom.h presence... no
checking for sys/ioccom.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for valid sysinfo struct... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking whether gcc needs -traditional... no
checking whether sys/types.h defines makedev... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for ftime... yes
checking for gettimeofday... yes
checking for strdup... yes
checking for strstr... yes
checking for setenv... yes
checking for unsetenv... yes
checking for scandir... yes
checking for opendir... yes
checking for nanosleep... yes
checking for localtime_r... yes
checking for asctime_r... yes
checking for strptime... yes
checking for vsscanf... yes
checking for extra asctime_r argument... no
checking if gcc supports "-finline-limit-200" flag(s)... yes
checking if malloc debugging is wanted... no
checking "C compiler version"... gcc 3.2
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XF86DGAQueryExtension in -lXxf86dga... yes
checking for XF86VidModeSwitchMode in -lXxf86vm... yes
checking for DPMSQueryExtension in -lXdpms... no
checking for XGetExtensionVersion in -lXi... yes
checking /usr/X11R6/include/X11/Xft/Xft.h usability... no
checking /usr/X11R6/include/X11/Xft/Xft.h presence... no
checking for /usr/X11R6/include/X11/Xft/Xft.h... no
checking /usr/X11R6/include/X11/extensions/Xv.h usability... yes
checking /usr/X11R6/include/X11/extensions/Xv.h presence... yes
checking for /usr/X11R6/include/X11/extensions/Xv.h... yes
checking for XvCreateImage in -lXv... yes
checking for /usr/X11R6/include/X11/extensions/Xinerama.h... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking for /usr/X11R6/include/X11/extensions/dpms.h... yes
checking whether system declares DPMS functions in X11/extensions/dpms.h... yes
checking for main in -lqt-mt... yes
checking for Qt library (version >= 200)... yes
found qt-mt version 196613, libraries /usr/lib/qt3-gcc3.2/lib, headers /usr/lib/qt3-gcc3.2/include
checking for moc... /usr/lib/qt3-gcc3.2/bin/moc
checking for multithreading support in Qt... yes
checking Qt version for Avicap... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for sdl-config... sdl-config
setting SDL_CONFIG to /usr/bin/sdl-config
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.0.0... yes
./configure: line 15032: syntax error near unexpected token `2.0,'
./configure: line 15032: `test x$enable_ft2 = xyes && AC_CHECK_FT2(2.0,'

------------------------------------

....but something went wrong.

I went back and did the configure in user mode, but the script failed in the same way.

------------------------------

Then I tried to locate some RPMs. I used these versions.

ls -la avifile-* divx4linux-20020418-2.i386.rpm xvid-2.1-0.20021002.i386.rpm
-rw------- 1 sergio sergio 2937741 Nov 5 18:28 avifile-0.7.16-12.i386.rpm
-rw-rw-r-- 1 sergio sergio 1797876 Nov 5 18:32 avifile-binaries-001222-1.i586.rpm
-rw-rw-r-- 1 sergio sergio 4824893 Nov 5 18:29 avifile-codecs-20020516-1.i386.rpm
-rw-rw-r-- 1 sergio sergio 65026 Nov 5 18:28 avifile-devel-0.7.16-12.i386.rpm
-rw-rw-r-- 1 sergio sergio 358349 Nov 5 18:28 avifile-utils-0.7.16-12.i386.rpm
-rw-rw-r-- 1 sergio sergio 296410 Nov 5 18:29 divx4linux-20020418-2.i386.rpm
-rw------- 1 sergio sergio 134138 Nov 5 18:35 xvid-2.1-0.20021002.i386.rpm

Note: rpm of 0.7.17 for RedHat 8 are not available from the site you link in the docs.
Then I installed in this way:

[root@laptopsergio sergio]# rpm -ivh divx4linux-20020418-2.i386.rpm avifile-* xvid-2.1-0.20021002.i386.rpm

Preparing... ########################################### [100%]
1:xvid ########################################### [ 14%]
2:divx4linux ########################################### [ 29%]
3:avifile ########################################### [ 43%]
4:avifile-binaries ########################################### [ 57%]
5:avifile-codecs ########################################### [ 71%]
6:avifile-devel ########################################### [ 86%]
7:avifile-utils ########################################### [100%]

---------------------------------------


Now aviplay works.



A little fix for the documentation.

According to the documentation, in order to receive streaming from http://, the option

--url_audio url for audio stream

is nieeded. The problem is that it doesn't work !

After much fiddling, I discovered that it is sufficient to specify the URL on the command line, without options.

For example, to listen a very nice italian-based Internet radio:

aviplay http://www.lifegate.it/radio/live.asx >/dev/null &




Thanks for the work you put in aviplay, it gave me many hours of listening nice music in the background.

Regards,

Sergio


--
______________________________________________________________________
Sergio Ruocco CS PhD student mailto:sergio.ruocco@;disco.unimib.it
building U7, 4th floor, room 472 Universit� Statale di Milano-Bicocca
via Bicocca degli Arcimboldi 8 phone: ++39 02 6448 7874
20126 Milano cell: ++39 347 2519828



_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to