-   Linux From Scratch (
-   -   Thunderbird - Compile errors (

exvor 12-06-2009 08:30 PM

Thunderbird - Compile errors
I am just about done trying to get Thunderbird 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

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.

exvor 12-06-2009 08:42 PM

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.

knudfl 12-07-2009 04:06 AM is for building exercise, I guess. is old.

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


For security reasons, the latest is the recommended one to use.

exvor 12-07-2009 05:30 PM

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.

exvor 12-08-2009 03:46 PM

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.

All times are GMT -5. The time now is 05:12 PM.