[分享]KDevelop扫盲帖
- ct
- 帖子: 2201
- 注册时间: 2005-04-06 21:15
- 来自: 安徽黄山
- 联系:
-
- 帖子: 353
- 注册时间: 2007-04-03 9:52
- 联系:
-
- 帖子: 40
- 注册时间: 2007-04-09 15:30
cd '/home/pt0079/temp/hehe' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -f Makefile.cvs
aclocal
aclocal: configure.in: 8: macro `AM_PROG_LIBTOOL' not found in library
make: *** [all] 错误 1
*** Exited with status: 2 ***
就是上面的错误,步骤是按照那篇KDE的扫盲贴做的,不知道是不是安装的问题
试了按照几种模板來创建程序,每次写好后在BUILD>>AUTOMAKE&FRIEND后都会出现这个问题,高手指点下
aclocal
aclocal: configure.in: 8: macro `AM_PROG_LIBTOOL' not found in library
make: *** [all] 错误 1
*** Exited with status: 2 ***
就是上面的错误,步骤是按照那篇KDE的扫盲贴做的,不知道是不是安装的问题
试了按照几种模板來创建程序,每次写好后在BUILD>>AUTOMAKE&FRIEND后都会出现这个问题,高手指点下
-
- 帖子: 14
- 注册时间: 2007-04-14 12:44
but, Can't find X libraries
但是各位没有碰上过这种情况吗?
can't find X libraries;
即使我这样做也不管用,
apt-get install xorg-dev
怎么办:?
can't find X libraries;
即使我这样做也不管用,
apt-get install xorg-dev
怎么办:?
-
- 帖子: 55
- 注册时间: 2007-01-22 10:22
-
- 帖子: 22
- 注册时间: 2007-05-17 9:26
我在运行第二步:[Build]->[Run Configure]时报错,具体信息最后几行如下
checking whether make sets $(MAKE)... yes
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
帮帮忙阿,我特别想在这个IDE下面写程序
我的config.log文件是这样的:
是不是有什么环境还没架号好阿?
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ /home/newflypig/helloword/configure --enable-debug=full
## --------- ##
## Platform. ##
## --------- ##
hostname = newflypig
uname -m = i686
uname -r = 2.6.20-16-generic
uname -s = Linux
uname -v = #2 SMP Thu Jun 7 20:19:32 UTC 2007
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1723: checking for a BSD-compatible install
configure:1779: result: /usr/bin/install -c
configure:1790: checking whether build environment is sane
configure:1833: result: yes
configure:1861: checking for a thread-safe mkdir -p
configure:1900: result: /bin/mkdir -p
configure:1913: checking for gawk
configure:1929: found /usr/bin/gawk
configure:1940: result: gawk
configure:1951: checking whether make sets $(MAKE)
configure:1972: result: yes
configure:2283: checking for C++ compiler version
configure:2290: i586-mingw32msvc-c++ --version >&5
/home/newflypig/helloword/configure: line 2291: i586-mingw32msvc-c++: command not found
configure:2293: $? = 127
configure:2300: i586-mingw32msvc-c++ -v >&5
/home/newflypig/helloword/configure: line 2301: i586-mingw32msvc-c++: command not found
configure:2303: $? = 127
configure:2310: i586-mingw32msvc-c++ -V >&5
/home/newflypig/helloword/configure: line 2311: i586-mingw32msvc-c++: command not found
configure:2313: $? = 127
configure:2336: checking for C++ compiler default output file name
configure:2363: i586-mingw32msvc-c++ -O0 -g3 conftest.cpp >&5
/home/newflypig/helloword/configure: line 2364: i586-mingw32msvc-c++: command not found
configure:2366: $? = 127
configure:2404: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "helloword"
| #define VERSION "0.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2411: error: C++ compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O0 -g3'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=i586-mingw32msvc-c++
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/newflypig/helloword/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/newflypig/helloword/missing --run tar'
AUTOCONF='${SHELL} /home/newflypig/helloword/missing --run autoconf'
AUTOHEADER='${SHELL} /home/newflypig/helloword/missing --run autoheader'
AUTOMAKE='${SHELL} /home/newflypig/helloword/missing --run automake-1.10'
AWK='gawk'
CPPFLAGS=''
CXX='i586-mingw32msvc-c++'
CXXDEPMODE=''
CXXFLAGS='-O0 -g3'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/newflypig/helloword/missing --run makeinfo'
OBJEXT=''
PACKAGE='helloword'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.1'
ac_ct_CXX=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/newflypig/helloword/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "helloword"
#define VERSION "0.1"
configure: exit 77
checking whether make sets $(MAKE)... yes
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
帮帮忙阿,我特别想在这个IDE下面写程序
我的config.log文件是这样的:
是不是有什么环境还没架号好阿?
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ /home/newflypig/helloword/configure --enable-debug=full
## --------- ##
## Platform. ##
## --------- ##
hostname = newflypig
uname -m = i686
uname -r = 2.6.20-16-generic
uname -s = Linux
uname -v = #2 SMP Thu Jun 7 20:19:32 UTC 2007
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1723: checking for a BSD-compatible install
configure:1779: result: /usr/bin/install -c
configure:1790: checking whether build environment is sane
configure:1833: result: yes
configure:1861: checking for a thread-safe mkdir -p
configure:1900: result: /bin/mkdir -p
configure:1913: checking for gawk
configure:1929: found /usr/bin/gawk
configure:1940: result: gawk
configure:1951: checking whether make sets $(MAKE)
configure:1972: result: yes
configure:2283: checking for C++ compiler version
configure:2290: i586-mingw32msvc-c++ --version >&5
/home/newflypig/helloword/configure: line 2291: i586-mingw32msvc-c++: command not found
configure:2293: $? = 127
configure:2300: i586-mingw32msvc-c++ -v >&5
/home/newflypig/helloword/configure: line 2301: i586-mingw32msvc-c++: command not found
configure:2303: $? = 127
configure:2310: i586-mingw32msvc-c++ -V >&5
/home/newflypig/helloword/configure: line 2311: i586-mingw32msvc-c++: command not found
configure:2313: $? = 127
configure:2336: checking for C++ compiler default output file name
configure:2363: i586-mingw32msvc-c++ -O0 -g3 conftest.cpp >&5
/home/newflypig/helloword/configure: line 2364: i586-mingw32msvc-c++: command not found
configure:2366: $? = 127
configure:2404: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "helloword"
| #define VERSION "0.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2411: error: C++ compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O0 -g3'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=i586-mingw32msvc-c++
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/newflypig/helloword/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/newflypig/helloword/missing --run tar'
AUTOCONF='${SHELL} /home/newflypig/helloword/missing --run autoconf'
AUTOHEADER='${SHELL} /home/newflypig/helloword/missing --run autoheader'
AUTOMAKE='${SHELL} /home/newflypig/helloword/missing --run automake-1.10'
AWK='gawk'
CPPFLAGS=''
CXX='i586-mingw32msvc-c++'
CXXDEPMODE=''
CXXFLAGS='-O0 -g3'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/newflypig/helloword/missing --run makeinfo'
OBJEXT=''
PACKAGE='helloword'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.1'
ac_ct_CXX=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/newflypig/helloword/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "helloword"
#define VERSION "0.1"
configure: exit 77
-
- 帖子: 8
- 注册时间: 2007-07-02 17:02
-
- 帖子: 18
- 注册时间: 2007-05-29 10:50
-
- 帖子: 1
- 注册时间: 2007-08-02 12:00
在ubuntu下源码安装软件configure报"gcc can't create execute"错误解决
经过分析报错日志文件,确认缺少g++,所以请执行下面命令解决。
sudo apt-get install g++
sudo apt-get install g++