Страница 1 из 1

ProFTPd с исходников CentOS

Добавлено: 2011-03-15 23:45:30
ProFTP
в репозиториях никак не было не было ProFTPd
(или чnо надо прописать чтобы он появился??)

Код: Выделить всё

sh ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
config.log

Код: Выделить всё

configure:2617: checking for C compiler default output file name                    ?? configure:2644: gcc    conftest.c  >&5                                         ?08 ??????                                                       ???       ?? configure:2647: $? = 0                                                         :26 ??????                                                       ???       ?? configure:2685: result: a.out                                                  004 ??????                                                       ???       ?? configure:2702: checking whether the C compiler works                          009 ??????                                                       ???       ?? configure:2712: ./a.out                                                        0 ????????                                                       ???       ?? ./configure: line 2713: ./a.out: Permission denied                                                                                                           configure:2715: $? = 126                                                                                                                                     configure:2724: error: cannot run C compiled programs.                                                                                                       If you meant to cross compile, use `--host'.                                                                                                                 See `config.log' for more details.  

вообщем, такое:

Код: Выделить всё

./configure: line 2713: ./a.out: Permission denied                                                                                             
что с этим делать?

права поставил 777 и root

Re: ProFTPd с исходников CentOS

Добавлено: 2011-03-16 0:19:38
hizel
checking whether the C compiler works... configure: error: cannot run C compiled programs.
поставь таки конпелятор, это не быдо-фря, тут нет конпелятора из коропке

Re: ProFTPd с исходников CentOS

Добавлено: 2011-03-16 0:38:57
ProFTP
компилятор стоит

Код: Выделить всё

yum install gcc gcc-c++
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.leaseweb.com
 * base: mirror.leaseweb.com
 * extras: mirror.leaseweb.com
 * updates: centos.mirror.transip.nl
Setting up Install Process
Package gcc-4.1.2-48.el5.x86_64 already installed and latest version
Package gcc-c++-4.1.2-48.el5.x86_64 already installed and latest version
Nothing to do
или нет?

похожая проблема http://ubuntuforums.org/showthread.php?t=692462
таких проблем очень много

Re: ProFTPd с исходников CentOS

Добавлено: 2011-03-16 12:15:07
Hrafn
Может, проще подключить репу EPEL?

Re: ProFTPd с исходников CentOS

Добавлено: 2011-03-16 13:55:21
ProFTP
Hrafn писал(а):Может, проще подключить репу EPEL?
можно подробно как эти репозитории подключать?
и какой надо?

в гугле пишут, все время этот:

Код: Выделить всё

cd /etc/yum.repos.d/
wget http://centos.karan.org/kbsingh-CentOS-Extras.repo
rpm --import http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
yum install proftpd
в итоге пишет что не нашел proftpd ...

Re: ProFTPd с исходников CentOS

Добавлено: 2011-03-16 15:08:11
FreeBSP
http://centos.karan.org/el4/extras/stab ... l4.kb.html
добавляешь ключ, добавляешь реп, обновляешь список репов, список пакетов
как то так

Re: ProFTPd с исходников CentOS

Добавлено: 2011-03-16 15:20:42
Hrafn

Re: ProFTPd с исходников CentOS

Добавлено: 2011-03-26 0:43:25
FiL
ProFTP писал(а): вообщем, такое:

Код: Выделить всё

./configure: line 2713: ./a.out: Permission denied                                                                                             
что с этим делать?

права поставил 777 и root
Может у тебя noexec на этом разделе?

Re: ProFTPd с исходников CentOS

Добавлено: 2011-03-28 15:49:53
ProFTP
да, точно, я недосмотрел тогда, там стоял noexec, блин

я уже поставил vsftpd, он вродебы нормально пашет

Re: ProFTPd с исходников CentOS

Добавлено: 2011-04-06 19:17:41
paix
не, ну и для кого я распинался, фак писал, вверху тема прилеплена ;)

чтобы потом народ потом сорсинсталингом занимался?