I am adding targets to be built to default build aub of my http://appsfromscratch.berlios.de/ project. The problematic target is fontconfig-2.3.2. 'configure' for it completes successfully, but 'make' fails. The error messages are: " gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/mnt/removable4/sergei/build_work/install/freetype-2.2.1/include/freetype2 -I/mnt/removable4/sergei/build_work/install/freetype-2.2.1/include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DFONTCONFIG_PATH=\"/mnt/removable4/sergei/build_work/install/fontconfig-2.3.2/etc/fonts\" -I.. -I../src -I/mnt/removable4/sergei/build_work/install/zlib-1.2.3/include -g -O2 -MT fcfreetype.lo -MD -MP -MF .deps/fcfreetype.Tpo -c fcfreetype.c -fPIC -DPIC -o .libs/fcfreetype.o fcfreetype.c:53:10: error: #include expects "FILENAME" or <FILENAME> fcfreetype.c:58:10: error: #include expects "FILENAME" or <FILENAME> fcfreetype.c:59:10: error: #include expects "FILENAME" or <FILENAME> fcfreetype.c:60:10: error: #include expects "FILENAME" or <FILENAME> ". Indeed, the source file looks strange: " ... 47 #include <stdlib.h> 48 #include <stdio.h> 49 #include <string.h> 50 #include "fcint.h" 51 #include <ft2build.h> 52 #include FT_FREETYPE_H 53 #include FT_INTERNAL_OBJECTS_H 54 #include FT_TRUETYPE_TABLES_H 55 #include FT_SFNT_NAMES_H 56 #include FT_TRUETYPE_IDS_H 57 #include FT_TYPE1_TABLES_H 58 #include FT_INTERNAL_STREAM_H 59 #include FT_INTERNAL_SFNT_H 60 #include FT_INTERNAL_TRUETYPE_TYPES_H 61 #if HAVE_FT_GET_X11_FONT_FORMAT 62 #include FT_XFREE86_H 63 #endif 64 65 #if HAVE_FT_GET_BDF_PROPERTY 66 #include FT_BDF_H 67 #include FT_MODULE_H ... ". Since 'configure' completes without an error I expect 'make' to work flawlessly too. Please let me know if need any additional info.
Created attachment 6536 [details] 'configure' log file
Created attachment 6537 [details] created by 'configure' Makefile
Created attachment 6538 [details] overall build log file See how 'configure' and 'make' are called. Almost everything should be 'local', i.e. from places my script defined, not from system locations.
Anybody ?
This is fixed on the 2.4 branch; freetype changed quite a bit
(In reply to comment #5) > This is fixed on the 2.4 branch; freetype changed quite a bit If I understand correctly, it is impossible to compile fontconfig-2.3.2 in principle - that's because FT_FREETYPE_H FT_INTERNAL_OBJECTS_H FT_TRUETYPE_TABLES_H FT_SFNT_NAMES_H FT_TRUETYPE_IDS_H FT_TYPE1_TABLES_H FT_INTERNAL_STREAM_H FT_INTERNAL_SFNT_H FT_INTERNAL_TRUETYPE_TYPES_H FT_XFREE86_H macros are defined nowhere in the source tarball and there is no '#include ...' statement in fcfreetype.c file which would make the macros defined. If it's the case, could you please remove any mentioning of fontconfig-2.3.2 from he project page ? It is really confusing. If it is not the case, could you please explain how/(where from) FT_FREETYPE_H FT_INTERNAL_OBJECTS_H FT_TRUETYPE_TABLES_H FT_SFNT_NAMES_H FT_TRUETYPE_IDS_H FT_TYPE1_TABLES_H FT_INTERNAL_STREAM_H FT_INTERNAL_SFNT_H FT_INTERNAL_TRUETYPE_TYPES_H FT_XFREE86_H macros get their values ?
This is fixed in on the 2.4 branch.
*** Bug 7870 has been marked as a duplicate of this bug. ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.