分页: 1 / 1

求助 编译文件遇到问题

发表于 : 2009-07-08 10:23
zhong2009
zhong2009@my2009:~/桌面/1$ sudo ./configure
[sudo] password for zhong2009:
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

Re: 求助 编译文件遇到问题

发表于 : 2009-07-08 10:29
cnkilior
apt://build-essential

Re: 求助 编译文件遇到问题

发表于 : 2009-07-17 17:31
zhong2009
cnkilior 写了:apt://build-essential
谢谢,问题已经解决,但是我又遇到新的问题
checking for wxWidgets static library... no
checking for MOZILLA... configure: error: Package requirements (mozilla-nspr >= 1.3 mozilla-xpcom) were not met:

No package 'mozilla-nspr' found
No package 'mozilla-xpcom' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables MOZILLA_CFLAGS
and MOZILLA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


不知道如何解决,整个问题就是编译安装wxmozilla时遇到的问题,先谢过