LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Thunderbird - Compile errors (https://www.linuxquestions.org/questions/linux-from-scratch-13/thunderbird-compile-errors-773874/)

exvor 12-06-2009 08:30 PM

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.

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

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.
.....

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 01:52 AM.