[SunOS 5.8 + Thunderbird] foutmelding bij opstarten

Pagina: 1
Acties:

  • DJ
  • Registratie: Januari 2000
  • Laatst online: 15-02 17:31
Ik krijg een foutmelding bij het opstarten van Thunderbird 0.7.1 na de build (vanuit ./dist/bin opstarten dus). De foutmelding die ik krijg is:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
nlcadq04% ./thunderbird
File descriptors set to 512
No Persistent Registry Found.
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsINIParser.cpp, line 51
Type Manifest File: /var/tmp/thunderbird/mozilla/dist/bin/components/xpti.dat
nsNativeComponentLoader: autoregistering begins.
*** Registering xpcomObsoleteModule components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering nsUConvModule components (all right -- a generic module!)
*** Registering nsUCvMathModule components (all right -- a generic module!)
*** Registering nsI18nModule components (all right -- a generic module!)
*** Registering nsJarModule components (all right -- a generic module!)
*** Registering nsCJVMManagerModule components (all right -- a generic module!)
*** Registering necko_core_and_primary_protocols components (all right -- a generic module!)
*** Registering necko_secondary_protocols components (all right -- a generic module!)
*** Registering nsPrefModule components (all right -- a generic module!)
*** Registering nsSecurityManagerModule components (all right -- a generic module!)
*** Registering nsRDFModule components (all right -- a generic module!)
*** Registering nsParserModule components (all right -- a generic module!)
*** Registering nsGfxPSModule components (all right -- a generic module!)
*** Registering nsGfxGTKModule components (all right -- a generic module!)
*** Registering nsImageLib2Module components (all right -- a generic module!)
*** Registering nsPluginModule components (all right -- a generic module!)
*** Registering nsWidgetGtk2Module components (all right -- a generic module!)
*** Registering XRemoteClientModule components (all right -- a generic module!)
*** Registering nsLayoutModule components (all right -- a generic module!)
*** Registering nsMorkModule components (all right -- a generic module!)
*** Registering docshell_provider components (all right -- a generic module!)
*** Registering nsProfileModule components (all right -- a generic module!)
*** Registering nsPrefMigrationModule components (all right -- a generic module!)
*** Registering embedcomponents components (all right -- a generic module!)
*** Registering Browser_Embedding_Module components (all right -- a generic module!)
*** Registering nsEditorModule components (all right -- a generic module!)
*** Registering nsTransactionManagerModule components (all right -- a generic module!)
*** Registering nsComposerModule components (all right -- a generic module!)
*** Registering appshell components (all right -- a generic module!)
*** Registering nsChromeModule components (all right -- a generic module!)
*** Registering nsAccessibilityModule components (all right -- a generic module!)
*** Registering nsLDAPProtocolModule components (all right -- a generic module!)
*** Registering BOOT components (all right -- a generic module!)
*** Registering NSS components (all right -- a generic module!)
*** Registering PKI components (all right -- a generic module!)
*** Registering nsFindComponent components (all right -- a generic module!)
*** Registering nsFileViewModule components (all right -- a generic module!)
*** Registering XRemoteServiceModule components (all right -- a generic module!)
*** Registering application components (all right -- a generic module!)
*** Registering nsSoftwareUpdate components (all right -- a generic module!)
*** Registering JavaScript_Debugger components (all right -- a generic module!)
*** Registering nsCookieModule components (all right -- a generic module!)
*** Registering nsWalletModule components (all right -- a generic module!)
*** Registering nsWalletViewerModule components (all right -- a generic module!)
*** Registering nsXMLExtrasModule components (all right -- a generic module!)
*** Registering nsP3PModule components (all right -- a generic module!)
*** Registering nsAutoConfigModule components (all right -- a generic module!)
*** Registering nsSystemPrefModule components (all right -- a generic module!)
Bus Error - core dumped


De compiler die ik gebruikt heb hiervoor was gcc 3.2.2 op SunOS 5.8.

Het lukt mij niet om deze foutmelding te verhelpen.

