Opened 20 years ago

Closed 20 years ago

Last modified 10 years ago

#782 closed defect (fixed)

avifile-0.7-0.7.38 do not compile with freetype2.1.7 and LFS-5.1

Reported by: danielearosio@… Owned by: blfs-book@…
Priority: high Milestone:
Component: BOOK Version: ~CVS
Severity: normal Keywords:
Cc:

Description

In file included from sub_ft.cpp:9: /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 `/usr/src/avifile-0.7-0.7.38/lib/video' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/avifile-0.7-0.7.38/lib' make: * [all-recursive] Error 1

And also at the beginning of the build the ./autogen.sh command now complaiins the following: Generating build information... Running libtoolize... Running aclocal ... acinclude.m4:19: warning: underquoted definition of AC_CC_VERSION

run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal

acinclude.m4:35: warning: underquoted definition of AC_TRY_CFLAGS acinclude.m4:53: warning: underquoted definition of AC_TRY_CXXFLAGS acinclude.m4:73: warning: underquoted definition of AC_CHECK_GNU_EXTENSIONS acinclude.m4:96: warning: underquoted definition of AM_PATH_DIVX acinclude.m4:176: warning: underquoted definition of AM_PATH_FAAD acinclude.m4:271: warning: underquoted definition of AC_FUNC_LRINTF acinclude.m4:295: warning: underquoted definition of AM_PATH_FFMPEG acinclude.m4:360: warning: underquoted definition of AC_CHECK_FT2 acinclude.m4:575: warning: underquoted definition of AM_PATH_OGG acinclude.m4:669: warning: underquoted definition of AC_CHECK_OSS acinclude.m4:700: warning: underquoted definition of PKG_CHECK_MODULES acinclude.m4:763: warning: underquoted definition of AM_PATH_SDL acinclude.m4:967: warning: underquoted definition of AC_CHECK_V4L acinclude.m4:1012: warning: underquoted definition of AC_FIND_FILE acinclude.m4:1027: warning: underquoted definition of KDE_MOC_ERROR_MESSAGE acinclude.m4:1038: warning: underquoted definition of KDE_UIC_ERROR_MESSAGE acinclude.m4:1054: warning: underquoted definition of AC_PATH_QT_MOC_UIC acinclude.m4:1090: warning: underquoted definition of AC_PATH_QT acinclude.m4:1366: warning: underquoted definition of AC_FIND_ZLIB acinclude.m4:1388: warning: underquoted definition of AC_FIND_PNG acinclude.m4:1419: warning: underquoted definition of KDE_PROG_LIBTOOL acinclude.m4:1436: warning: underquoted definition of AC_CHECK_KSIZE_T acinclude.m4:1486: warning: underquoted definition of AM_PATH_PROG_WITH_TEST_KDE acinclude.m4:1524: warning: underquoted definition of AM_DISABLE_LIBRARIES acinclude.m4:1551: warning: underquoted definition of AM_LC_MESSAGES acinclude.m4:1567: warning: underquoted definition of AM_PATH_LINUX acinclude.m4:1592: warning: underquoted definition of AM_PATH_VIDIX acinclude.m4:1630: warning: underquoted definition of AM_PATH_VORBIS acinclude.m4:1729: warning: underquoted definition of AM_PATH_XVID /usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG /usr/share/aclocal/libfame.m4:6: warning: underquoted definition of AM_PATH_LIBFAME /usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBOGGFLAC /usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBOGGFLACPP /usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC /usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBFLACPP /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/share/aclocal/gnet-2.0.m4:8: warning: underquoted definition of AM_PATH_GNET_2_0 /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB /usr/share/aclocal/gimpprint.m4:8: warning: underquoted definition of AM_PATH_GIMPPRINT /usr/share/aclocal/g-wrap.m4:7: warning: underquoted definition of AC_GWRAP_CHECK_GUILE /usr/share/aclocal/g-wrap.m4:23: warning: underquoted definition of AM_PATH_GWRAP /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO /usr/share/aclocal/ac_find_motif.m4:21: warning: underquoted definition of AC_FIND_MOTIF /usr/share/aclocal/ac_find_motif.m4:223: warning: underquoted definition of AC_FIND_LIBXP /usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB Running autoheader... Running autoconf... Running automake... Now you are ready to run ./configure

Please remove the file config.cache after changing your setup so that configure will find the changes next time. To speedup configure process use option cache-file i.e.:

configure --cache-file=config.cache

With freetype-2.1.5 on top of LFS-5.1pre1 was:

Generating build information... Running libtoolize... Running aclocal ... Running autoheader... Running autoconf... Running automake... Now you are ready to run ./configure

Please remove the file config.cache after changing your setup so that configure will find the changes next time. To speedup configure process use option cache-file i.e.:

configure --cache-file=config.cache

Change History (2)

comment:1 by Randy McMurchy, 20 years ago

Resolution: fixed
Status: newclosed

Added freetype_fix patch to Avifile instructions in SVN.

The aclocal messages are simply warnings that don't affect anything.

Closing the bug. There's nothing we can do about the LFS-5.1 instructions.

comment:2 by bdubbs@…, 10 years ago

Milestone: old

Milestone old deleted

Note: See TracTickets for help on using tickets.