求助 编译文件遇到问题

编译打包和其他
回复
zhong2009
帖子: 4
注册时间: 2009-07-07 21:48

求助 编译文件遇到问题

#1

帖子 zhong2009 » 2009-07-08 10:23

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.
头像
cnkilior
论坛版主
帖子: 4984
注册时间: 2007-08-05 17:40

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

#2

帖子 cnkilior » 2009-07-08 10:29

apt://build-essential
zhong2009
帖子: 4
注册时间: 2009-07-07 21:48

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

#3

帖子 zhong2009 » 2009-07-17 17:31

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时遇到的问题,先谢过
回复