|
|
| |||||||
| Site & Server Administration Server Yönetimi hakkında, .htaccess, Apache configuration ve log analiz, güvenlik |
| |
|
| | | LinkBack | Seçenekler |
| |||
| Anope, SE-Service gibi servislerin kurulumunda aşağıdaki gibi hataları alıyorum.Sorunu bir türlü çözemedim. root@sunucu [/home/zzzzzz/SE-Services1.0.0]# make gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes -fno-builtin-log -c actions.c -o actions.o gcc: error trying to exec 'cc1': execvp: No such file or directory make: *** [actions.o] Error 1 root@sunucu [/home/zzzzzz/SE-Services1.0.0]# root@sunucu [/home/zzzzzz/anope-1.8.0]# ./Config Saving configuration results in config.cache... done. ./configure --with-bindir=/home/zzzzzzzz/services --with-datadir=/home/zzzzzzzz/services --with-ircd=IRC_UNREAL32 --with-permissions=077 checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. root@sunucu [/home/zzzzzz/anope-1.8.0]# make make: *** No targets specified and no makefile found. Stop. root@sunucu [/home/zzzzzz/anope-1.8.0]# Nedeni ne olabilir ? config.log dosyası : Kod: 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.59. Invocation command line was
$ ./configure --with-bindir=/home/radyo/services --with-datadir=/home/radyo/services --with-ircd=IRC_UNREAL32 --with-permissions=077
## --------- ##
## Platform. ##
## --------- ##
hostname = hostname
uname -m = i686
uname -r = 2.6.18-128.1.6.el5PAE
uname -s = Linux
uname -v = #1 SMP Wed Apr 1 10:02:22 EDT 2009
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/jdk/bin
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/lib/courier-imap/sbin
PATH: /usr/lib/courier-imap/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1364: checking for gcc
configure:1380: found /usr/bin/gcc
configure:1390: result: gcc
configure:1634: checking for C compiler version
configure:1637: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
Copyright (C) 2006 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:1640: $? = 0
configure:1642: gcc -v </dev/null >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=relea$
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
configure:1645: $? = 0
configure:1647: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:1650: $? = 1
configure:1673: checking for C compiler default output file name
configure:1676: gcc conftest.c >&5
gcc: error trying to exec 'cc1': execvp: No such file or directory
configure:1679: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1718: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
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_LDFLAGS_set=
ac_cv_env_LDFLAGS_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_prog_ac_ct_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
ANOPELIBS=''
BINDEST=''
CC='gcc'
CFLAGS=''
CP=''
CPP=''
CPPFLAGS=''
DATDEST=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL=''
IRCDFILE=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MODULE_PATH=''
MYSQL=''
MYSQLCLIENT_CFLAGS=''
MYSQLCLIENT_LDFLAGS=''
MYSQLCLIENT_LIBS=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
RDB=''
RM=''
RUNGROUP=''
SHELL='/bin/sh'
TOUCH=''
ac_ct_CC='gcc'
acx_pthread_config=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
configure: exit 77
__________________ www.joomla.gen.tr |
| |||
| Elbette ; root@sunucu [~]# rpm -V gcc ......G. /usr/bin/c89 ......G. /usr/bin/c99 ......G. /usr/bin/gcc ......G. /usr/bin/i386-redhat-linux-gcc root@sunucu [~]# root@sunucu [~]# type gcc gcc is /usr/bin/gcc root@sunucu [~]# root@sunucu [~]# ls -ld /usr/libexec/gcc/i386-redhat-linux/*/cc1 -rw-r--r-- 1 root root 5463088 Jan 21 15:53 /usr/libexec/gcc/i386-redhat-linux/4.1.1/cc1 -rw-r--r-- 1 root root 5463088 Jan 21 15:53 /usr/libexec/gcc/i386-redhat-linux/4.1.2/cc1 root@sunucu [~]# İlginiz için teşekkürler bu arada.
__________________ www.joomla.gen.tr |
| |||
| root@sunucu [~]# yum list gcc\* Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.bytemark.co.uk * updates: mirror.bytemark.co.uk * addons: mirror.bytemark.co.uk * extras: mirror.bytemark.co.uk base | 1.1 kB 00:00 updates | 951 B 00:00 addons | 951 B 00:00 extras | 1.1 kB 00:00 primary.xml.gz | 90 kB 00:00 extras 298/298 Excluding Packages in global exclude list Finished Installed Packages gcc.i386 4.1.2-44.el5 installed gcc-c++.i386 4.1.2-44.el5 installed gcc-gfortran.i386 4.1.2-44.el5 installed gcc-gnat.i386 4.1.2-44.el5 installed gcc-java.i386 4.1.2-44.el5 installed gcc-objc.i386 4.1.2-44.el5 installed gcc-objc++.i386 4.1.2-44.el5 installed gcc43.i386 4.3.2-7.el5 installed gcc43-c++.i386 4.3.2-7.el5 installed gcc43-gfortran.i386 4.3.2-7.el5 installed root@sunucu [~]# root@sunucu [~]# gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) root@sunucu [~]# root@sunucu [~]# /usr/libexec/gcc/i386-redhat-linux/*/cc1 --version -bash: /usr/libexec/gcc/i386-redhat-linux/4.1.1/cc1: Permission denied root@sunucu [~]# root@sunucu [~]# touch /tmp/deneme.c && gcc -v -S /tmp/deneme.c Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) cc1 -quiet -v /tmp/deneme.c -quiet -dumpbase deneme.c -mtune=generic -auxbase deneme -version -o deneme.s gcc: error trying to exec 'cc1': execvp: No such file or directory root@sunucu [~]# Çıktılar bu şekilde.
__________________ www.joomla.gen.tr |
| |||
| root@sunucu [~]# ls -l /usr/bin/gcc -rwxr-xr-x 2 root compiler 202320 Jan 21 15:53 /usr/bin/gcc* root@sunucu [~]# rpm -V cpp .M...... /usr/libexec/gcc/i386-redhat-linux/4.1.1/cc1 root@sunucu [~]#
__________________ www.joomla.gen.tr |
| |||
| Onu da denedim hocam, aynı problem mevcut. Sadece derleme sorununu çözmeye çalıştığım için kullanıcı hesabına giriş yapmaya gerek duymadım.
__________________ www.joomla.gen.tr |
| |||
| Alıntı:
![]() /usr/bin/gcc dizninin ownerlarınıda root olarak ayarladım fakat durum hala aynı gcc'i silip tekrar kurmakta işe yaramadı.
__________________ www.joomla.gen.tr |
| |||
| Direk olarak Tweak Security bölümünden Compiler Tweak'ı aktif ettim.
__________________ www.joomla.gen.tr |
| |||
| Maalesef yine aynı ![]() Saving configuration results in config.cache... done. ./configure --with-bindir=/home/zzzzzzzz/services --with-datadir=/home/zzzzzzzz/services --with-ircd=IRC_UNREAL32 --with-permissions=077 checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. zzzzzzzz@hostname [~/anope-1.7.8]#
__________________ www.joomla.gen.tr |
| |||
| aynısı bende de olmuştu , kerneli günceller misin .
__________________ Ücretsiz Sunucu Kurulumları ve Destek Sistemi |
![]() |
| Bookmarks |
| Seçenekler | |
| |