aMule Kurulumunda configure Hatası
Arkadaşlar, iyi günler, bugüne kadar Win7 kullanıyordum, birkaç gün önce Pardus 2011 kullanmaya başladım, şimdilik memnunum ancak çok acemilik var. aMule kurmayı bile beceremedim.
Forumda ve google da epey arama yaptım ancak aldığım hatayı nasıl çözebileceğimi bulamadım.
aMule sitesinden aMule-2.3.1rc1.tar.bz2 dosyasını indirip açtım, kurmak için configure komutunu çalıştırdığımda aşağıdaki uyarıyı alıyorum. C++ compiler çalışmıyor diyor.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking if this is a FreeBSD 4 or earlier system... no
checking for g++... g++
checking whether the C++ compiler works... no
configure: error: in `/home/GALATASARAY/Programs/aMule 2.3.1rc1':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
config.log dosyasına baktığımda
configure:3553: checking whether the C++ compiler works
configure:3575: g++ conftest.cpp >&5
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find /usr/lib/libc_nonshared.a
collect2: ld returned 1 exit status
şeklinde bir bölüm var. Sanırım hata bulunamayan dosyalardan kaynaklanıyor.
config.log dosyasının tamamı da şu şekilde:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by aMule configure SVN, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname =
uname -m = x86_64
uname -r = 2.6.37
uname -s = Linux
uname -v = #1 SMP Mon Jan 17 09:39:16 EET 2011
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/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/bin
PATH: /usr/local/sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /bin
PATH: /sbin
PATH: /opt/bin
PATH: /opt/sun-jre/bin
PATH: /opt/sun-jdk/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2761: checking for a BSD-compatible install
configure:2829: result: /usr/bin/install -c
configure:2840: checking whether build environment is sane
configure:2890: result: yes
configure:3031: checking for a thread-safe mkdir -p
configure:3070: result: /bin/mkdir -p
configure:3083: checking for gawk
configure:3099: found /bin/gawk
configure:3110: result: gawk
configure:3121: checking whether make sets $(MAKE)
configure:3143: result: yes
configure:3242: checking whether to enable maintainer-specific portions of Makefiles
configure:3251: result: no
configure:3269: checking build system type
configure:3283: result: x86_64-unknown-linux-gnu
configure:3303: checking host system type
configure:3316: result: x86_64-unknown-linux-gnu
configure:3378: checking if this is a FreeBSD 4 or earlier system
configure:3389: result: no
configure:3459: checking for g++
configure:3475: found /usr/bin/g++
configure:3486: result: g++
configure:3513: checking for C++ compiler version
configure:3522: g++ --version >&5
g++ (Pardus Linux) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3533: $? = 0
configure:3522: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib --libexecdir=/usr/lib --includedir=/usr/include --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++ --build=x86_64-pc-linux-gnu --disable-libgcj --disable-nls --disable-mudflap --disable-libmudflap --disable-libunwind-exceptions --enable-checking=release --enable-clocale=gnu --enable-__cxa_atexit --enable-languages=c,c++,fortran,objc,obj-c++,lto --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-shared --enable-ssp --disable-libssp --enable-plugin --enable-threads=posix --without-included-gettext --with-arch_32=i686 --with-system-libunwind --enable-multilib --with-tune=generic --with-system-zlib --with-tune=generic --with-pkgversion='Pardus Linux' --with-bugurl=http://bugs.pardus.org.tr
Thread model: posix
gcc version 4.5.2 (Pardus Linux)
configure:3533: $? = 0
configure:3522: g++ -V >&5
g++: '-V' option must have argument
configure:3533: $? = 1
configure:3522: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:3533: $? = 1
configure:3553: checking whether the C++ compiler works
configure:3575: g++ conftest.cpp >&5
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find /usr/lib/libc_nonshared.a
collect2: ld returned 1 exit status
configure:3579: $? = 1
configure:3617: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "aMule"
| #define PACKAGE_TARNAME "amule"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "aMule SVN"
| #define PACKAGE_BUGREPORT "admin@amule.org"
| #define PACKAGE_URL ""
| #define PACKAGE "amule"
| #define VERSION "SVN"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3622: error: in `/home/GALATASARAY/Programs/aMule 2.3.1rc1':
configure:3624: error: C++ compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_RCFLAGS_set=
ac_cv_env_RCFLAGS_value=
ac_cv_env_RC_set=
ac_cv_env_RC_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_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_host=x86_64-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install__c/index.html'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} "/home/GALATASARAY/Programs/aMule 2.3.1rc1/missing" --run aclocal-1.11'
ALCC_FALSE=''
ALCC_MANPAGES=''
ALCC_TRUE=''
ALC_FALSE=''
ALC_MANPAGES=''
ALC_TRUE=''
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} "/home/GALATASARAY/Programs/aMule 2.3.1rc1/missing" --run tar'
AMULECMD_MANPAGES=''
AMULEWEB_DEFS=''
AMULE_DAEMON_FALSE=''
AMULE_DAEMON_MANPAGES=''
AMULE_DAEMON_TRUE=''
AMULE_GUI_FALSE=''
AMULE_GUI_MANPAGES=''
AMULE_GUI_TRUE=''
AM_BACKSLASH='\'
AM_DEFAULT_VERBOSITY='1'
AR=''
AUTOCONF='${SHELL} "/home/GALATASARAY/Programs/aMule 2.3.1rc1/missing" --run autoconf'
AUTOHEADER='${SHELL} "/home/GALATASARAY/Programs/aMule 2.3.1rc1/missing" --run autoheader'
AUTOMAKE='${SHELL} "/home/GALATASARAY/Programs/aMule 2.3.1rc1/missing" --run automake-1.11'
AWK='gawk'
BFD_CPPFLAGS=''
BFD_LIBS=''
BUILD_CC=''
BUILD_CFLAGS=''
BUILD_CPPFLAGS=''
BUILD_EXEEXT=''
BUILD_INCLUDED_LIBINTL=''
BUILD_LDFLAGS=''
CAS_DEFS=''
CAS_FALSE=''
CAS_MANPAGES=''
CAS_TRUE=''
CATOBJEXT=''
CC=''
CCDEPMODE=''
CFLAGS=''
COMPILE_CMD_FALSE=''
COMPILE_CMD_TRUE=''
COMPILE_LIB_COMMON_FALSE=''
COMPILE_LIB_COMMON_TRUE=''
COMPILE_LIB_EC_FALSE=''
COMPILE_LIB_EC_TRUE=''
COMPILE_NLS_FALSE=''
COMPILE_NLS_TRUE=''
CPP=''
CPPFLAGS=''
CRYPTOPP_CPPFLAGS=''
CRYPTOPP_LDFLAGS=''
CRYPTOPP_LIBS=''
CXX='g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEBUGFLAG=''
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ED2K_FALSE=''
ED2K_MANPAGES=''
ED2K_TRUE=''
EGREP=''
EXEEXT=''
FILEVIEW_FALSE=''
FILEVIEW_TRUE=''
GDLIB_CFLAGS=''
GDLIB_CONFIG_PATH=''
GDLIB_LDFLAGS=''
GDLIB_LIBS=''
GENCAT=''
GENERATE_FLEX_HEADER_FALSE=''
GENERATE_FLEX_HEADER_TRUE=''
GEOIP_CPPFLAGS=''
GEOIP_LDFLAGS=''
GEOIP_LIBS=''
GLIBC21=''
GMSGFMT=''
GREP=''
INCINTL=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_SKINS_FALSE=''
INSTALL_SKINS_TRUE=''
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
KBUILDSYCOCA=''
KDE4_CONFIG=''
KDE_APPLNK_PATH=''
KDE_HEADER_DIR=''
KDE_ICON_PATH=''
KDE_MIME_PATH=''
KDE_MODULE_PATH=''
KDE_SERVICE_PATH=''
LD=''
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBPNG_CFLAGS=''
LIBPNG_CONFIG_PATH=''
LIBPNG_LDFLAGS=''
LIBPNG_LIBS=''
LIBS=''
LIBUPNP_CFLAGS=''
LIBUPNP_CPPFLAGS=''
LIBUPNP_LDFLAGS=''
LIBUPNP_LIBS=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} "/home/GALATASARAY/Programs/aMule 2.3.1rc1/missing" --run makeinfo'
MKDIR_P='/bin/mkdir__p/index.html'
MKINSTALLDIRS=''
MONOLITHIC_FALSE=''
MONOLITHIC_MANPAGES=''
MONOLITHIC_TRUE=''
MSGFMT=''
MSGMERGE=''
MULECFLAGS=''
MULECPPFLAGS=''
MULECXXFLAGS=''
MULELDFLAGS=' -lpthread'
MULERCFLAGS=''
NEED_CORESERVICES_FALSE=''
NEED_CORESERVICES_TRUE=''
NEED_RC_FALSE=''
NEED_RC_TRUE=''
OBJEXT=''
PACKAGE='amule'
PACKAGE_BUGREPORT='admin@amule.org'
PACKAGE_NAME='aMule'
PACKAGE_STRING='aMule SVN'
PACKAGE_TARNAME='amule'
PACKAGE_URL=''
PACKAGE_VERSION='SVN'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PLASMAMULE_FALSE=''
PLASMAMULE_TRUE=''
POSUB=''
POW_LIB=''
QT_CORE_CXXFLAGS=''
QT_CORE_LIBS=''
QT_GUI_CXXFLAGS=''
QT_GUI_LIBS=''
QT_MOC=''
RANLIB=''
RC=''
RCFLAGS=''
READLINE_LIBS=''
RESOLV_LIB=''
SET_MAKE=''
SHELL='/bin/sh/index.html'
STRIP=''
SVNDATE=''
SYS_WIN32_FALSE=''
SYS_WIN32_TRUE=''
UPDATE_MIME_DATABASE=''
USER_INSTALL_HOOK=''
USE_INCLUDED_LIBINTL=''
USE_NLS=''
VERSION='SVN'
WEBSERVER_MANPAGES=''
WEB_FALSE=''
WEB_TRUE=''
WXBASE_CPPFLAGS=''
WXBASE_LIBS=''
WXCAS_FALSE=''
WXCAS_MANPAGES=''
WXCAS_TRUE=''
WX_CFLAGS=''
WX_CFLAGS_ONLY=''
WX_CONFIG_PATH=''
WX_CPPFLAGS=''
WX_CXXFLAGS=''
WX_CXXFLAGS_ONLY=''
WX_DEBUG=''
WX_LIBS=''
WX_PORT=''
WX_RESCOMP=''
WX_SHARED=''
WX_UNICODE=''
WX_VERSION_FULL=''
WX_VERSION_MAJOR=''
WX_VERSION_MINOR=''
XAS_FALSE=''
XAS_TRUE=''
XGETTEXT=''
YACC=''
YFLAGS=''
ZLIB_CPPFLAGS=''
ZLIB_LDFLAGS=''
ZLIB_LIBS=''
ac_ct_BUILD_CC=''
ac_ct_CC=''
ac_ct_CXX='g++'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} '\''/home/GALATASARAY/Programs/aMule 2.3.1rc1/install-sh'\'''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir__p/index.html'
oldincludedir='/usr/include/index.html'
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. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "aMule"
#define PACKAGE_TARNAME "amule"
#define PACKAGE_VERSION "SVN"
#define PACKAGE_STRING "aMule SVN"
#define PACKAGE_BUGREPORT "admin@amule.org"
#define PACKAGE_URL ""
#define PACKAGE "amule"
#define VERSION "SVN"
configure: exit 77
Nerede hata yaptığım ve bu sorunu nasıl çözebileceğim konusunda yardımcı olursanız çok sevinirim, teşekkür ederim, iyi günler
- 502 okunma




