Closed
Bug 654422
Opened 14 years ago
Closed 14 years ago
configure: error: Can't find header fontconfig/fcfreetype.h
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: decedion, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: 4.0.1
I'm trying to compile Firefox 4.0.1 on Ubuntu Lucid 64 bits but: "configure: error: Can't find header fontconfig/fcfreetype.h."
This file exists:
$ locate fcfreetype.h
/usr/include/fontconfig/fcfreetype.h
My config:
--enable-application=browser --with-x --enable-official-branding --disable-accessibility --enable-raw --disable-tests --disable-parental-controls --enable-faststart --disable-pedantic --disable-necko-wifi --disable-debug --enable-optimize --enable-crypto --enable-ui-locale=es-ES --with-l10n-base=. --disable-freetypetest --with-pthreads --disable-crashreporter --disable-updater --enable-system-sqlite --disable-freetypetest
Reproducible: Always
Comment 1•14 years ago
|
||
You most probably don't have libfontconfig1-dev installed.
Please refer to https://developer.mozilla.org/en/Linux_Build_Prerequisites for the list of things you need to build Firefox.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 2•14 years ago
|
||
I have installed libfontconfig1-dev (2.8.0-2ubuntu1)
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 3•14 years ago
|
||
--disable-freetypetest ?
Why are you using all those configure options? You should just use --enable-application=browser and skip the rest
| Reporter | ||
Comment 4•14 years ago
|
||
(In reply to comment #3)
> --disable-freetypetest ?
>
> Why are you using all those configure options? You should just use
> --enable-application=browser and skip the rest
I want compile a Firefox fast and optimized for my system.
Anyway, this is irrelevant for the resolution of this bug.
| Reporter | ||
Comment 5•14 years ago
|
||
This is the last part of config.log:
configure:25385: checking for fontconfig/fcfreetype.h
configure:25395: gcc -E conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/fontconfig/fcfreetype.h:27,
from configure:25391:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
In file included from configure:25391:
/usr/include/fontconfig/fcfreetype.h:28:10: error: #include expects "FILENAME" or <FILENAME>
configure: failed program was:
#line 25390 "configure"
#include "confdefs.h"
#include <fontconfig/fcfreetype.h>
And ftheader.h exists too:
$ locate ftheader.h
/home/simon/sources/mozilla-2.0/modules/freetype2/include/freetype/config/ftheader.h
/usr/include/freetype2/freetype/config/ftheader.h
| Reporter | ||
Comment 6•14 years ago
|
||
I forgot to say:
$ pkg-config --cflags freetype2
-I/usr/include/freetype2
Comment 7•14 years ago
|
||
(In reply to comment #5)
> configure:25395: gcc -E conftest.c >/dev/null 2>conftest.out
There should be a -I/usr/include/freetype2 on this command line, which should come from PKG_CHECK_MODULES(FT2, freetype2 > 6.1.0 fontconfig)
| Reporter | ||
Comment 8•14 years ago
|
||
$ pkg-config --cflags "freetype2 > 6.1.0 fontconfig"
-I/usr/include/freetype2
Comment 9•14 years ago
|
||
Please attach your config.log
| Reporter | ||
Comment 10•14 years ago
|
||
It's curious but if I add "--disable-pango" to configure it works well.
| Reporter | ||
Comment 11•14 years ago
|
||
I understand nothing, now the check works with (or without) "--disable-pango"... ¿?
| Reporter | ||
Updated•14 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago → 14 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
•