Voordat mensen nu gaan melden dat ik een precompiled versie moet downloaden. Het MOET door ons zelf gecompiled worden. Dit omdat het in een custom omgeving moet draaien waar een paar honderd SUN systemen vanuit draaien. Deze SUN's draaien allemaal dezelfde software versies (iemand bekend met CADAPPL omgevingen?). Een soort gedistribueerde software omgeving. Werkt heel mooi en snel ;)

Ik ga nu proberen met gcc 2.95.3 maar de compile slag duurt wel even.

De configure opties die ik gebruikt heb zijn:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# create mozconfig for configure step
cat > mozconfig <<EOH

# Options for 'configure' (same as command-line options).
ac_add_options --disable-xprint
ac_add_options --enable-crypto
ac_add_options --disable-logging
ac_add_options --enable-ldap
ac_add_options --enable-postscript
ac_add_options --enable-calendar
ac_add_options --enable-debug
ac_add_options --enable-optimize=-O2
ac_add_options --enable-static-mail
ac_add_options --disable-static
ac_add_options --enable-shared
ac_add_options --prefix=/cadappl/thunderbird/0.7.1/thunderbird
ac_add_options --enable-image-decoders=png,gif,jpeg,bmp
ac_add_options --disable-tests
ac_add_options --without-system-nspr
ac_add_options --without-system-zlib
ac_add_options --without-system-jpeg
ac_add_options --without-system-mng
ac_add_options --without-system-png
ac_add_options --disable-static-component-loader
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --disable-gnomevfs
ac_add_options --disable-profilesharing

EOH


Als iemand een idee heeft welke configure optie ik nog moet toevoegen dan hoor ik het graag.

Als er geen Religie's zouden zijn, dan waren we allemaal gewoon mensen geweest


  • DJ
  • Registratie: Januari 2000
  • Laatst online: 15-02 17:31
Hmmz . . . weinig respons, maar goed, ik zoek zelf gelukkig ook wel verder.

Ik ben inmiddels heel wat verder, echter nog niet helemaal klaar . . .

Mijn mozconfig so far:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
ac_add_options --disable-xprint
ac_add_options --enable-crypto
ac_add_options --disable-logging
ac_add_options --enable-ldap
ac_add_options --enable-postscript
ac_add_options --enable-calendar
ac_add_options --disable-debug
ac_add_options --enable-optimize=-O2
ac_add_options --enable-static-mail
ac_add_options --disable-static
ac_add_options --enable-shared
ac_add_options --prefix=/cadappl/thunderbird/0.7.1/thunderbird
ac_add_options --enable-image-decoders=png,gif,jpeg,bmp
ac_add_options --disable-tests
ac_add_options --without-system-nspr
ac_add_options --without-system-zlib
ac_add_options --without-system-jpeg
ac_add_options --without-system-mng
ac_add_options --without-system-png
ac_add_options --disable-static-component-loader
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --disable-gnomevfs
ac_add_options --disable-profilesharing
ac_add_options --disable-pedantic

ac_add_options --disable-accessibility
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-installer
ac_add_options --disable-jsd
ac_add_options --disable-mathml
ac_add_options --disable-necko-disk-cache
ac_add_options --disable-oji

ac_add_options --x-includes=/usr/openwin/include
ac_add_options --x-libraries=/usr/openwin/lib

ac_add_options --enable-extensions=spellcheck,xmlextras
ac_add_options --enable-necko-protocols=http,file,jar,viewsource,res,data

mk_add_options MOZ_THUNDERBIRD=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1


Ik heb nu een werkende Thunderbird die alles doet wat we willen, echter als ik dan de make install stap wil doen krijg ik nog een foutmelding (hij start dus wel vanuit de ./dist/bin directory).

De error die ik nu nog krijg is deze:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
rm -f libprofile.so
c++ -I/usr/openwin/include -fno-rtti -fno-exceptions -Wno-long-long -fshort-wchar
 -pthreads -pipe  -DNDEBUG -DTRIMMED -O2 -fPIC -G -h libprofile.so -o libprofile.so  nsProfileFactory.o       -Wl,-z
 -Wl,allextract ../../dist/lib/libprofile_s.a ../../dist/lib/libprofdirserviceprovider_s.a  -Wl,
