Closed
Bug 335568
Opened 19 years ago
Closed 18 years ago
linking libgfxps.so fails: nsFontMetricsPS.o: In function `nsXftType1Generator::Init(nsXftEntry*)':nsFontMetricsPS.cpp:(.text+0x3b2): undefined reference to `FT_Init_FreeType'
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: tuukka.tolvanen, Assigned: kherron+mozilla)
References
Details
Attachments
(2 files)
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
Since bug 333640. Backing that out in configure.in and autoconf2.13'ing fixes issue. I haven't noticed any related runtime issues previously. Debian testing/unstable. Trunk firefox, defaults. Running failing commands with -lfreetype is successful. My build logs up to 2006-02-23 say checking MOZ_XFT_LIBS... -L/usr/X11R6/lib -lXft -lfreetype -lz -lXrender -lX11 -lfontconfig and from 2006-02-27 onward checking MOZ_XFT_LIBS... -lXft -lfontconfig though I can't say for sure if I've changed configurations between those dates. I might want to try blaming dpkg.log.2.gz:2006-02-23 12:01:42 upgrade libxft-dev 2.1.7-1 2.1.8.2-3 and http://bugs.debian.org/349803 though that's mostly shooting in the dark by word association.
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
More shooting in the dark: libxft-dev 2.1.7-1 xft.pc (has no Libs.private): Libs: -L${libdir} -lXft -lX11 ${freetypelibs} ${xrenderlibs} libxft-dev 2.1.8.2-5.1 xft.pc: Libs: -L${libdir} -lXft Libs.private: -lX11 ${xrenderlibs} ${freetypelibs} That is, currently $ pkg-config --libs xft -lXft -lfontconfig $ pkg-config --libs --static xft -L/usr/X11R6/lib -lXft -lX11 -lfreetype -lfontconfig
Comment 3•19 years ago
|
||
I had a similar compile failure trying to compile trunk SeaMonkey.
Assignee | ||
Comment 4•19 years ago
|
||
The PS module needs some symbols from libfreetype. After fixing that, I encountered the same problem in gfx/src/gtk. I haven't seen any bugs about the gtk issue so this patch fixes both makefiles. Unfortunately I won't be able to actually test the resulting builds until this evening, but this allows the build to complete.
Comment 5•19 years ago
|
||
Patch posted does allow SeaMonkey trunk to compile.
Comment 6•18 years ago
|
||
Comment on attachment 219925 [details] [diff] [review] Link with freetype since there are reports of this patch working, requesting review
Attachment #219925 -
Flags: review?(benjamin)
Updated•18 years ago
|
Attachment #219925 -
Flags: review?(benjamin) → review+
Updated•18 years ago
|
Assignee: nobody → kherron+mozilla
Assignee | ||
Comment 7•18 years ago
|
||
Checked in, resolving fixed.
> cvs commit gfx/src/ps/Makefile.in gfx/src/gtk/Make*
Checking in gfx/src/ps/Makefile.in;
/cvsroot/mozilla/gfx/src/ps/Makefile.in,v <-- Makefile.in
new revision: 1.60; previous revision: 1.59
done
Checking in gfx/src/gtk/Makefile.in;
/cvsroot/mozilla/gfx/src/gtk/Makefile.in,v <-- Makefile.in
new revision: 1.126; previous revision: 1.125
done
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•