LINUX.ORG.RU
ФорумAdmin

Помогите с YUM


0

0

Пытаюсь поставить yum на CentOs
Скачал все пакеты, но вот проблема в их установке, есть 2 пакета. 1 пакет при установки требует 2 пакет, а 2 пакет в свою очередь требует 1 пакет. Парадокс?

[root@km23712-08 yum]# rpm -U yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
предупреждение: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Заголовок V3 DSA signature: NOKEY, key ID e8562897
ошибка: Неудовлетворенные зависимости:
yum >= 3.0 нужен для yum-fastestmirror-1.1.16-13.el5.centos.noarch

[root@km23712-08 yum]# rpm -U yum-3.2.19-18.el5.centos.noarch.rpm
предупреждение: yum-3.2.19-18.el5.centos.noarch.rpm: Заголовок V3 DSA signature: NOKEY, key ID e8562897
ошибка: Неудовлетворенные зависимости:
yum-fastestmirror нужен для yum-3.2.19-18.el5.centos.noarch

Ответ на: комментарий от Cancellor

Спасибо! Что-бы я без вас делал. Облазил весь гугл

Decanter
() автор топика
Ответ на: комментарий от Decanter

Что-бы не создавать тему, подскажите как ставить моды к апачу на CentOs
Как не пробовал не получается ((
Делаю так:
wget http://stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
tar xzvf mod_rpaf-0.6.tar.gz
cd mod_rpaf-0.6
make

Он выдает:
[root@km23712-08 mod_rpaf-0.6]# make
which: no apxs in (/usr/kerberos/sbin:/usr/kerberos/bin://sbin://bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
mod_rpaf:
nevest version available at http://stderr.net/apache/rpaf/

following options available:
"make rpaf" to compile the 1.3 version
"make test" to test 1.3 version
"make install" to install the 1.3 version
"make rpaf-2.0" to compile the 2.0 version
"make test-2.0" to test 2.0 version
"make install-2.0" to install the 2.0 version

change path to apxs if this is not it: " "

Далее делаю make install
в ответ:
[root@km23712-08 mod_rpaf-0.6]# make install
which: no apxs in (/usr/kerberos/sbin:/usr/kerberos/bin://sbin://bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
c -o mod_rpaf.so mod_rpaf.c
make: c: Команда не найдена
make: [mod_rpaf.so] Ошибка 127 (игнорирована)
which: no apxs in (/usr/kerberos/sbin:/usr/kerberos/bin://sbin://bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
i -n mod_rpaf mod_rpaf.so
make: i: Команда не найдена
make: [install] Ошибка 127 (игнорирована)

Decanter
() автор топика
Ответ на: комментарий от Decanter

Все проделал...(install httpd-devel) НО опять НО... так всегда с unix системами? =) Ктонить выпрямите мне руки...
вот, что получается:
[root@km23712-08 mod_rpaf-0.6]# make && make install
mod_rpaf:
nevest version available at http://stderr.net/apache/rpaf/

following options available:
"make rpaf" to compile the 1.3 version
"make test" to test 1.3 version
"make install" to install the 1.3 version
"make rpaf-2.0" to compile the 2.0 version
"make test-2.0" to test 2.0 version
"make install-2.0" to install the 2.0 version

change path to apxs if this is not it: "/usr/sbin/apxs "
/usr/sbin/apxs  -c -o mod_rpaf.so mod_rpaf.c
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/usr/include/apr-1   -I/usr/include/apr-1   -c -o mod_rpaf.lo mod_rpaf.c && touch mod_rpaf.slo
mod_rpaf.c:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rpaf_module'
mod_rpaf.c:80: error: expected specifier-qualifier-list before 'array_header'
mod_rpaf.c:88: error: expected ')' before '*' token
mod_rpaf.c: In function 'rpaf_set_proxy_ip':
mod_rpaf.c:102: error: 'rpaf_module' undeclared (first use in this function)
mod_rpaf.c:102: error: (Each undeclared identifier is reported only once
mod_rpaf.c:102: error: for each function it appears in.)
mod_rpaf.c:107: warning: implicit declaration of function 'ap_push_array'
mod_rpaf.c:107: error: 'rpaf_server_cfg' has no member named 'proxy_ips'
mod_rpaf.c:107: warning: implicit declaration of function 'ap_pstrdup'
mod_rpaf.c:107: warning: assignment makes pointer from integer without a cast
mod_rpaf.c: In function 'rpaf_set_headername':
mod_rpaf.c:113: error: 'rpaf_module' undeclared (first use in this function)
mod_rpaf.c: In function 'rpaf_enable':
mod_rpaf.c:122: error: 'rpaf_module' undeclared (first use in this function)
mod_rpaf.c: In function 'rpaf_sethostname':
mod_rpaf.c:131: error: 'rpaf_module' undeclared (first use in this function)
mod_rpaf.c: At top level:
mod_rpaf.c:138: error: expected declaration specifiers or '...' before 'array_header'
mod_rpaf.c: In function 'is_in_array':
mod_rpaf.c:140: error: 'proxy_ips' undeclared (first use in this function)
mod_rpaf.c: In function 'rpaf_cleanup':
mod_rpaf.c:150: warning: assignment makes pointer from integer without a cast
mod_rpaf.c:151: error: request for member 'sin_addr' in something not a structure or union
mod_rpaf.c:151: warning: implicit declaration of function 'inet_addr'
mod_rpaf.c: In function 'change_remote_ip':
mod_rpaf.c:157: error: 'rpaf_module' undeclared (first use in this function)
mod_rpaf.c:163: error: 'rpaf_server_cfg' has no member named 'proxy_ips'
mod_rpaf.c:163: error: too many arguments to function 'is_in_array'
mod_rpaf.c:166: warning: implicit declaration of function 'ap_table_get'
mod_rpaf.c:166: warning: assignment makes pointer from integer without a cast
mod_rpaf.c:168: warning: assignment makes pointer from integer without a cast
mod_rpaf.c:168: warning: suggest parentheses around assignment used as truth value
mod_rpaf.c:175: warning: implicit declaration of function 'ap_pcalloc'
mod_rpaf.c:176: error: 'array_header' undeclared (first use in this function)
mod_rpaf.c:176: error: 'arr' undeclared (first use in this function)
mod_rpaf.c:176: warning: implicit declaration of function 'ap_make_array'
mod_rpaf.c:178: warning: assignment makes pointer from integer without a cast
mod_rpaf.c:182: warning: assignment makes pointer from integer without a cast
mod_rpaf.c:184: warning: implicit declaration of function 'ap_register_cleanup'
mod_rpaf.c:184: error: 'ap_null_cleanup' undeclared (first use in this function)
mod_rpaf.c:185: warning: assignment makes pointer from integer without a cast
mod_rpaf.c:186: error: request for member 'sin_addr' in something not a structure or union
mod_rpaf.c:189: warning: assignment makes pointer from integer without a cast
mod_rpaf.c:189: warning: suggest parentheses around assignment used as truth value
mod_rpaf.c:191: warning: implicit declaration of function 'ap_table_set'
mod_rpaf.c:192: warning: assignment makes pointer from integer without a cast
mod_rpaf.c:194: warning: assignment makes pointer from integer without a cast
mod_rpaf.c:194: warning: suggest parentheses around assignment used as truth value
mod_rpaf.c:197: warning: assignment makes pointer from integer without a cast
mod_rpaf.c: At top level:
mod_rpaf.c:207: warning: missing braces around initializer
mod_rpaf.c:207: warning: (near initialization for 'rpaf_cmds[0].func')
mod_rpaf.c:207: warning: initialization from incompatible pointer type
mod_rpaf.c:209: warning: initialization from incompatible pointer type
mod_rpaf.c:211: warning: initialization from incompatible pointer type
mod_rpaf.c:213: warning: initialization from incompatible pointer type
mod_rpaf.c:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rpaf_module'
apxs:Error: Command failed with rc=65536
.
make: *** [mod_rpaf.so] Ошибка 1

Decanter
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.