LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-29-2012, 07:14 AM   #1
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 136

Rep: Reputation: 46
Errors when compiling Thunderbird 11.0.1 under -current


Hello everyone,
I'm trying to compile Thunderbird 11.0.1 under -current using 11.0's SlackBuild-script, but the compiler halts with the following errors:
non_thread_safe.cc
c++ -o non_thread_safe.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappe rs -include ../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEX PORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -D IMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DMOZ_THUNDERBIRD=1 -DOSTY PE=\"Linux3.2\" -DOSARCH=Linux -DEXCLUDE_SKIA_DEPENDENCIES -DOS_LINUX=1 -DOS_PO SIX=1 -DHAVE_CONFIG_H -I../../ipc/chromium/src -I../../ipc/glue -I../../ipc/ipd l/_ipdlheaders -I./src/third_party/libevent -I./src/third_party/libevent/linux -I. -I. -I../../dist/include -I../../dist/include/nsprpub -I/tmp/comm-release/m ozilla/dist/include/nspr -I/tmp/comm-release/mozilla/dist/include/nss -fPIC -frtti -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privac y -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -O -fPIC -fno-exceptions -fno-strict-aliasing -std=gnu++0x - pthread -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/u sr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/i nclude/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/inc lude/freetype2 -I/usr/include/libpng14 -I/usr/include/gtk-unix-print-2.0 -Os - freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../../mozilla- config.h -MD -MF .deps/non_thread_safe.pp /tmp/comm-release/mozilla/ipc/chromium /src/base/non_thread_safe.cc
make[5]: *** [file_util.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/tmp/comm-release/mozilla/ipc/chromium'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/tmp/comm-release/mozilla/ipc'
make[3]: *** [libs_tier_platform] Error 2
make[3]: Leaving directory `/tmp/comm-release/mozilla'
make[2]: *** [tier_platform] Error 2
make[2]: Leaving directory `/tmp/comm-release/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/comm-release/mozilla'
make: *** [default] Error 2

Has anyone been able to compile 11.0.1? Is there some configuration that needs to be changed?

Regards,
Mats

Last edited by mats_b_tegner; 03-29-2012 at 07:45 AM.
 
Old 03-29-2012, 07:24 AM   #2
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Pittsburgh, PA
Distribution: Slackware
Posts: 213

Rep: Reputation: 52
Thuderbird is part of stock Slackware. What you are experiencing is likely why it hasn't been uploaded to -current yet... the build changed a little and it takes time to work out the process.

Give it a few days and I'm sure a shiny new Thunderbird will show up on the mirrors.

Seriously, the fast release cycle Mozilla has taken is just making more work for everyone to keep up with.

Last edited by WhiteWolf1776; 03-29-2012 at 07:50 AM. Reason: edited due to lack of caffeine
 
Old 03-29-2012, 07:44 AM   #3
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 136

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by WhiteWolf1776 View Post
Firefox is part of stock Slackware. What you are experiencing is likely why it hasn't been uploaded to -current yet... the build changed a little and it takes time to work out the process.

Give it a few days and I'm sure a shiny new Firefox will show up on the mirrors.

Seriously, the fast release cycle Firefox has taken is just making more work for everyone to keep up with.
When you say Firefox, you mean Thunderbird right?
 
Old 03-29-2012, 07:50 AM   #4
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Pittsburgh, PA
Distribution: Slackware
Posts: 213

Rep: Reputation: 52
yea, lack of caffeine... ugh... coffee....
 
Old 03-29-2012, 08:32 AM   #5
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 136

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by WhiteWolf1776 View Post

Seriously, the fast release cycle Mozilla has taken is just making more work for everyone to keep up with.
True, I really don't see the point of fast release cycles.
 
Old 03-29-2012, 08:43 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,022
Blog Entries: 1

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
Member response

Hi,
Quote:
I'm trying to compile Thunderbird 11.0.1 under -current using 11.0's SlackBuild-script,
Which script? From: mozilla-thunderbird/

Modified or original?
 
Old 03-29-2012, 09:25 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,184

Rep: Reputation: Disabled
I am building packages for seamonkey firefox and thunderbird myself for a (still private) ARM port, and needed to hunt down patches for several gcc 4.7 related compilation issues, like the one above.

I have a seamonkey 2.8 package compiled on bleeding edge -current now. I applied the same patches to firefox and that is still compiling but looks promising. Those patches are probably required on thunderbird too.

Eric
 
1 members found this post helpful.
Old 03-29-2012, 09:52 AM   #8
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 136

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by onebuck View Post
Hi,
Which script? From: mozilla-thunderbird/
Modified or original?
Yes. Original, no modifications.
 
Old 03-30-2012, 10:44 AM   #9
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 136

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by Alien Bob View Post
I am building packages for seamonkey firefox and thunderbird myself for a (still private) ARM port, and needed to hunt down patches for several gcc 4.7 related compilation issues, like the one above.

I have a seamonkey 2.8 package compiled on bleeding edge -current now. I applied the same patches to firefox and that is still compiling but looks promising. Those patches are probably required on thunderbird too.

Eric
Where can I find these patches?

Mats
 
Old 03-30-2012, 01:25 PM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,184

Rep: Reputation: Disabled
You can't. I do not keep them in a public place.

Eric
 
Old 03-30-2012, 01:37 PM   #11
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 136

Original Poster
Rep: Reputation: 46
Ok, I guess I'll have to wait until Pat patches the Thunderbird package in -current
 
Old 04-03-2012, 04:33 PM   #12
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 136

Original Poster
Rep: Reputation: 46
I've found this LFS patch today:
http://www.at.linuxfromscratch.org/p...cc-4.7-1.patch

I'm going to try and compile again...still errors...will investigate further. Thunderbird will compile if you disable crashreporter, but I've yet to figure out how to compile with crashreporter enabled.

Last edited by mats_b_tegner; 04-03-2012 at 07:18 PM. Reason: update
 
1 members found this post helpful.
Old 04-04-2012, 04:47 AM   #13
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,184

Rep: Reputation: Disabled
Quote:
Originally Posted by mats_b_tegner View Post
I've found this LFS patch today:
http://www.at.linuxfromscratch.org/p...cc-4.7-1.patch

I'm going to try and compile again...still errors...will investigate further. Thunderbird will compile if you disable crashreporter, but I've yet to figure out how to compile with crashreporter enabled.
These are the three patches which I needed to build searmonkey and firefox. Did not try thunderbird but since they all share the same codebase, the patches will probably fix your issue.


Eric

Edit: damn, I can't upload from here, keep getting "invalid file".
Edit2: this is a public URL for a ZIP containing the 3 patches: http://dl.dropbox.com/u/2329942/mozilla_patches.zip

Last edited by Alien Bob; 04-04-2012 at 04:55 AM.
 
1 members found this post helpful.
Old 04-04-2012, 08:48 AM   #14
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware64
Posts: 136

Original Poster
Rep: Reputation: 46
With both LFS and Eric's patches applied the compiler still halts when building crashreporter. I will try again with only Eric's...same result...hmm I think the problem lies within Google Breakpad but I'm not sure...

Last edited by mats_b_tegner; 04-04-2012 at 10:03 AM. Reason: update
 
Old 04-04-2012, 01:26 PM   #15
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware 14.1, Slackware64-current, OpenBSD 5.5
Posts: 4,128

Rep: Reputation: 520Reputation: 520Reputation: 520Reputation: 520Reputation: 520Reputation: 520
T Bird 11.0.1 is on the mirrors now.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling errors when compiling OpenGL with GLUT Hvl Programming 3 06-28-2011 08:21 AM
Thunderbird 3, Slack64 current, and Lightning redray8 Slackware 1 12-16-2009 09:58 AM
Thunderbird - Compile errors exvor Linux From Scratch 4 12-08-2009 03:46 PM
[SOLVED] Download problem with Firefox and possibly Thunderbird in - current em21701 Slackware 2 08-22-2009 06:47 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM


All times are GMT -5. The time now is 06:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration