[devel] почему не собирается мозилла?
"Алексей Любимов"
=?iso-8859-1?q?avl_=CE=C1_l14=2Eru?=
Вс Дек 22 02:49:27 MSK 2002
Просто rpm -i mozilla...-src.rpm
rpm -ba mozilla.spec
сборка прерывается вот на этом:
In file included from nsGfxFactoryGTK.cpp:65:
nsFontMetricsXft.h:248: syntax error before `*' token
In the directory /home/avl/RPM/BUILD/mozilla/gfx/src/gtk
The following command failed to execute properly:
c++ -o nsGfxFactoryGTK.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE="Linux2.4.19-alt0" -
DOSARCH="Linux" -DOJI -D_BSD_SOURCE -DUSE_POSTSCRIPT -I./. -I./.. -I./../shared
-I./../x11shared -I../../../dist/include/xpcom -I../../../dist/include/string -I
../../../dist/include/widget -I../../../dist/include/view -I../../../dist/includ
e/util -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dis
t/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/nec
ko -I../../../dist/include/content -I../../../dist/include/layout -I../../../dis
t/include/imglib2 -I../../../dist/include/gfx -I../../../dist/include -I/home/av
l/RPM/BUILD/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/in
clude -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -fshort-wchar
-pthread -pipe -DNDEBUG -DTRIMMED -O2 -I/usr/include/Xft2 -I/usr/include/freety
pe2 -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/l
ib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -incl
ude ../../../mozilla-config.h -Wp,-MD,.deps/nsGfxFactoryGTK.pp nsGfxFactoryGTK.c
pp
make[4]: *** [nsGfxFactoryGTK.o] Error 1
make[3]: *** [libs] Error 2
make[2]: *** [libs] Error 2
make[1]: *** [tier_9] Error 2
make: *** [default] Error 2
ошибка: Неверный код возврата из /home/avl/tmp/rpm-tmp.23256 (%build)
Ошибки сборки пакетов:
Неверный код возврата из /home/avl/tmp/rpm-tmp.23256 (%build)
[avl на avl SPECS]$ rpm -qa | grep gcc
gcc3.2-3.2.1-alt2
gcc3.2-doc-3.2.1-alt2
gcc-common-1.2.1-alt2
libgcc3.2-debug-3.2.1-alt2
gcc3.2-g77-3.2.1-alt2
gcc3.2-c++-3.2.1-alt2
libgcc3.2-3.2.1-alt2
gcc3.2-objc-3.2.1-alt2
gcc3.2-java-3.2.1-alt2
[avl на avl SPECS]$ rpm -qa | grep libstd
libstdc++3.2-3.2.1-alt2
libstdc++3.2-devel-3.2.1-alt2
libstdc++3.2-debug-3.2.1-alt2
[avl на avl SPECS]$ rpm -qa | grep freetype
freetype2-2.1.2-alt2
freetype2-devel-2.1.2-alt2
freetype-1.3.1-alt3
[avl на avl SPECS]$ rpm -qa | grep Xft
libXft-2.0-alt5
libXft-devel-2.0-alt5
[avl на avl SPECS]$ rpm -qa | grep fontconfig
fontconfig-devel-2.0-alt10
libfontconfig-2.0-alt10
fontconfig-2.0-alt10
в заголовке nsFontMetricsXft.h ничего подозрительного нет:
// Xft-related items nsFontXft *mWesternFont;
FcPattern *mPattern; <- 248 строка. Чего тут может не работать?
PRBool mMatched;
Чего с этим делать-то?
Подробная информация о списке рассылки Devel