分页: 1 / 1

problem with automake

发表于 : 2005-11-13 0:33
shanshan
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.

发表于 : 2005-11-13 0:34
shanshan
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

发表于 : 2005-11-13 7:59
yonsan

代码: 全选

sudo apt-get install g++