Build Firefox 1.5.0.1

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Build Firefox 1.5.0.1

Thierry R.
Hi,

I try to build Firefox 1.5.0.1 on a Debian sid with this .mozconfig
and I have this error, when I remove the option 'ac_add_options
--enable-static --disable-shared' , the build process is ok. any idea
?

Thanks in advance for your help!


. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox-build
ac_add_options --with-system-zlib
ac_add_options --with-system-png
ac_add_options --with-system-jpeg
ac_add_options --enable-system-cairo
ac_add_options --enable-official-branding
ac_add_options --enable-canvas
ac_add_options --enable-strip
ac_add_options --disable-tests
ac_add_options --disable-installer
ac_add_options --disable-accessibility
ac_add_options --enable-xinerama
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-static --disable-shared



[...]
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontMetricsXft::SetupMiniFont()':nsFontMetricsXft.cpp:(.text+0x1a3):
 undefined reference to `XftDefaultSubstitute'
:nsFontMetricsXft.cpp:(.text+0x1dd): undefined reference to `XftFontOpenPattern'
:nsFontMetricsXft.cpp:(.text+0x248): undefined reference to `XftTextExtents8'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontMetricsXft::DrawUnknownGlyph(unsigned int, int, int,
_XftColor*,  _XftDraw*)':nsFontMetricsXft.cpp:(.text+0x38e): undefined
reference to `XftDrawRect'
:nsFontMetricsXft.cpp:(.text+0x3c1): undefined reference to `XftDrawRect'
:nsFontMetricsXft.cpp:(.text+0x3f9): undefined reference to `XftDrawRect'
:nsFontMetricsXft.cpp:(.text+0x430): undefined reference to `XftDrawRect'
:nsFontMetricsXft.cpp:(.text+0x4bb): undefined reference to `XftDrawString8'
:nsFontMetricsXft.cpp:(.text+0x50d): undefined reference to `XftDrawString8'
:nsFontMetricsXft.cpp:(.text+0x55d): undefined reference to `XftDrawString8'
:nsFontMetricsXft.cpp:(.text+0x5b1): undefined reference to `XftDrawString8'
:nsFontMetricsXft.cpp:(.text+0x60f): undefined reference to `XftDrawString8'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o):nsFontMetricsXft.cpp:(.text+0x655):
more undefined references to `XftDrawString8' fo llow
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontXft::~nsFontXft()':nsFontMetricsXft.cpp:(.text+0xade):
undefined  reference to `XftFontClose'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontXft::~nsFontXft()':nsFontMetricsXft.cpp:(.text+0xb3a):
undefined  reference to `XftFontClose'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontXft::~nsFontXft()':nsFontMetricsXft.cpp:(.text+0xb96):
undefined  reference to `XftFontClose'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontXft::GetXftFont()':nsFontMetricsXft.cpp:(.text+0xc39):
undefined  reference to `XftFontOpenPattern'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontXft::GetTextExtents32(unsigned int const*, unsigned
int, _XGlyph Info&)':nsFontMetricsXft.cpp:(.text+0xc88): undefined
reference to `XftTextExtents32'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontXft::CharToGlyphIndex(unsigned
int)':nsFontMetricsXft.cpp:(.text +0xcb4): undefined reference to
`XftCharIndex'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontXftCustom::~nsFontXftCustom()':nsFontMetricsXft.cpp:(.text+0xd53
): undefined reference to `XftUnlockFace'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontXftCustom::~nsFontXftCustom()':nsFontMetricsXft.cpp:(.text+0xd87
): undefined reference to `XftUnlockFace'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontXftCustom::~nsFontXftCustom()':nsFontMetricsXft.cpp:(.text+0xdbb
): undefined reference to `XftUnlockFace'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontXftCustom::CharToGlyphIndex(unsigned
int)':nsFontMetricsXft.cpp: (.text+0xed9): undefined reference to
`XftCharIndex'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontXftCustom::SetFT_FaceCharmap()':nsFontMetricsXft.cpp:(.text+0xf0
7): undefined reference to `XftLockFace'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsAutoDrawSpecBuffer::Flush()':nsFontMetricsXft.cpp:(.text+0xf86):
und efined reference to `XftGlyphExtents'
:nsFontMetricsXft.cpp:(.text+0xfb6): undefined reference to
`XftDrawGlyphFontSpec'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontXft::DrawStringSpec(unsigned int*, unsigned int,
void*)':nsFontM etricsXft.cpp:(.text+0x10fe): undefined reference to
`XftGlyphExtents'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontMetricsXft::GetWidth(char const*, unsigned int, int&,
nsRenderin gContextGTK*)':nsFontMetricsXft.cpp:(.text+0x128f):
undefined reference to `XftTextExtents8'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontMetricsXft::SetupFCPattern()':nsFontMetricsXft.cpp:(.text+0x1850
): undefined reference to `XftDefaultSubstitute'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontMetricsXft::~nsFontMetricsXft()':nsFontMetricsXft.cpp:(.text+0x1
a41): undefined reference to `XftFontClose'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontMetricsXft::PrepareToDraw(nsRenderingContextGTK*,
nsDrawingSurfa ceGTK*, _XftDraw**,
_XftColor&)':nsFontMetricsXft.cpp:(.text+0x1d09): undefined reference
to `XftDrawSetClipRectangles'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontXftCustom::GetTextExtents32(unsigned int const*,
unsigned int, _ XGlyphInfo&)':nsFontMetricsXft.cpp:(.text+0x228f):
undefined reference to `XftTextExtents32'
:nsFontMetricsXft.cpp:(.text+0x22f5): undefined reference to `XftGlyphExtents'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontMetricsXft::CacheFontMetrics()':nsFontMetricsXft.cpp:(.text+0x3c
30): undefined reference to `XftLockFace'
:nsFontMetricsXft.cpp:(.text+0x3e7c): undefined reference to `XftTextExtents16'
:nsFontMetricsXft.cpp:(.text+0x44a0): undefined reference to `XftUnlockFace'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontMetricsXft::~nsFontMetricsXft()':nsFontMetricsXft.cpp:(.text+0x5
19d): undefined reference to `XftFontClose'
../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o): In
function `nsFontMetricsXft::~nsFontMetricsXft()':nsFontMetricsXft.cpp:(.text+0x5
2bf): undefined reference to `XftFontClose'
../../dist/lib/components/libgfx_gtk.a(nsDrawingSurfaceGTK.o): In
function `nsDrawingSurfaceGTK::~nsDrawingSurfaceGTK()':nsDrawingSurfaceGTK.cp
p:(.text+0x48): undefined reference to `XftDrawDestroy'
../../dist/lib/components/libgfx_gtk.a(nsDrawingSurfaceGTK.o): In
function `nsDrawingSurfaceGTK::GetXftDraw()':nsDrawingSurfaceGTK.cpp:(.text+0
x3e2): undefined reference to `XftDrawCreate'
../../dist/lib/components/libgfx_gtk.a(nsDrawingSurfaceGTK.o): In
function `nsDrawingSurfaceGTK::~nsDrawingSurfaceGTK()':nsDrawingSurfaceGTK.cp
p:(.text+0x5e6): undefined reference to `XftDrawDestroy'
../../dist/lib/components/libgfx_gtk.a(nsDrawingSurfaceGTK.o): In
function `nsDrawingSurfaceGTK::~nsDrawingSurfaceGTK()':nsDrawingSurfaceGTK.cp
p:(.text+0x640): undefined reference to `XftDrawDestroy'
collect2: ld returned 1 exit status


--
Thierry Randrianiriana
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Build Firefox 1.5.0.1

Benjamin Smedberg
Thierry Randrianiriana wrote:
> Hi,
>
> I try to build Firefox 1.5.0.1 on a Debian sid with this .mozconfig
> and I have this error, when I remove the option 'ac_add_options
> --enable-static --disable-shared' , the build process is ok. any idea
> ?

What sources are you using? The Debian maintainers typically mangle the
Mozilla sources in unacceptable ways and so we don't support the Debian
source or binary packages.

> ac_add_options --enable-system-cairo

Have you tried without this option? I doubt this option is tested very well
(it's certainly not the official configuration).

--BDS
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Build Firefox 1.5.0.1

Thierry R.
Hi,

On 3/14/06, Benjamin Smedberg <[hidden email]> wrote:

> Thierry Randrianiriana wrote:
> > Hi,
> >
> > I try to build Firefox 1.5.0.1 on a Debian sid with this .mozconfig
> > and I have this error, when I remove the option 'ac_add_options
> > --enable-static --disable-shared' , the build process is ok. any idea
> > ?
>
> What sources are you using? The Debian maintainers typically mangle the
> Mozilla sources in unacceptable ways and so we don't support the Debian
> source or binary packages.
>

I downloaded the source from :
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.5.0.1/source

> > ac_add_options --enable-system-cairo
>
> Have you tried without this option? I doubt this option is tested very well
> (it's certainly not the official configuration).
>
I have the same error.


Thanks

--
Thierry Randrianiriana
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Build Firefox 1.5.0.1

Sylvain Pasche
In reply to this post by Benjamin Smedberg
On Tue, 14 Mar 2006 21:21:27 +0300, Thierry Randrianiriana wroteĀ :

> Hi,
>
> On 3/14/06, Benjamin Smedberg <[hidden email]> wrote:
>> Thierry Randrianiriana wrote:
>> > Hi,
>> >
>> > I try to build Firefox 1.5.0.1 on a Debian sid with this .mozconfig
>> > and I have this error, when I remove the option 'ac_add_options
>> > --enable-static --disable-shared' , the build process is ok. any idea
>> > ?
>>
>> What sources are you using? The Debian maintainers typically mangle the
>> Mozilla sources in unacceptable ways and so we don't support the Debian
>> source or binary packages.
>>
>>
> I downloaded the source from :
> ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.5.0.1/source
>
>> > ac_add_options --enable-system-cairo
>>
>> Have you tried without this option? I doubt this option is tested very
>> well (it's certainly not the official configuration).
>>
> I have the same error.
>
>
> Thanks

Hi,

I remember that I sometimes had to fine tune config/autoconf.mk and change
the line
XLIBS = -lX11
to
XLIBS = -lX11  -lXft

I have not tested it recently, but you could try this to see if it solves
your problem.

Sylvain
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds