« March 2007 | Main | June 2007 »

May 2007 Archives

May 4, 2007

Thunderbird 2.0 won't compile under FreeBSD

Been trying to compile Thunderbird on my FreeBSD 6.1 desktop, but I got the following error:

nsSmtpProtocol.cpp: In member function `void nsSmtpProtocol::AppendHelloArgument(nsACString_internal&)':
nsSmtpProtocol.cpp:370: error: `PR_SI_HOSTNAME_UNTRUNCATED' undeclared (first use this function)
nsSmtpProtocol.cpp:370: error: (Each undeclared identifier is reported only once for each function it appears in.)
nsSmtpProtocol.cpp: In member function `PRInt32 nsSmtpProtocol::SendDataResponse()':
nsSmtpProtocol.cpp:1402: warning: unused variable 'rv'
nsSmtpProtocol.cpp: In member function `PRInt32 nsSmtpProtocol::SendMessageResponse()':
nsSmtpProtocol.cpp:1480: warning: unused variable 'rv'
gmake[4]: *** [nsSmtpProtocol.o] Error 1
gmake[4]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla/mailnews/compose/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla/mailnews/compose'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla/mailnews'
gmake[1]: *** [tier_99] Error 2
gmake[1]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2
 
Stop in /usr/ports/mail/thunderbird.
*** Error code 1
 
Stop in /usr/ports/mail/thunderbird.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade58903.0 make PORT_UPGRADE=yes
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! mail/thunderbird (thunderbird-1.5.0.10)       (compiler error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

After hunting around a bit I found the problem to be with an other installed package, nspr - Netscape Portable Runtime. I had version nspr-4.6.1, upgrading to nspr-4.6.6 seems to have done the trick.

About May 2007

This page contains all entries posted to numbersix in May 2007. They are listed from oldest to newest.

March 2007 is the previous archive.

June 2007 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33