I'm an open source newbie, but I'd really like to get my hands on some code for a program I use everyday. The obvious choice for me was firefox, so I used apt-get to download the source, configured it with no errors, and ran make. I keep getting this error message:

Code:
c++ -o mozMySpell.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000  -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/uconv -I../../../../dist/include/unicharutil -I../../../../dist/include/spellchecker -I../../../../dist/include/xulapp -I../../../../dist/include/myspell -I../../../../dist/include -I../../../../dist/include/nspr       -fPIC   -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O   -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/mozMySpell.pp mozMySpell.cpp
In file included from mozMySpell.cpp:60:
mozMySpell.h:59:24: error: hunspell.hxx: No such file or directory
mozMySpell.h:107: error: ISO C++ forbids declaration of ‘MySpell’ with no type
mozMySpell.h:107: error: expected ‘;’ before ‘*’ token
mozMySpell.h: In constructor ‘mozMySpell::mozMySpell()’:
mozMySpell.h:85: error: class ‘mozMySpell’ does not have any field named ‘mMySpell’
mozMySpell.cpp: In destructor ‘virtual mozMySpell::~mozMySpell()’:
mozMySpell.cpp:104: error: ‘mMySpell’ was not declared in this scope
mozMySpell.cpp: In member function ‘virtual nsresult mozMySpell::SetDictionary(const PRUnichar*)’:
mozMySpell.cpp:153: error: ‘mMySpell’ was not declared in this scope
mozMySpell.cpp:157: error: expected type-specifier before ‘MySpell’
mozMySpell.cpp:157: error: expected `;' before ‘MySpell’
mozMySpell.cpp: In member function ‘virtual nsresult mozMySpell::Check(const PRUnichar*, PRBool*)’:
mozMySpell.cpp:416: error: ‘mMySpell’ was not declared in this scope
mozMySpell.cpp:422: error: ‘mMySpell’ was not declared in this scope
mozMySpell.cpp: In member function ‘virtual nsresult mozMySpell::Suggest(const PRUnichar*, PRUnichar***, PRUint32*)’:
mozMySpell.cpp:436: error: ‘mMySpell’ was not declared in this scope
mozMySpell.cpp:446: error: ‘mMySpell’ was not declared in this scope
make[5]: *** [mozMySpell.o] Error 1
And before you ask...
Code:
alaric@ubuntu:/usr/src/firefox-2.0.0.6+1$ apt-file search hunspell.hxx
libhunspell-dev: usr/include/hunspell/hunspell.hxx
libhunspell-dev: usr/include/hunspell/hunspell.hxx
libhunspell-dev: usr/include/hunspell/hunspell.hxx
libhunspell-dev: usr/include/hunspell/hunspell.hxx
alaric@ubuntu:/usr/src/firefox-2.0.0.6+1$ sudo apt-get install libhunspell-dev
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libhunspell-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.