can not build mozilla in macosx

"Henry Chan" <[email protected]> Wed, 12 Oct 2005 00:43:13 -0400
Newsgroups gmane.comp.mozilla.devel.macosx
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
I got the following error when compile mozilla.  Would anyone tell me how to 
fix it?

Thank you very much for your help.



Adding client.mk options from 
/Users/henrychan/Documents/dev/mozilla/.mozconfig:

MOZ_OBJDIR=$(TOPSRCDIR)/moz-object/

cd /Users/henrychan/Documents/dev/mozilla/moz-object/

/Users/henrychan/Documents/dev/mozilla/configure

loading cache ./config.cache

checking host system type... powerpc-apple-darwin8.2.1

checking target system type... powerpc-apple-darwin8.2.1

checking build system type... powerpc-apple-darwin8.2.1

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

checking whether the C++ compiler (c++ ) works... yes

checking whether the C++ compiler (c++ ) is a cross-compiler... no

checking whether we are using GNU C++... yes

checking whether c++ accepts -g... yes

checking for ranlib... ranlib

checking for as... /usr/bin/as

checking for ar... ar

checking for ld... ld

checking for strip... strip

checking for windres... no

checking whether gcc and cc understand -c and -o together... yes

checking how to run the C preprocessor... gcc -E

checking how to run the C++ preprocessor... c++ -E

checking for a BSD compatible install... /usr/bin/install -c

checking whether ln -s works... yes

checking for gawk... no

checking for mawk... no

checking for nawk... no

checking for awk... awk

checking for perl5... no

checking for perl... /usr/bin/perl

checking for minimum required perl version >= 5.004... 5.008006

checking for full perl installation... yes

checking for doxygen... :

checking for whoami... /usr/bin/whoami

checking for autoconf... /usr/bin/autoconf

checking for unzip... /sw/bin/unzip

checking for zip... /sw/bin/zip

checking for makedepend... /usr/X11R6/bin/makedepend

checking for xargs... /usr/bin/xargs

checking for gmake... no

checking for make... /sw/bin/make

checking for X... libraries /usr/X11R6/lib, headers

checking for dnet_ntoa in -ldnet... no

checking for dnet_ntoa in -ldnet_stub... no

checking for gethostbyname... yes

checking for connect... yes

checking for remove... yes

checking for shmat... yes

checking for IceConnectionNumber in -lICE... yes

checking whether ld has archive extraction flags... no

checking for -exported_symbols_list option to ld... no

checking for ANSI C header files... yes

checking for working const... yes

checking for mode_t... yes

checking for off_t... yes

checking for pid_t... yes

checking for size_t... yes

checking for uid_t in sys/types.h... yes

checking for st_blksize in struct stat... yes

checking for siginfo_t... no

checking for int16_t... no

checking for int32_t... no

checking for int64_t... no

checking for int64... no

checking for uint... no

checking for uint_t... no

checking for uint16_t... no

checking for uname.domainname... no

checking for uname.__domainname... no

checking for 64-bit OS... no

checking for usable wchar_t (2 bytes, unsigned)... no

checking for compiler -fshort-wchar option... yes

checking for wcrtomb... yes

checking for mbrtowc... yes

checking for dirent.h that defines DIR... yes

checking for opendir in -ldir... no

checking for sys/byteorder.h... no

checking for compat.h... no

checking for getopt.h... yes

checking for sys/bitypes.h... no

checking for memory.h... yes

checking for unistd.h... yes

checking for gnu/libc-version.h... no

checking for nl_types.h... yes

checking for malloc.h... no

checking for X11/XKBlib.h... yes

checking for sys/statvfs.h... yes

checking for sys/statfs.h... no

checking for sys/vfs.h... no

checking for sys/mount.h... yes

checking for mmintrin.h... no

checking for new... yes

checking for sys/cdefs.h... yes

checking for gethostbyname_r in -lc_r... no

checking for atan in -lm... yes

checking for socket in -lsocket... no

checking for XDrawLines in -lX11... yes

checking for XextAddDisplay in -lXext... yes

checking for XtFree in -lXt... yes

checking for XineramaIsActive in -lXinerama... yes

checking for X11/extensions/Xinerama.h... yes

checking for XShmCreateImage in -lXext... yes

checking for X11/extensions/XShm.h... yes

checking for XieFloGeometry in -lXIE... no

checking for X11/extensions/XIElib.h... no

configure: error: Could not compile basic X program.

*** Fix above errors and then restart with "make -f client.mk build"