Derleme işleminde hata - Google Fan Webmaster Forum
Google Fan Webmaster Forum  
herşeyi sana yazdım

Geri git   Google Fan Webmaster Forum > Webmaster Genel > Site & Server Administration
KEY
Kayıt ol Articles Sosyal Gruplar Forumları Okundu Kabul Et

Site & Server Administration Server Yönetimi hakkında, .htaccess, Apache configuration ve log analiz, güvenlik

Cevapla
 
LinkBack Seçenekler
  1  
Alt 08-05-2009, 01:54:41
 
Standart Derleme işleminde hata

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
Alıntı ile Cevapla
  2  
Alt 08-05-2009, 16:11:40
 
Standart

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
Alıntı ile Cevapla
  3  
Alt 08-05-2009, 22:31:29
 
Standart

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
Alıntı ile Cevapla
  4  
Alt 09-05-2009, 02:08:33
 
Standart

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
Alıntı ile Cevapla
  5  
Alt 10-05-2009, 08:55:53
 
Standart

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ı ile Cevapla
  6  
Alt 10-05-2009, 13:22:40
mow mow isimli üyemiz çevrimdışıdır. (Offline)
 
Standart

yum remove gcc
ve
yum install gcc
Alıntı ile Cevapla
  7  
Alt 11-05-2009, 00:01:31
 
Standart

Alıntı:
Creep Nickli Üyeden Alıntı Mesajı göster
En azından kullanıcıyı compiler grubuna eklediğinde configure: error: C compiler cannot create executables hatası kalkmış olması gerekiyordu... Tam olarak sorunu anlayamadım..

root@sunucu [~]# ls -l /usr/bin/gcc
-rwxr-xr-x 2 root compiler 202320 Jan 21 15:53 /usr/bin/gcc*

Bunun -rwxr-xr-x 2 root root 202320 Jan 21 15:53 /usr/bin/gcc olması gerekmiyor mu? Bende o şekilde gözüküyor.. rheL burda neyi görmek istedi tam olarak çözemedim ama görmek istediği şeylerden biri de bu bence..
O hatayı root kullanıcısında da veriyor

/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
Alıntı ile Cevapla
  8  
Alt 11-05-2009, 00:17:42
 
Standart

Direk olarak Tweak Security bölümünden Compiler Tweak'ı aktif ettim.
__________________
www.joomla.gen.tr
Alıntı ile Cevapla
  9  
Alt 11-05-2009, 08:02:50
 
Standart

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
Alıntı ile Cevapla
  10  
Alt 11-05-2009, 18:50:01
 
Standart

aynısı bende de olmuştu , kerneli günceller misin .
Alıntı ile Cevapla
Cevapla


Bookmarks

Seçenekler

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Kapalı
Pingbacks are Kapalı
Refbacks are Açık



Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 21:44:57.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

“İnsanların en hayırlısı, insanlara faydalı olandır”. H.Ş

Hosting by Radore Hosting

İçerik sağlayacı paylaşım sitelerinden biri olan R10.net WebMaster Forum Adresimizde 5651 Sayılı Kanun’un 8. Maddesine ve T.C.K’nın 125. Maddesine göre TÜM ÜYELERİMİZ yaptıkları paylaşımlardan sorumludur. R10.net hakkında yapılacak tüm hukuksal Şikayetler adresi ile iletişime geçilmesi halinde ilgili kanunlar ve yönetmelikler çerçevesinde en geç 1 (Bir) Hafta içerisinde R10.net yönetimi olarak tarafımızdan gereken işlemler yapılacak ve Avukatlarımız size dönüş yapacaktır.
ARGUS_OK

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252