Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2002 21:59:57 +0100
From:      Jens Fallesen <jens@fallesen.dk>
To:        freebsd-mozilla@freebsd.org
Subject:   Problems building recent nightlies
Message-ID:  <3C3E00CD.D02E3A11@fallesen.dk>

next in thread | raw e-mail | index | archive | help
I have not been very succesful in building Mozilla from the CVS tree
recently (in fact since New Year or a few days after that). When I try
to compile, I get this in the end:

Building deps for TestFileTransport.cpp
c++ -o TestFileTransport.o -c -DOSTYPE=\"FreeBSD4\"
-DOSARCH=\"FreeBSD\" -DOJI -DUSE_NSREG  -I../../dist/include/xpcom
-I../../dist/include/string -I../../dist/include/necko
-I../../dist/include/nkcache -I../../dist/include/cookie
-I../../dist/include/dbm -I../../dist/include/util
-I../../dist/include/test_necko -I../../dist/include
-I/usr/ports/www/mozilla-latest/work/mozilla/dist/include/nspr     
-I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti
-fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-long-long -pthread -pipe  -DNDEBUG -DTRIMMED -O 
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../config-defs.h
TestFileTransport.cpp
TestFileTransport.cpp: In method `MyListener::~MyListener()':
TestFileTransport.cpp:177: warning: unused variable `nsresult rv'
c++  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion
-Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual
-Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -pthread -pipe  -DNDEBUG
-DTRIMMED -O -o TestFileTransport TestFileTransport.o   
-L../../dist/bin -L../../dist/lib ../../dist/lib/libmozdbm_s.a
-L../../dist/bin -lmozjs -L../../dist/bin -lxpcom
-L/usr/ports/www/mozilla-latest/work/mozilla/dist/lib -lplds4 -lplc4
-lnspr4   -lm    
TestProtocols.cpp
Building deps for TestProtocols.cpp
c++ -o TestProtocols.o -c -DOSTYPE=\"FreeBSD4\" -DOSARCH=\"FreeBSD\"
-DOJI -DUSE_NSREG  -I../../dist/include/xpcom
-I../../dist/include/string -I../../dist/include/necko
-I../../dist/include/nkcache -I../../dist/include/cookie
-I../../dist/include/dbm -I../../dist/include/util
-I../../dist/include/test_necko -I../../dist/include
-I/usr/ports/www/mozilla-latest/work/mozilla/dist/include/nspr     
-I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti
-fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-long-long -pthread -pipe  -DNDEBUG -DTRIMMED -O 
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../config-defs.h
TestProtocols.cpp
TestProtocols.cpp:73: nsICookieService.h: No such file or directory
TestProtocols.cpp:74: `NS_COOKIESERVICE_CID' was not declared in this
scope
gmake[3]: *** [TestProtocols.o] Error 1
gmake[3]: Leaving directory
`/usr/ports/www/mozilla-latest/work/mozilla/netwerk/test'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/usr/ports/www/mozilla-latest/work/mozilla/netwerk'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory
`/usr/ports/www/mozilla-latest/work/mozilla'
gmake: *** [default] Error 2
dilbert:/usr/ports/www/mozilla-latest/work$ 

My configure command looks like this:

./configure                                     \
                --disable-cpp-exceptions        \
                --disable-cpp-rtti              \
                --disable-debug                 \
                --disable-idltool               \
                --disable-md                    \
                --disable-pedantic              \
                --disable-xterm-updates         \
                --enable-crypto                 \
                --enable-double-buffer          \
                --enable-editor                 \
                --enable-mailnews               \
                --enable-mathml                 \
                --enable-optimize=              \
                --enable-pics                   \
                --enable-svg                    \
                --enable-tests                  \
                --enable-toolkit=gtk            \
                --enable-x11-shm                \
                --enable-chrome-format=jar      \
                --with-extensions=irc           \
                --with-system-jpeg      \
                --with-system-png               \
                --with-system-mng               \
                --with-pthreads

I have tried gmake clean before checking out the latest tree and
rebuilding. I have also attempted remove --enable-tests and even
changing it to --disable-tests, still no luck (though different
failing point in the latter case).

Any ideas?

Is there a good place to look for information on such problems?


-- 
Jens Fallesen  <jens@fallesen.dk>                                   O-
Hedegaardsvej 41 st th, 2300 Copenhagen S, Denmark
Phone: (+45) 32 86 18 99 * Fax: (+45) 32 86 17 99
CCIE #5470

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mozilla" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C3E00CD.D02E3A11>