我正在尝试安装GTK终端
在我的 12.04 LTS 发行版上。我读取了 INSTALL 文件以安装软件。首先我运行./configure
,没有显示任何错误,但没有 makefile,所以当我运行时make
,我收到此错误make: *** No targets specified and no makefile found. Stop.
这里是./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for strerror in -lcposix... no
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 gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 gdk-2.0...
我该如何解决?
答案1
您可以使用 从终端轻松安装 GTKTerm sudo apt-get install gtkterm
。
编辑
您所看到的是一个依赖关系问题(即看到类似这样的行aclocal-1.4... missing
)。您需要安装编译 GTKTerm 之前所需的所有依赖项,要安装这些依赖项,请使用以下命令:
sudo apt-get build-dep gtkterm
一旦完成此操作,您就可以./configure
顺利运行。
答案2
make
以 makefile 作为输入。Makefile 通常命名为makefile
或Makefile
。configue 命令应该生成一个 makefile,以便make
可以依次执行。检查您的工作目录下是否已生成 makefile。