Closed
Bug 334564
Opened 19 years ago
Closed 19 years ago
build unable to locate ft2build.h with --disable-freetype2 option
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: Rich.Fleck, Unassigned)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (X11; U; IRIX64 IP35; en-US; rv:1.8a6) Gecko/20050212
Build Identifier: ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/1.5/source
build fails with cc-1005 CC: ERROR File = ../../../../gfx/src/ps/nsFontMetricsPS.h, Line = 54
The source file "ft2build.h" is unavailable.
#include <ft2build.h>
^
1 catastrophic error detected in the compilation of "../../../../gfx/src/ps/nsDeviceContextPS.cpp".
Compilation terminated.
Reproducible: Always
Steps to Reproduce:
1. configure --disable-optimize -enable-application=mail --disable-freetype2
2. gmake
3. gmake again because of Bug 258616
Actual Results:
uilding deps for ../../../../gfx/src/ps/nsDeviceContextPS.cpp
CC -o nsDeviceContextPS.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"IRIX6\" -DOSARCH=\"IRIX\" -DBUILD_ID=0000000000 -I../.. -I../../../../gfx/src/ps/.. -I../../../../gfx/src/ps/../shared -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/pref -I../../../dist/include/caps -I../../../dist/include/locale -I../../../dist/include/uconv -I../../../dist/include/view -I../../../dist/include/necko -I../../../dist/include/imglib2 -I../../../dist/include/unicharutil -I../../../dist/include/gfx -I../../../dist/include -I../../../dist/include/nspr -I../../../dist/sdk/include -I/usr/freeware/include -I/xlv1/freeware/2003.Nov/xft/2.1.2-root/usr/freeware/include -I/xlv1/freeware/2003.Nov/xft/2.1.2-root/usr/freeware/include/freetype2 -I/xlv1/freeware/2003.Nov/xrender/0.8.3-root/xlv1/freeware/2003.Nov/xft/2.1.2-root/usr/freeware/include -KPIC -LANG:exceptions=OFF -woff 3262 -G 4 -n32 -DNDEBUG -DTRIMMED -I/usr/freeware/include/glib-2.0 -I/usr/freeware/lib32/glib-2.0/include -I/usr/freeware/include/pango-1.0 -I/xlv1/freeware/2003.Nov/pango/1.4.0-root/usr/freeware/include -I/xlv1/freeware/2003.Nov/xft/2.1.2-root/xlv1/freeware/2003.Nov/pango/1.4.0-root/usr/freeware/include -I/xlv1/freeware/2003.Nov/xft/2.1.2-root/xlv1/freeware/2003.Nov/pango/1.4.0-root/usr/freeware/include/freetype2 -I/xlv1/freeware/2003.Nov/xrender/0.8.3-root/xlv1/freeware/2003.Nov/xft/2.1.2-root/xlv1/freeware/2003.Nov/pango/1.4.0-root/usr/freeware/include -I/usr/freeware/include/gtk-2.0 -I/usr/freeware/include/atk-1.0 -I/usr/freeware/lib32/gtk-2.0/include -DMOZILLA_VERSION=\"1.8\" -DMOZILLA_VERSION_U=1.8 -DIRIX=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBSOCKET=1 -DFUNCPROTO=15 -DHAVE_XSHM=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_STAT64=1 -DHAVE_LSTAT64=1 -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk2\" -DMOZ_WIDGET_GTK2=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_X11=1 -DMOZ_THUNDERBIRD=1 -DMOZ_BUILD_APP=mail -DMOZ_XUL_APP=1 -DMOZ_STATIC_MAIL_BUILD=1 -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DMOZ_ENABLE_XFT=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DMOZ_XTF=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZ_ACCESSIBILITY_ATK=1 -DMOZILLA_LOCALE_VERSION=\"1.8b5\" -DMOZILLA_REGION_VERSION=\"1.8b5\" -DMOZILLA_SKIN_VERSION=\"1.8\" -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT ../../../../gfx/src/ps/nsDeviceContextPS.cpp
cc-1005 CC: ERROR File = ../../../../gfx/src/ps/nsFontMetricsPS.h, Line = 54
The source file "ft2build.h" is unavailable.
#include <ft2build.h>
^
1 catastrophic error detected in the compilation of "../../../../gfx/src/ps/nsDeviceContextPS.cpp".
Compilation terminated.
gmake[4]: *** [nsDeviceContextPS.o] Error 2
checking to see if ft2build.h is on machine
Watt Watt:mozilla [110] ls /usr/local/include/ft2build.h
/usr/local/include/ft2build.h
checking PATH
Watt Watt:mozilla [111] echo $PATH
/usr/local/Trolltech/Qt-4.1.2/qmake:/usr/local/Trolltech/Qt-4.1.2/bin:/usr/local/lsf6.0/6.0/sgi6.5.8/bin:/usr/local/lsf6.0/6.0/sgi6.5.8/etc:/usr/local/Trolltech/Qt-4.1.2:/usr/sbin:/usr/bsd:/sbin:/usr/bin:/usr/bin/X11:.:/usr/people/Aero/bin:/usr/local/bin:/usr/freeware/bin:/usr/fv/bin:/usr/xrt/bin:/usr/bxpro/bin:/usr/people/nrec/visiun/sgi6:/usr/java2/bin:/usr/local/include:/usr/local/bin
The --disable-freetype2 option only applies to gecko's direct use of freetype. It doesn't cover Xft's freetype dependency. I don't see -I/usr/local/include on your command line. My system-installed xft.pc looks like it should contain the cflags/ldflags to cover the freetype dependency. What does `pkg-config --cflags xft` & `pkg-config --libs xft` return on your system?
Assignee: mscott → nobody
Product: Thunderbird → Core
QA Contact: chase → build-config
Version: unspecified → Trunk
results of pkg-config
pkg-config --cflags xft
-I/usr/freeware/include -I/xlv1/freeware/2003.Nov/xft/2.1.2-root/usr/freeware/include -I/xlv1/freeware/2003.Nov/xft/2.1.2-root/usr/freeware/include/freetype2 -I/xlv1/freeware/2003.Nov/xrender/0.8.3-root/xlv1/freeware/2003.Nov/xft/2.1.2-root/usr/freeware/include
Watt Watt:~ [180] pkg-config --libs xft
-L/usr/freeware/lib32 -L/xlv1/freeware/2003.Nov/xft/2.1.2-root/usr/freeware/lib32 -lXft -lfreetype -lXrender -lX11 -lfontconfig
I see those xft cflags on your compile line. Do any of directories list in your xft cflags contain ft2build.h ? Do you know what version of freetype your build of xft is bundling?
Downloading the following from
SGI and doing the required
make installs on the srcs
straightened out the .pc files.
fw_freetype-2.1.3.tardist
fw_render-0.8.tardist
fw_glib2-2.4.0.tardist
fw_xft-2.1.2.tardist
fw_pango-1.4.0.tardist
fw_xrender-0.8.3.tardist
This allowed the compilation to continue to a
new problem which I'll start trying to hunt down.
Thanks for pointing me in the right direction.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•