I downloaded the latest source from mozilla and attempted a build the
application using the following command:
make -f client.mk build
here is the error i got:
make[1]: Entering directory `/home/user001/cvs/mozilla'
cd /home/user001/cvs/mozilla
./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc ) works... no
*** Fix above errors and then restart with "make -f
client.mk build"
make[1]: Leaving directory `/home/user001/cvs/mozilla'
i have checked the pre-requisites documented at
https://developer.mozilla.org/en/Linux_Build_Prerequisites. while i
believe i have all the necessary products it does not appear they are
in the correct state,
i am using fedora 10 beta with linux kernel
2.6.27-0.352.rc7.git1.fc10.i686.
i believe my problem centers around the following lines in the checks:
checking whether the C compiler (gcc ) is a cross-compiler... no
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc ) works... no
i can confirm i have gcc installed but not c++ or g++. where can i get
these for linux?
i am also not familiar with what cross-compiler means. can someone
advise?
i will update this discussion as i discover answers and complete the
build.
thanks,
g
Yes, you need an actual C++ compiler (gcc is really meant to be a C
compiler). Try `sudo yum install gcc-c++` or similar.
(Fedora 10 final has been released a few days ago, by the way)
--
Mook