+ -
当前位置:首页 → 问答吧 → dibain下进行编译都需要装哪些东西呢?{已解决}

dibain下进行编译都需要装哪些东西呢?{已解决}

时间:2005-04-13

来源:互联网

俺只装了gcc,结果编译报错

debian:~/gproftpd-8.1.7# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for OS type... Linux (i686-pc-linux-gnu) found.
checking for style of include used by make... none
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

作者: anti126   发布时间: 2005-04-13

make,g++什么的都装上吧。

作者: godlijin   发布时间: 2005-04-13

还是报错

*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
configure: error: Library requirements (gtk+-2.0 >= 1.3.13) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

作者: anti126   发布时间: 2005-04-13

apt-get install libgtk2.0-dev

作者: troll   发布时间: 2005-04-13

谢谢,搞定了

作者: anti126   发布时间: 2005-04-13