You are not logged in.

#1 2005-09-22 02:06:10

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Firefox compile error

c++ -o nsNegotiateAuthFactory.o -c -I../../dist/include/system_wrappers -include ../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE="Linux2.6" -DOSARCH="Linux" -DBUILD_ID=0000000000  -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/negotiateauth -I../../dist/include -I../../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 -Wno-non-virtual-dtor -Wno-long-long -mtune=i686 -O2 -pipe -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -mtune=i686 -O2 -pipe  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsNegotiateAuthFactory.pp nsNegotiateAuthFactory.cpp
nsNegotiateAuthFactory.cpp:94:2: #error "missing implementation"
nsNegotiateAuthFactory.cpp: In function `nsresult nsNegotiateAuthConstructor(nsISupports*, const nsIID&, void**)':
nsNegotiateAuthFactory.cpp:97: error: `nsNegotiateAuth' undeclared (first use this function)
nsNegotiateAuthFactory.cpp:97: error: (Each undeclared identifier is reported only once for each function it appears in.)
nsNegotiateAuthFactory.cpp:97: error: `inst' undeclared (first use this function)
nsNegotiateAuthFactory.cpp:97: error: `nsNegotiateAuth' has not been declared
nsNegotiateAuthFactory.cpp: At global scope:
nsNegotiateAuthFactory.cpp:105: error: `NS_AUTH_MODULE_CONTRACTID_PREFIX' was not declared in this scope
nsNegotiateAuthFactory.cpp:105: error: expected `}' before string constant
nsNegotiateAuthFactory.cpp:105: error: expected `}' before string constant
nsNegotiateAuthFactory.cpp:105: error: expected `,' or `;' before string constant
nsNegotiateAuthFactory.cpp:107: error: expected declaration before '}' token
nsNegotiateAuthFactory.cpp:51: warning: 'nsresult nsHttpNegotiateAuthConstructor(nsISupports*, const nsIID&, void**)' defined but not used
nsNegotiateAuthFactory.cpp:97: warning: 'nsresult nsNegotiateAuthConstructor(nsISupports*, const nsIID&, void**)' defined but not used
nsNegotiateAuthFactory.cpp:102: warning: 'components' defined but not used
make[3]: *** [nsNegotiateAuthFactory.o] Error 1
make[3]: Leaving directory `/mnt/station/arch_pkg/x11/network/firefox-devel/src/mozilla/extensions/negotiateauth'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/mnt/station/arch_pkg/x11/network/firefox-devel/src/mozilla/extensions'
make[1]: *** [tier_94] Error 2
make[1]: Leaving directory `/mnt/station/arch_pkg/x11/network/firefox-devel/src/mozilla'
make: *** [default] Error 

Anyone have an idea? This is the 3rd time in a row I've gotten this. It seems to be related to enabling SSL support, but I'm not 100% on that.

Here's my PKGBUILD:

#Contributor: Shadowhand <woody.gilk@gmail.com>
pkgname=firefox-devel
pkgver=1.5b1
pkgrel=2
pkgdesc="Firefox 1.5 Beta 1 (Deer park)"
url="http://www.mozilla.org/projects/firefox"
conflicts=('mozilla-firefox' 'firefox-fr' 'firefox-deerpark')
provides=('mozilla-firefox' 'gecko-sdk')
makedepends=('zip')
depends=('gtk2' 'x-server' 'libxml2' 'mozilla-common' 'libidl2')

source=(http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/source/firefox-$pkgver-source.tar.bz2 
        firefox-devel.sh firefox-devel-nonroot.tar.gz mozconfig 
        mozilla-firefox.desktop mozilla-firefox.png launcher.patch)

md5sums=('a1b2549a31c74e7366213bb2ba76876f' '77e8611f92539604021f7019fe56520d' 
         'c28385288eb9a9cefba21d62d7870cfd' '4fc1b9bcb25ad85866ab66c48d2c7ef7' 
         '2b6a43020e86b7e4f6266b67d3620d3e' 'bff260036c5dcca45da3218517fb33d8' 
         '224962b5f2446cab7727fdf07fd526de')

build() {
        cd $startdir/src/mozilla
        
        patch -Np0 -i $startdir/src/launcher.patch || return 1
        
        export MOZ_PHOENIX=1
        
        sed "s@#CFLAGS#@$CFLAGS@g" $startdir/src/mozconfig >.mozconfig
        
        ./configure
        make || return 1
        make DESTDIR=$startdir/pkg install || return 1
        
        # initialize some data so that firefox will run as a non-root user
        cd $startdir/pkg/opt/firefox
        tar zxf $startdir/src/mozilla-firefox-nonroot.tar.gz || return 1
        
        # Remove useles default profile setup
        rm -rf $startdir/pkg/opt/firefox/bin/defaults
        
        # Place these in /usr until all common desktops support icon lookups in XDG_DATA_DIRS
        install -dD -m755 $startdir/pkg/usr/share/applications
        install -dD -m755 $startdir/pkg/usr/share/pixmaps
        install -m644 $startdir/src/mozilla-firefox.png $startdir/pkg/usr/share/pixmaps/
        install -m644 $startdir/src/mozilla-firefox.desktop $startdir/pkg/usr/share/applications/
        
        mkdir -p $startdir/pkg/etc/profile.d
        mv $startdir/src/firefox-devel.sh  $startdir/pkg/etc/profile.d
        chmod +x  $startdir/pkg/etc/profile.d/firefox-devel.sh
        
} 

:?


·¬»· i am shadowhand, powered by webfaction

Offline

#2 2005-09-22 14:15:53

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Firefox compile error

Fixed. It was an issue in my mozconfig file. Firefox 1.5b1 compiles sucessfully now! I'll have binary packages available from my repository and a PKGBUILD in the AUR tonight.


·¬»· i am shadowhand, powered by webfaction

Offline

Board footer

Powered by FluxBB