I'm trying to build MozillaFirefox in SLED 11 from SLED source rpm.

Spec file says:
Name: MozillaFirefox
Version: 3.6.24
Release: 0.3.1

I run build witch command 'rpmbuild -bb MozillaFirefox.spec'

Unfortunately it ends to this:


nsUnixShellService.cpp
c++ -o nsUnixShellService.o -c -I../../../../dist/system_wrappers
-include ../..
/../../config/gcc_hidden.h -DOSTYPE=\"Linux2.6.32.49-0\" -DOSARCH=Linux
-DMOZ_AP
P_NAME=\"firefox\" -I../../../../toolkit/xre -I. -I.
-I../../../../dist/include
-I../../../../dist/include/nsprpub
-I/usr/lib/xulrunner-devel-1.9.0.19/include -
I/usr/lib/xulrunner-devel-1.9.0.19/include/nsprpub -I/usr/include/nspr4
-I/usr/i
nclude/nss3 -fPIC -fno-rtti -fno-exceptions -Wall
-Wpointer-arith -Wov
erloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wcast-ali
gn -Wno-invalid-offsetof -Wno-long-long -pedantic -O2 -g -m32
-march=i586 -mtune
=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -
fasynchronous-unwind-tables -Os -fno-strict-aliasing
-fno-strict-aliasing -fshor
t-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks
-fno-reorder-fun
ctions -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/li
b/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0
-DMOZILLA_CLIENT -include ../../../../mozilla-config.h
-Wp,-MD,.deps/nsUnixShellService.pp nsUnixShellService.cpp
nsUnixShellService.cpp:40:24: error: nsKDEUtils.h: No such file or
directory
nsUnixShellService.cpp: In function ‘nsresult
nsUnixShellServiceConstructor(nsISupports*, const nsIID&, void**)’:
nsUnixShellService.cpp:49: error: ‘nsKDEUtils’ has not been declared
make[7]: *** [nsUnixShellService.o] Error 1
make[7]: Leaving directory
`/usr/src/packages/BUILD/mozilla/browser/components/shell/src'
make[6]: *** [libs] Error 2

Any hints what is missing?


--
tavasti
------------------------------------------------------------------------
tavasti's Profile: http://forums.novell.com/member.php?userid=117297
View this thread: http://forums.novell.com/showthread.php?t=451482