Bug 7552 - ft2build.h: No such file or directory
Summary: ft2build.h: No such file or directory
Status: RESOLVED DUPLICATE of bug 7551
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.2.0
Hardware: SPARC Solaris
: high critical
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-17 05:55 UTC by Santosh
Modified: 2006-07-18 12:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Santosh 2006-07-17 05:55:50 UTC
Hi,

I am trying to build and install Cairo1.2.0 on sparc Solaris OS 5.10.
While doing  "make", I get following error for include files.
Also, I couldn't find ft2build.h on my machine.

Can you please give me quick fix/solution/workaround to
get rid of this build error ?

Thanx in advance.

Regards,
Santosh

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/openwin/include
-I/usr/openwin/include -I/usr/include/libpng12 -I/usr/sfw/include/freetype2
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -g -O2 -c
cairo-ft-font.c -Wp,-MD,.deps/cairo-ft-font.TPlo  -fPIC -DPIC -o
.libs/cairo-ft-font.o
In file included from cairo-ft-private.h:40,
                from cairo-ft-font.c:42:
cairo-ft.h:47: ft2build.h: No such file or directory
cairo-ft.h:48: `#include' expects "FILENAME" or <FILENAME>
In file included from cairo-ft-font.c:45:
/usr/include/fontconfig/fcfreetype.h:27: ft2build.h: No such file or directory
/usr/include/fontconfig/fcfreetype.h:28: `#include' expects "FILENAME" or <FILENAME>
cairo-ft-font.c:47: ft2build.h: No such file or directory
cairo-ft-font.c:48: `#include' expects "FILENAME" or <FILENAME>
cairo-ft-font.c:49: `#include' expects "FILENAME" or <FILENAME>
cairo-ft-font.c:50: `#include' expects "FILENAME" or <FILENAME>
cairo-ft-font.c:52: `#include' expects "FILENAME" or <FILENAME>
*** Error code 1
make: Fatal error: Command failed for target `cairo-ft-font.lo'
Current working directory /usr2/sankulka/DownLoads/XX/cairo-1.2.0/src
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /usr2/sankulka/DownLoads/XX/cairo-1.2.0/src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
 case $f in \
   *=* | --[!k]*);; \
   *k*) failcom='fail=yes';; \
 esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='pixman src doc test'; for subdir in $list; do \
 echo "Making $target in $subdir"; \
 if test "$subdir" = "."; then \
   dot_seen=yes; \
   local_target="$target-am"; \
 else \
   local_target="$target"; \
 fi; \
 (cd $subdir && make  $local_target) \
 || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
 make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr2/sankulka/DownLoads/XX/cairo-1.2.0
*** Error code 1
make: Fatal error: Command failed for target `all'
Comment 1 Behdad Esfahbod 2006-07-18 12:18:10 UTC

*** This bug has been marked as a duplicate of 7551 ***


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.