-z -Wl,defaultextract -L../../dist/bin -L../../dist/lib -L../../dist/bin -lxpcom
  -L../../dist/lib -lxpcom_compat -L../../dist/bin -lmozjs
 -L/var/tmp/thunderbird/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -ldl -lrt   -Wl,-M
 -Wl,../../build/unix/gnu-ld-scripts/components-mapfile -lsocket -ldl -lm

ld: fatal: symbol `nsProfileLock::Lock(nsILocalFile*)' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=FUNC; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=FUNC);
ld: fatal: symbol `nsProfileLock::mPidLockList' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=OBJT; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=OBJT);
ld: fatal: symbol `nsProfileLock::nsProfileLock[not-in-charge](nsProfileLock&)' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=FUNC; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=FUNC);
ld: fatal: symbol `nsProfileLock::LockWithFcntl(nsACString const&)' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=FUNC; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=FUNC);
ld: fatal: symbol `nsProfileLock::FatalSignalHandler(int)' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=FUNC; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=FUNC);
ld: fatal: symbol `nsProfileLock::LockWithSymlink(nsACString const&)' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=FUNC; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=FUNC);
ld: fatal: symbol `nsProfileLock::operator=(nsProfileLock&)' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=FUNC; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=FUNC);
ld: fatal: symbol `nsProfileLock::~nsProfileLock [not-in-charge]()' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=FUNC; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=FUNC);
ld: fatal: symbol `nsProfileLock::nsProfileLock[in-charge](nsProfileLock&)' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=FUNC; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=FUNC);
ld: fatal: symbol `nsProfileLock::Unlock()' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=FUNC; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=FUNC);
ld: fatal: symbol `nsProfileLock::~nsProfileLock [in-charge]()' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=FUNC; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=FUNC);
ld: fatal: symbol `nsProfileLock::nsProfileLock[not-in-charge]()' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=FUNC; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=FUNC);
ld: fatal: symbol `nsProfileLock::RemovePidLockFiles()' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=FUNC; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=FUNC);
ld: fatal: symbol `nsProfileLock::nsProfileLock[in-charge]()' is multiply-defined:
        (file ../../dist/lib/libprofile_s.a(nsProfileLock.o) type=FUNC; file ../../dist/lib/libprofdirserviceprovider_s.a(nsProfileLock.o) type=FUNC);
ld: fatal: File processing errors. No output written to libprofile.so
collect2: ld returned 1 exit status
gmake[2]: *** [libprofile.so] Error 1
gmake[2]: Leaving directory `/var/tmp/thunderbird/mozilla/profile/build'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/var/tmp/thunderbird/mozilla/profile'
gmake: *** [install] Error 2


(sorry voor de opmaak . . . maar ik wil zo compleet mogelijk blijven . . .)

Als er geen Religie's zouden zijn, dan waren we allemaal gewoon mensen geweest


  • DJ
  • Registratie: Januari 2000
  • Laatst online: 15-02 17:31
Hmmz . . . de foutmelding heeft te maken met de Profile Manager. Nu ben ik geen Thunderbird wizard, dus vraag ik me af wat ik er mee aan moet. VOlgens mij kan ik zonder de Profile Manager, immers in onze omgeving heeft elke gebruiker zijn/haar eigen omgeving waarbinnen alle instellingen opgeslagen worden. Of het nu SUN specifieke of Windows specifieke instellingen zijn, dat maakt niet uit. De mogelijkheid van Thunderbird om met meerdere Profiles te werken kan volgens mij dan dus wegvallen.

Vraag is dan: hoe schakel ik die uit? Ik moet dan de juiste configure switch vinden (voor de configure stap) en de boel opnieuw builden. Als ik op http://webtools.mozilla.org/build/config.cgi kijk, dan kom ik niet echt wijs uit welke switch er nu voor zorgt dat de Profile Manager uitgeschakeld wordt.

Of is dat een switch die niet in de config builder staat?

Any help is very welcome!!!

Als er geen Religie's zouden zijn, dan waren we allemaal gewoon mensen geweest