You are not logged in.

#1 2004-09-18 16:59:54

RedShift
Member
From: Belgium
Registered: 2004-07-16
Posts: 230

thunderbird-0.8 not compiling

I'm trying to create a thunderbird 0.8 package, but stumbled on this error upon build:

/var/abs/network/mozilla-thunderbird/src/mozilla/config/nsinstall -R -m 644 libprofdirserviceprovider_s.a ../../../dist/lib
make[5]: Leaving directory `/var/abs/network/mozilla-thunderbird/src/mozilla/profile/dirserviceprovider/src'
make[4]: Leaving directory `/var/abs/network/mozilla-thunderbird/src/mozilla/profile/dirserviceprovider'
make[4]: Entering directory `/var/abs/network/mozilla-thunderbird/src/mozilla/profile/src'
nsProfile.cpp
c++ -o nsProfile.o -c -DOSTYPE="Linux2.6.8" -DOSARCH="Linux" -I./../dirserviceprovider/src -I../../dist/include/xpcom -I../../dist/include/xpcom_obsolete -I../../dist/include/string -I../../dist/include/content -I../../dist/include/docshell -I../../dist/include/webbrwsr -I../../dist/include/dom -I../../dist/include/js -I../../dist/include/xpconnect -I../../dist/include/widget -I../../dist/include/necko -I../../dist/include/uriloader -I../../dist/include/intl -I../../dist/include/pref -I../../dist/include/prefmigr -I../../dist/include/appshell -I../../dist/include/uconv -I../../dist/include/windowwatcher -I../../dist/include/profdirserviceprovider -I../../dist/include/profile -I../../dist/include -I/var/abs/network/mozilla-thunderbird/src/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 -Wno-non-virtual-dtor -Wno-long-long -march=i686 -O2 -pipe -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -march=i686 -O2 -pipe  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsProfile.pp nsProfile.cpp
nsProfile.cpp: In member function `virtual nsresult nsProfile::StartupWithArgs(nsICmdLineService*, PRBool)':
nsProfile.cpp:414: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectLocaleForProfile'
nsProfile.cpp:423: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectLocaleForProfile'
nsProfile.cpp: In member function `virtual nsresult nsProfile::CreateNewProfileWithLocales(const PRUnichar*, const PRUnichar*, const PRUnichar*, const PRUnichar*, PRBool)':
nsProfile.cpp:1724: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectLocaleForProfile'
nsProfile.cpp:1736: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'GetSelectedSkin'
nsProfile.cpp:1738: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectSkinForProfile'
nsProfile.cpp:1760: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectLocaleForProfile'
make[4]: *** [nsProfile.o] Fout 1
make[4]: Leaving directory `/var/abs/network/mozilla-thunderbird/src/mozilla/profile/src'
make[3]: *** [libs] Fout 2
make[3]: Leaving directory `/var/abs/network/mozilla-thunderbird/src/mozilla/profile'
make[2]: *** [tier_9] Fout 2
make[2]: Leaving directory `/var/abs/network/mozilla-thunderbird/src/mozilla'
make[1]: *** [default] Fout 2
make[1]: Leaving directory `/var/abs/network/mozilla-thunderbird/src/mozilla'
make: *** [build] Fout 2
==> ERROR: Build Failed.  Aborting...
[root@energy mozilla-thunderbird]#

Using latest GCC, 3.4.2.

This is my pkgbuild (same one from 0.7.3)

# $Id: PKGBUILD,v 1.6 2004/08/05 17:29:18 dale Exp $
# Maintainer: Dale Blount <dale@archlinux.org>
# Contributor: Anders Bostrom <anders.bostrom@home.se>

pkgname=mozilla-thunderbird
pkgver=0.8
pkgrel=1
pkgdesc="Standalone Mail/News reader from mozilla.org"
url="http://www.mozilla.org/projects/thunderbird"
depends=('gtk2' 'libidl2' 'openssl' 'expat' 'zlib')
source=(ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/thunderbird-source-$pkgver.tar.bz2 
        mozilla-thunderbird.run 
    mozilla-thunderbird-nonroot.tar.gz
    mozconfig)

md5sums=('76de1827d66ac482cfc4dd32e7b1e257'
    'b3ad6817a02e5c62f743ca4c6670954f'
    'e00a4c1dd76f95e336ea50c056dbe368'
    '7120af1e59e4c8ff965a2da84dd99e9b')

# md5sums=('0a8f9384baecd42ad5c95fa2f2dfd660' 
#     'b3ad6817a02e5c62f743ca4c6670954f' 
#         'e00a4c1dd76f95e336ea50c056dbe368' 
#     '7120af1e59e4c8ff965a2da84dd99e9b')

build() {
    cd $startdir/src/mozilla
    sed "s@#CFLAGS#@$CFLAGS@g" $startdir/src/mozconfig >.mozconfig
    export MOZ_THUNDERBIRD=1
    make -f client.mk build || return 1
    cd profile/src/
    make clean || return 1
    make || return 1
        cd ../..
        make || return 1

    make DESTDIR=$startdir/pkg install || return 1
    install -D -m755 $startdir/mozilla-thunderbird.run $startdir/pkg/usr/bin/mozilla-thunderbird

        # initialize some data so that thunderbird will run as a non-root user
        cd $startdir/pkg/opt/$pkgname/lib/thunderbird-$pkgver/
        tar zxf $startdir/src/$pkgname-nonroot.tar.gz || return 1
}

:?

Offline

#2 2004-09-26 10:20:38

hyp0luxa
Member
From: Miami, FL
Registered: 2004-07-10
Posts: 70

Re: thunderbird-0.8 not compiling

in your mozconfig you need to add the following:

ac_add_options --enable-single-profile
ac_add_options --disable-profile-sharing

see http://forums.mozillazine.org/viewtopic.php?t=126455 for more info.

Offline

Board footer

Powered by FluxBB