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"
Frederic Bezies - 12 Oct 2005 06:02 GMT
Le 10/12/05 6:43 AM, Henry Chan a écrit :
> I got the following error when compile mozilla. Would anyone tell me how to
> fix it?
>
> Thank you very much for your help.
[...]
> checking for XieFloGeometry in -lXIE... no
>
[quoted text clipped - 3 lines]
>
> *** Fix above errors and then restart with "make -f client.mk build"
Looks like you're missing X11 SDK or a part of it ?!
What does your .mozconfig looks like ?

Signature
Frederic Bezies - fredbezies@gmail.com
Site Perso : http://perso.wanadoo.fr/frederic.bezies/
Weblog : http://frederic.bezies.free.fr/blog/
Ludovic Hirlimann - 12 Oct 2005 06:06 GMT
> I got the following error when compile mozilla. Would anyone tell me how to
> fix it?
have you selected gcc3 ? what is your .mozconfig ?
- --
Ludovic Hirlimann http://perso.hirlimann.net/~ludo/blog/
GPG key 1024D/C139647C 2005-03-06
Key fingerprint = 6EFB D26F C7A2 12B2 E093 B9E8 68F3 58F6 C139 647C