baDibere
Re: aMule Kurulumunda configure Hatası
gcc yüklü mü?
galatam1
Re: aMule Kurulumunda configure Hatası
Evet, paket yöneticisine tekrar baktım, gcc kurulu görünüyor.
baDibere
Re: aMule Kurulumunda configure Hatası
Pardon dikkatli bakmamışım.
glibc-devel paketi eksik sanırım. Onu yükleyin.
galatam1
Re: aMule Kurulumunda configure Hatası
Arkadaşlar, iyi günler, sorunu çözdüm, aynı sorunu yaşayabilecek arkadaşlara yardımcı olmak için nasıl çözdüğümü adım adım yazacağım. Öncelikle benim ilk sorunum crt1.o dosyasının bulunamamasıydı. Google'da bulduğum sayfaların birinde "crt1.o comes from glibc, but you can't configure glibc without crt1.o. The solution is to build glibc twice." diye bir ifade gördüm. Bu nedenle glibc paketini tekrar kurdum, ayrıca glibc-devel ve glibc-docs paketlerini de kurdum. (glibc-devel ve glibc-docs paketlerine gerek var mıydı bilmiyorum, ama ben sorunu çözeyim diye ne bulsam kurdum.
)
crt1.o sorunu çözüldü, ancak bu sefer de "C++ preprocessor "/lib/cpp/index.html" fails sanity check" diye bir uyarı aldım.
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/home/GALATASARAY/Programs/aMule 2.3.1rc1':
configure: error: C++ preprocessor "/lib/cpp/index.html" fails sanity check
config.log dosyasında
configure:4102: checking how to run the C++ preprocessor
configure:4129: g++ -E conftest.cpp
In file included from /usr/include/bits/posix1_lim.h:157:0,
from /usr/include/limits.h:145,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/include/limits.h:169,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/include/syslimits.h:7,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/include/limits.h:34,
from conftest.cpp:12:
/usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory
compilation terminated.
şeklinde bir hata bölümü vardı. Google'da bulduğum sayfaların birinde "Not sure if this you problem, but for the benefit of the world in general, you can get the same error message if you do not have the kernel-source installed." diye bir ifade gördüm, bu ifadesinin sebebi olarak da arkadaş tam olarak yukarıdaki hata bölümünü göstermiş. Bu nedenle paket yöneticisinden kernel-docs, kernel-headers ve kernel-module-headers paketlerini yükledim. (kernel-docs paketine de gerek yoktu aslında sanırım.)
Sorun çözüldü, bu sefer de zlib ile ilgili bir hata aldım.
checking for zlib >= 1.1.4... no
configure: error: zlib >= 1.1.4 is required for aMule
Paket yöneticisinde zlib yüklü gürünüyordu, ama ben tekrar yükledim, ayrıca zlib ve zziplib ile ilgili diğer paketleri de yükledim. Bu sefer wxWidgets ile ilgii bir hata aldım.
wxWidgets must be installed on your system but wx-config script couldn't be found. Please check that wx-config is in path or specified by --with-wx-config=path flag, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is 2.8.8 or above.
Paket yöneticisinde wxWidgets diye arama yapınca gelen 4 paketi de (erlang-wx, wxGTK, wxGTK-devel, wxMaxima) yükledim, ancak yine wxGTK dışındaki paketlere gerek yoktu sanırım. wxWidgets sorunu da çözüldü, bu sefer pkg-config, libupnp ve crypto++ ile ilgili bir hata aldım.
checking for pkg-config... no
checking for libupnp version >= 1.6.6... no (pkg-config not found)
configure: WARNING:
UPnP code has been disabled because libupnp >= 1.6.6 not found (pkg-config not found).
checking for crypto++ version >= 5.1... no
configure: error:
Could not find crypto++ header file "cryptlib.h".
Please try again with --with-crypto-prefix=/my_crypto_prefix
(replace /my_crypto_prefix with a valid path to your crypto++
installation directory).
Paket yöneticisinde pkg-config dosyasını yükledim, libupnp dosyasını tekrar yükledim, aMule forumlarında http://www.cryptopp.com sitesinden Crypto++ kütüphanesi indirip aşağıdaki komutlarla kurmak gerektiğini öğrendim, indirip kurdum.
unzip -a cryptopp552.zip
make
cp libcryptopp.a /usr/lib/
mkdir /usr/include/cryptopp
cp *.h /usr/include/cryptopp/
ldconfig
Sorun çözüldü, configure çalıştı ve programı kurabildim.
baDibere
Re: aMule Kurulumunda configure Hatası
Paylaştığınız için teşekkürler. Çözüldü olarak işaretliyorum.
kuftikufti
Re: aMule Kurulumunda configure Hatası
Geçmiş olsun. .-docs paketleri, sistem ile ilgili paketler değildirler. Geliştriciler için belgelendirme dosya ve araçlarını içerirler. Dokümantasyon çalışması yapmayacaksanız, *-docs paketlerini yüklemeniz gerekmiyor.