ProFTPd compile error

Status
Not open for further replies.

feronso

Active Member
208
2009
18
0
Hi,

I have using centos 6.2 Image in VMPlayer. i have an problem while compiling the Proftpd.

I perform the following.

Code:
wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.4a.tar.gz
tar -zxcf proftpd-1.3.4a.tar.gz
cd /usr/proftpd-1.3.4a
./configure
Note: by default it download into /usr/ after extract its become /usr/proftpd-1.3.4a/ directory. so i going there to perform this command. i also try moving this folder to the /usr/src and try from there but not help.

The error in terminal

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



Note: i don't want to install this by any third party Repository. due to learning process and understanding. so any help appreciated to install this individually.
 
10 comments
@ Lock Down

I have try, find command back with no results, echo Path says

[root@testing ~]# echo $PATH
/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin
@ Gourav

You were exact right, gcc will not installed. i just installed it from Add/Remove components and after that MAKE. and now all works correct.

Thanks you both of to Identify this, i m now going to configure ProFTPD.


I got this while i perform make command after ./configure

[root@testing proftpd-1.3.4a]# make
cd lib/ && make lib
make[1]: Entering directory `/usr/proftpd-1.3.4a/lib'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/usr/proftpd-1.3.4a/lib'
cd src/ && make src
make[1]: Entering directory `/usr/proftpd-1.3.4a/src'
make[1]: Nothing to be done for `src'.
make[1]: Leaving directory `/usr/proftpd-1.3.4a/src'
cd modules/ && make static
make[1]: Entering directory `/usr/proftpd-1.3.4a/modules'
make[1]: Leaving directory `/usr/proftpd-1.3.4a/modules'
test -z """" -a -z """" || (cd modules/ && make shared)
make[1]: Entering directory `/usr/proftpd-1.3.4a/lib/libcap'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/proftpd-1.3.4a/lib/libcap'
test -z """" || (cd locale/ && make locale)
test -f ./module-libs.txt || touch ./module-libs.txt

EDIT: still ProFTPD doesn't installed, i will try again with these method. and will report again in this topic.
 
Last edited:
Try this way instead. Just did it on mine...
Code:
Get the ProFTPd tarball. The current version is 1.3.4a

wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.4a.tar.gz
Move it to /usr/src and untar it.

mv proftpd-1.3.4a.tar.gz /usr/src

cd /usr/src

tar -zxf proftpd-1.3.4a.tar.gz
You will now want to go into the newly created directory and compile ProFTPd.

cd proftpd-1.3.4a

./configure

make

make install

proftpd -v
You now have ProFTPd! Since you will most likely use a variation of the basic configuration, copy basic.conf to /etc/proftpd.conf

cp /usr/src/proftpd-1.3.4a/sample-configurations/basic.conf /etc/proftpd.conf
You can now configure ProFTPd by editing the proftp.conf file.

nano /etc/proftpd.conf
 
I did the same method before 3 times. but it still not showing in Webmin.

also, if i try service proftpd restart start it says: unrecognized service.

i checked in Add/Remove program in FTP Server. there is only show 2 package. 1 vsftpd that is already unchecked/uninstalled.

BUT


If i perform test, it seems to be installed. Please review the below line


[root@testing ~]# proftpd
testing proftpd[2223]: Fatal: Group: Unknown group 'nogroup' on line 30 of '/usr/local/etc/proftpd.conf'

on line 28 to 30

# Set the user and group under which the server will run.
User nobody
Group nogroup
 
Last edited:
Have you allowed webmin/virtualmin to update everything?

I use both but I did not use webmin when I installed the proftpd. It worked using putty.
Stopped and started every time.
 
Status
Not open for further replies.
Back
Top