Re: Problem with installation of avifile

Justin Piszcz <[email protected]> Sun, 20 Jun 2004 06:23:40 -0400 (EDT)
Newsgroups gmane.comp.multimedia.avifile.general
Message-ID <Pine.LNX.4.60.0406200608340.7619@p500>
Yes, I get the same error, downgrade your freetype version and it will 
work.

Infact, I have not built it since I have upgraded (did not have older 
version of freetype2 (2.1.5), now I do, and I am building it now.

040620/lib -Wl,--rpath -Wl,/app/gcc-3.4.0/lib -L/app/gcc-3.4.0/lib 
-L/vapp/lib -L/home/war/avifile-20040620/drivers/libdha/.libs 
-L/home/war/avifile-20040620/drivers/vidix/.libs 
-L/app/fontconfig-2.2.2/lib -L/app/freetype-2.1.8/lib -L/app/xft-2.1.2/lib 
-L/usr/X11/lib -L/app/freetype-2.1.5/lib -L/usr/lib -L/app/gcc-3.4.0/lib/. 
-L/usr/X11R6/lib -L/app/audiofile-0.2.3/lib -L/app/audiofile-0.2.6/lib 
-L/app/esound-0.2.34/lib -L/app/sdl-1.2.7/lib 
-L/home/war/avifile-20040620/ffmpeg/libavcodec/.libs 
-L/home/war/avifile-20040620/ffmpeg/libavformat/.libs 
-L/home/war/gcc-3.4.0/gcc 
-L/home/war/gcc-3.4.0/i686-pc-linux-gnu/libstdc++-v3/src/.libs 
-L/home/war/gcc-3.4.0/i686-pc-linux-gnu/libstdc++-v3/src 
/app/jpeg-6b/lib/libjpeg.so ../../lib/.libs/libaviplay.so -lnsl -ldl 
-L/a/app/gcc-3.4.0/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0 
-L/a/app/gcc-3.4.0/bin/../lib/gcc -L/opt/kde/lib 
-L/app/gcc-3.4.0/lib/gcc/i686-pc-linux-gnu/3.4.0 
-L/a/app/gcc-3.4.0/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0/../../.. 
-L/app/gcc-3.4.0/lib/gcc/i686-pc-linux-gnu/3.4.0/../../.. 
/app/gcc-3.4.0/lib/libstdc++.so -lm -lc -lgcc_s 
/a/app/gcc-3.4.0/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0/crtendS.o 
/usr/lib/crtn.o  -mcpu=i686 -march=i686 -Wl,-soname -Wl,osmjpeg.so -o 
.libs/osmjpeg.so
creating osmjpeg.la
(cd .libs && rm -f osmjpeg.la && ln -s ../osmjpeg.la osmjpeg.la)
make[2]: Leaving directory 
`/home/war/avifile-20040620/samples/mjpeg_plugin'
make[2]: Entering directory `/home/war/avifile-20040620/samples'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/war/avifile-20040620/samples'
make[1]: Leaving directory `/home/war/avifile-20040620/samples'


As you can see, downgrading to freetype 2.1.5 fixes the problem.

$ aviplay --version
<init> : Avifile CVS-0.7.40-040620-06:12-gcc version 3.4.0
<init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep 
mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm 
pbe cid
<init> : 4294.97 MHz Intel(R) Pentium(R) 4 CPU 2.60GHz processor detected

$ ldd `which aviplay`|grep -i freetype
         libfreetype.so.6 => /app/freetype-2.1.5/lib/libfreetype.so.6 
(0x40db2000)


On Sat, 19 Jun 2004, Patrice Rochefort wrote:

> Hi,
>     I downloaded avifile from the website and I tried to installed but without any success.
> First, I  did sh autogen.sh, ./configure, make successfully. But when I did make installed I have
> these errors at the console:
>
> /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
> /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include
> FreeType header files."
> /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
> /usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
> /usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
> make[2]: *** [sub_ft.lo] Error 1
> make[2]: Leaving directory `/home/pat/Desktop/avifile-0.7-0.7.38/lib/video'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/pat/Desktop/avifile-0.7-0.7.38/lib'
> make: *** [install-recursive] Error 1
>
> I looked at freetype.h and saw that the "#error" are some sort of define. The only thing that I
> don't understant is about the sub_ft.lo. What can I do???
>
> Thank you very much.
>
>
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
>
> _______________________________________________
> Avifile mailing list
> [email protected]
> http://prak.org/mailman/listinfo/avifile
>