Web Hosting Talk







View Full Version : help me install proftpd-1.2.10


sir_han
02-21-2005, 10:13 PM
Hi there, i have a Linux 9 server with basic webmin control panel and i'm having trouble installing proftpd-1.2.10. Here are the steps I did:



[root@localhost root]# ls
anaconda-ks.cfg install.log.syslog up2date-3.1.23.2-1.i386.rpm
install.log webmin-1.180-1.noarch.rpm

[root@localhost root]# wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.10.tar.gz

[root@localhost root]# cd /usr/src

[root@localhost root]# tar xzvf /root/proftpd-1.2.10.tar.gz

[root@localhost root]# cd proftpd-1.2.10

[root@localhost proftpd-1.2.10]# ls
acconfig.h CREDITS README README.ports
aclocal.m4 doc README.AIX README.Solaris2.5x
ChangeLog include README.capabilities README.Unixware
config.guess INSTALL README.classes RELEASE_NOTES
config.h.in install-sh README.controls sample-configurations
config.log lib README.cygwin src
config.sub Makefile.in README.FreeBSD stamp-h.in
configure Make.rules.in README.IPv6 utils
configure.in modules README.LDAP
contrib NEWS README.modules
COPYING proftpd.spec README.PAM

[root@localhost proftpd-1.2.10]# ./configure
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[root@localhost proftpd-1.2.10]#



i did this before on my linux 7.3 server and never get this error. am i missing something? what else am i supposed to do here? i'm stuck here for now. please help me.

Steven
02-21-2005, 10:28 PM
You need to install GCC

sir_han
02-21-2005, 10:48 PM
sorry for being a newbie, but how do i do that?:cool:

ph0xHost
02-22-2005, 07:07 AM
By "Linux 9 Server" i'm assuming RedHat 9 so you just need the rpms for GCC...

wget...

http://www.mirror.ac.uk/mirror/ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/gcc-3.2.2-5.i386.rpm

then (as root) rpm -i gcc-3.2.2-5.i386.rpm

It may error with "blah requires x.y.z.rpm" so just go and grab them also from..
http://www.mirror.ac.uk/mirror/ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/

Hopefuly then you should be able to ./configure fine :)

HTH, B.

sir_han
02-22-2005, 07:35 AM
thank you very much ph0xhost for the guide!

I've tried installing the gcc-3.2.2-5.i386.rpm using command "rpm -U" and it did required 3 additional RPMs. So i installed:

binutils-2.13.90.0.18-9.i386.rpm and cpp-3.2.2-5.i386.rpm

And tried installing the last one: glibc-devel-2.3.2-11.9.i386.rpm

But it's giving me this error:

[root@ns1 root]# rpm -U glibc-devel-2.3.2-11.9.i386.rpm
error: Failed dependencies:
kernel-headers is needed by glibc-devel-2.3.2-11.9
kernel-headers >= 2.2.1 is needed by glibc-devel-2.3.2-11.9

I can't seem to find the kernel-headers rpm anywhere on that site. Any ideas? I'm so close now. Thanks in advance.

sir_han
02-22-2005, 08:20 AM
nevermind...hehe

i found out it's called glibc-kernelheaders.....

for some reason, after installing that rpm and installing proftpd, i get the same errors:


[root@localhost proftpd-1.2.10]# ./configure
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

BUT my Proftpd worked after i rebooted! hmmm....strange but oh well...