ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] почему не собирается мозилла?
@ 2002-12-21 23:49 "Алексей Любимов"
  2002-12-22  0:19 ` "Алексей Любимов"
  0 siblings, 1 reply; 2+ messages in thread
From: "Алексей Любимов" @ 2002-12-21 23:49 UTC (permalink / raw)
  To: devel

Просто 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;

Чего с этим делать-то?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [devel] почему не собирается мозилла?
  2002-12-21 23:49 [devel] почему не собирается мозилла? "Алексей Любимов"
@ 2002-12-22  0:19 ` "Алексей Любимов"
  0 siblings, 0 replies; 2+ messages in thread
From: "Алексей Любимов" @ 2002-12-22  0:19 UTC (permalink / raw)
  To: devel

несколько раз набрал make в корне сборочного дерева и вот вам вторая остановка:


make[3]: Вход в каталог `/home/avl/RPM/build/mozilla/uriloader/exthandler'
nsExternalHelperAppService.cpp
c++ -o nsExternalHelperAppService.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI  -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/unicharutil -I../../dist/include/mimetype -I../../dist/include/uriloader -I../../dist/include/dom -I../../dist/include/necko -I../../dist/include/rdf -I../../dist/include/webshell -I../../dist/include/helperAppDlg -I../../dist/include/plugin -I../../dist/include/pref -I../../dist/include/intl -I../../dist/include/uconv -I../../dist/include/windowwatcher -I../../dist/include/exthandler -I../../dist/include -I/home/avl/RPM/build/mozilla/dist/include/nspr      -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -fshort-wchar -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_avl -DTRACING -g -fno-inline  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,
 .deps/nsExternalHelperAppService.pp nsExternalHelperAppService.cpp
nsExternalHelperAppService.cpp:105:42: warning: multi-character character constant
nsExternalHelperAppService.cpp:105:50: warning: multi-character character constant
nsExternalHelperAppService.cpp:106:69: warning: multi-character character constant
nsExternalHelperAppService.cpp:106:77: warning: multi-character character constant
nsExternalHelperAppService.cpp:107:56: warning: multi-character character constant
nsExternalHelperAppService.cpp:107:63: warning: multi-character character constant
nsExternalHelperAppService.cpp:108:59: warning: multi-character character constant
nsExternalHelperAppService.cpp:108:67: warning: multi-character character constant
nsExternalHelperAppService.cpp:109:69: warning: multi-character character constant
nsExternalHelperAppService.cpp:109:77: warning: multi-character character constant
nsExternalHelperAppService.cpp:110:83: warning: multi-character character constant
nsExternalHelperAppService.cpp:110:91: warning: multi-character character constant
nsExternalHelperAppService.cpp:114:37: warning: multi-character character constant
nsExternalHelperAppService.cpp:114:45: warning: multi-character character constant
nsExternalHelperAppService.cpp:115:61: warning: multi-character character constant
nsExternalHelperAppService.cpp:115:69: warning: multi-character character constant
nsExternalHelperAppService.cpp:116:44: warning: multi-character character constant
nsExternalHelperAppService.cpp:116:52: warning: multi-character character constant
nsExternalHelperAppService.cpp:125:56: warning: multi-character character constant
nsExternalHelperAppService.cpp:125:63: warning: multi-character character constant
../../dist/include/xpcom/nsCOMPtr.h: In member function `void nsCOMPtr<T>::assign_assuming_AddRef(T*) [with T = nsIInterfaceRequestor]':
../../dist/include/xpcom/nsCOMPtr.h:924:   instantiated from `void nsCOMPtr<T>::assign_from_helper(const nsCOMPtr_helper&, const nsIID&) [with T = nsIInterfaceRequestor]'
../../dist/include/xpcom/nsCOMPtr.h:565:   instantiated from `nsCOMPtr<T>::nsCOMPtr(const nsQueryInterface&) [with T = nsIInterfaceRequestor]'
nsExternalHelperAppService.cpp:988:   instantiated from here
../../dist/include/xpcom/nsCOMPtr.h:472: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.altlinux.ru/> for instructions.
make[3]: *** [nsExternalHelperAppService.o] Ошибка 1
make[3]: Выход из каталог `/home/avl/RPM/build/mozilla/uriloader/exthandler'
make[2]: *** [libs] Ошибка 2
make[2]: Выход из каталог `/home/avl/RPM/build/mozilla/uriloader'
make[1]: *** [tier_9] Ошибка 2
make[1]: Выход из каталог `/home/avl/RPM/build/mozilla'
make: *** [default] Ошибка 2

В прошлый раз эта ошибка выскакивала, если отключить поддержку Xft2
Не могу понять, чем я хуже тех, у кого мозилла собирается без проблем? :)









^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-22  0:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-21 23:49 [devel] почему не собирается мозилла? "Алексей Любимов"
2002-12-22  0:19 ` "Алексей Любимов"

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git