Re: building firefox 1.5 on FC4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2005-12-01 at 11:18 -0500, Jack Howarth wrote:
>     Has anyone managed to build the Firefox-1.5-1 src rpm from the
> development try under current FC4? I was able to build both the
> required cairo and nspr src rpms (with a slight mod to avoid the
> modular X11 changes). However I find that the firefox build fails at...
> 
> c++ -o nsNativeThemeGTK.o -c -I../../../dist/include/system_wrappers -include .. /../../config/gcc_hidden.h -DNATIVE_THEME_SUPPORT -DMOZILLA_INTERNAL_API -DOSTYP E=\"Linux2.6.14-1\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -DUSE_POSTSCRIPT -I ../.. -I./. -I./.. -I./../shared -I./../x11shared -I/usr/X11R6/include -I/usr/in clude/freetype2 -I/usr/include/freetype2/config    -I../../../dist/include/xpcom  -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/i nclude/view -I../../../dist/include/util -I../../../dist/include/pref -I../../.. /dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/ locale -I../../../dist/include/necko -I../../../dist/include/content -I../../../ dist/include/layout -I../../../dist/include/gfx -I../../../dist/include -I/usr/i nclude/nspr4    -I../../../dist/sdk/include -I/usr/X11R6/include   -fPIC  -I/usr /X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wca st-align -Wover!
loa
>  ded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dt or -Wno-long-long -pedantic -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os  -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables  -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/i nclude/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/at k-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2 /config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/X11R6/incl ude -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsNativeTh emeGTK.pp nsNativeThemeGTK.cpp
> mozilla-decoder.cpp: In function 'int mozilla_decoders_init()':
> mozilla-decoder.cpp:211: error: 'pango_cairo_font_map_get_default' was not decla red in this scope
> gmake[5]: *** [mozilla-decoder.o] Error 1
> gmake[5]: *** Waiting for unfinished jobs....
> nsFontMetricsPango.cpp: In member function 'virtual PRInt32 nsFontMetricsPango:: GetPosition(const PRUnichar*, PRUint32, nsPoint)':
> nsFontMetricsPango.cpp:984: warning: suggest parentheses around assignment used as truth value
> ../../../dist/include/layout/nsIMenuParent.h:101: warning: 'DirectionFromKeyCode _lr_tb' defined but not used
> ../../../dist/include/layout/nsIMenuParent.h:114: warning: 'DirectionFromKeyCode _rl_tb' defined but not used
> gmake[5]: Leaving directory `/home/howarth/rhdev/BUILD/mozilla/gfx/src/gtk'
> gmake[4]: *** [libs] Error 2
> gmake[4]: Leaving directory `/home/howarth/rhdev/BUILD/mozilla/gfx/src'
> gmake[3]: *** [libs] Error 2
> gmake[3]: Leaving directory `/home/howarth/rhdev/BUILD/mozilla/gfx'
> gmake[2]: *** [tier_9] Error 2
> gmake[2]: Leaving directory `/home/howarth/rhdev/BUILD/mozilla'
> gmake[1]: *** [default] Error 2
> gmake[1]: Leaving directory `/home/howarth/rhdev/BUILD/mozilla'
> make: *** [build] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.95074 (%build)
> 
> Could this be a problem due to the recent upgrade to gcc 4.0.2?
>                               Jack
> 

You need to edit the spec file.
https://www.redhat.com/archives/fedora-devel-list/2005-November/msg01244.html

Gilboa



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux