LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-06-2009, 08:30 PM   #1
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Thunderbird - Compile errors


I am just about done trying to get Thunderbird 2.0.0.12 to build. This is the second error when trying to compile it. The first one I got was due to some gcc4 problem and had to add ac_cv_visibility_pragma=no to the .mozconfig file. That got me past that one but now I am getting another one. belive it or not its in the same damn part of the email client too nsAppRunner. The error I am getting is
Code:
 nsAppRunner.cpp:1373:6 error: #elif with no expression.

I am running LFS development and BLFS development versions, and I have NSS and NSPR system-installed


NOTE: Firefox compiled and installed fine after un-commenting the disable dbus in the .mozconfig that I downloaded instead of copying from the book. The one in the book has it commented and the file has it commented.

Last edited by exvor; 12-06-2009 at 08:32 PM.
 
Old 12-06-2009, 08:42 PM   #2
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
I checked the source file for nsAppRunner.cpp at line 1373 and found a orphan elif statement with no expression. A quick lookup of the #elif preprocessor statement showed that it should have something to check. a quick comment and Im testing to see if I have a successful compile. Now its time to write a bug to the Thunderbird folks.
 
Old 12-07-2009, 04:06 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
2.0.0.12 is for building exercise, I guess.
2.0.0.12 is old.

The version used today, eleven releases later = 2.0.0.23.
And is also "10,000" bug fixes / security fixes later than 2.0.0.12.

http://www.rumblingedge.com/

.....

For security reasons, the latest is the recommended one to use.
.....
 
Old 12-07-2009, 05:30 PM   #4
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
They should really update that in the blfs book then since that is where I got the idea to compile this version. This is the dev version of the book too...

Anyway I gave up and just compiled sylpheed 1000 times easier to get working.

Last edited by exvor; 12-07-2009 at 05:37 PM.
 
Old 12-08-2009, 03:46 PM   #5
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
Just some added info for anyone trying to build this version that is in the book it does not build. Even after fixing the above error and modifying the .mozconfig file it failed on some security stuff and it was at that point that I gave up trying to compile it. Like stated above this is an old version and its recommended you use the newest version.
 
  


Reply



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
compile errors jrella Linux - Software 5 02-02-2010 01:10 AM
compile errors. DrunkenDisciple Linux - Software 3 11-29-2005 12:11 AM
compile errors davidleroux1 Programming 4 05-10-2005 10:03 PM
C++ compile errors Palamides Programming 1 03-09-2005 06:28 AM
Compile Errors userini Linux - Software 6 07-16-2003 08:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:23 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration