problems building thunderbird on Linux

Discussion about official Mozilla Thunderbird builds
Post Reply
jrard44
Posts: 4
Joined: July 20th, 2003, 2:11 pm

problems building thunderbird on Linux

Post by jrard44 »

Hi,

I am having major issues trying to build thunderbird on my gentoo linux box. For some reason, I keep getting this error:

../../../../dist/include/xpcom/nsISupportsUtils.h:118: invalid use of undefined
type `struct nsIChannel'
../../../../dist/include/necko/nsIProtocolHandler.h:19: forward declaration of
`struct nsIChannel'


I'm sure the problem is probably with my setup. Does anyone know where nsIChannel is suppose to be defined? Did I do something wrong?

Thanks,
Jonathan
jrard44
Posts: 4
Joined: July 20th, 2003, 2:11 pm

Post by jrard44 »

Anyone have any ideas?

It looks like I haven't pulled everything completely (ie whatever defines the nsIChannel struct). I followed the instructions on building thunderbird. At least I thought I did. Is it possible I didn't grab everything?

Thanks,
Jonathan
User avatar
macrxnapa
Posts: 246
Joined: May 5th, 2003, 12:47 pm

Post by macrxnapa »

What does your .mozconfig file look like?
jrard44
Posts: 4
Joined: July 20th, 2003, 2:11 pm

Post by jrard44 »

Hi,

My .mozconfig looks like this:

# sh
# Build configuration script
#
# See http://www.mozilla.org/build/unix.html for build instructions.
#

# Options for 'configure' (same as command-line options).

ac_add_options --enable-crypto
ac_add_options --enable-xft
ac_add_options --disable-mathml
ac_add_options --disable-installer
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-tests
ac_add_options --disable-dtd-debug
ac_add_options --disable-necko-disk-cache
ac_add_options --disable-profilesharing
ac_add_options --enable-extensions=wallet
ac_add_options --enable-necko-protocols=http,file,jar,viewsource,res,data

# Note: Only include icon for windows and os2
ac_add_options --enable-image-decoders=icon,png,gif,jpeg


export MOZ_THUNDERBIRD=1

mk_add_options MOZ_THUNDERBIRD=1

It is the same as the one on the Thunderbird build page, except I added enabled xft.

Thanks,
Jonathan
User avatar
DizzyWeb
Posts: 637
Joined: March 27th, 2003, 9:56 am

Post by DizzyWeb »

Err... have you actually read it?
# Note: Only include icon for windows and os2
ac_add_options --enable-image-decoders=icon,png,gif,jpeg
The author can never, in no way, be held responsible for any harm caused, mental or physical, by reading this post.
jrard44
Posts: 4
Joined: July 20th, 2003, 2:11 pm

Post by jrard44 »

<sarcasm>Of course I never read it. Why would I do that? </sarcasm>

My face is a bit red at the moment. I'll try removing that and seeing if it works. Thanks for the help.

Sorry for the bother.

Jonathan
User avatar
macrxnapa
Posts: 246
Joined: May 5th, 2003, 12:47 pm

Post by macrxnapa »

jrard44 wrote:<sarcasm>Of course I never read it. Why would I do that? </sarcasm>

My face is a bit red at the moment. I'll try removing that and seeing if it works. Thanks for the help.

Sorry for the bother.

Jonathan


Not a bother. If you happen to be tired, hungry, or in some other - human - condition, it could be easy to miss.

Heck, I've been building various projects in this tree for some time. If I'm doing a new setup, for one reason or another, even I could miss something. In fact, I have.
:-)

I wish you luck. (Not that you necessarily need it ;-) )
Post Reply