problem with automake

软件和网站开发以及相关技术探讨
回复
shanshan
帖子: 2
注册时间: 2005-11-13 0:24

problem with automake

#1

帖子 shanshan » 2005-11-13 0:33

The following ocurred when i tried to obtain the makefile by using automake and autoconf.

Can someone explain it?

bear@missbear:~/nlp/hello$ ./configure
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... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for g++... g++
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
bear@missbear:~/nlp/hello$ ./configure
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... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for g++... g++
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
shanshan
帖子: 2
注册时间: 2005-11-13 0:24

#2

帖子 shanshan » 2005-11-13 0:34

I have still no makefile :(

bear@missbear:~/nlp/hello$ ls
aclocal.m4 config.log configure.scan INSTALL Makefile.in
autom4te.cache configure COPYING install-sh missing
autoscan.log configure.in hello.cpp Makefile.am mkinstalldirs
头像
yonsan
帖子: 887
注册时间: 2005-07-01 18:56
来自: 广州市

#3

帖子 yonsan » 2005-11-13 7:59

代码: 全选

sudo apt-get install g++
I will be back!
回复