I just tried to make mozilla from /usr/ports/www/mozilla/
however I got another new errors. last few lines:
nsXULElement.cpp
c++ -o nsXULElement.o -c -DOSTYPE=\"OpenBSD3\" -DOSARCH=\"OpenBSD\"
-D_IMPL_NS_LAYOUT -I. -I./../../document/src -I./../../../xml/content/src
-I./../../../base/src -I./../../../xml/document/src
-I./../../../html/style/src
-I./../../../html/content/src -I../../../../dist/include/xpcom
-I../../../../dist/include/string -I../../../../dist/include/gfx
-I../../../../dist/include/layout -I../../../../dist/include/content
-I../../../../dist/include/widget -I../../../../dist/include/htmlparser
-I../../../../dist/include/necko -I../../../../dist/include/dom
-I../../../../dist/include/js -I../../../../dist/include/caps
-I../../../../dist/include/rdf -I../../../../dist/include/xpconnect
-I../../../../dist/include/locale -I../../../../dist/include/lwbrk
-I../../../../dist/include/xuldoc -I../../../../dist/include/xultmpl
-I../../../../dist/include/webshell -I../../../../dist/include/view
-I../../../../dist/include/pref -I../../../../dist/include/xul
-I../../../../dist/include
-I/usr/ports/www/mozilla/w-mozilla-1.7.12p11/mozilla/dist/include/nspr
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include
-I/usr/local/include/libIDL-2.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include
-I/usr/local/include/libpng -I/usr/lib/include
-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 -Wno-non-virtual-dtor
-Wno-long-long -O2 -pipe -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED
-Os -I/usr/X11R6/include -DMOZILLA_CLIENT -include
../../../../mozilla-config.h -Wp,-MD,.deps/nsXULElement.pp nsXULElement.cpp
In file included from nsXULElement.h:64,
from ../../document/src/nsXULDocument.h:71,
from nsXULElement.cpp:121:
../../../../dist/include/dom/nsIDOMXULSelectCntrlEl.h:33: warning: `virtual
nsresult
nsIDOMXULSelectControlElement::GetSelectedItem(nsIDOMXULSelectControlItemElement**)
' was hidden
../../../../dist/include/dom/nsIDOMXULMultSelectCntrlEl.h:69: warning: by `
virtual nsresult nsIDOMXULMultiSelectControlElement::GetSelectedItem(int,
nsIDOMXULSelectControlItemElement**)'
In file included from nsXULElement.cpp:121:
../../../base/src/nsDocument.h:499: warning: `virtual nsresult
nsDocument::GetPrincipal(nsIPrincipal**)' was hidden
../../document/src/nsXULDocument.h:107: warning: by `virtual nsIPrincipal*
nsXULDocument::GetPrincipal()'
In file included from ../../../../dist/include/widget/nsGUIEvent.h:55,
from ../../../../dist/include/content/nsMutationEvent.h:38,
from nsXULElement.cpp:130:
../../../../dist/include/dom/nsIDOMKeyEvent.h:281: internal compiler error:
Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[5]: *** [nsXULElement.o] Error 1
gmake[5]: Leaving directory
`/usr/ports/www/mozilla/w-mozilla-1.7.12p11/mozilla/content/xul/content/src'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory
`/usr/ports/www/mozilla/w-mozilla-1.7.12p11/mozilla/content/xul/content'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory
`/usr/ports/www/mozilla/w-mozilla-1.7.12p11/mozilla/content/xul'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/usr/ports/www/mozilla/w-mozilla-1.7.12p11/mozilla/content'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory
`/usr/ports/www/mozilla/w-mozilla-1.7.12p11/mozilla'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/ports/www/mozilla (line 1924 of
/usr/ports/infrastructure/mk/bsd.port.mk).
I check the gcc version in my OBSD 3.9,
# gcc --version
gcc (GCC) 3.3.5 (propolice)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Could you please inform me, which step 3 and where could I got the information?
Thanks,
riwan
At 04:21 PM 8/31/2006 +1000, Andrew Dalgleish wrote:
On Thu, Aug 31, 2006 at 12:18:05PM +0700, riwanlky wrote:
> Had anyone try to make mozilla?
Yes.
> Any success. I tried without any success.
You missed step 3.