Results 1 to 10 of 11
-
30th May 2012, 03:34 PM #1OPMember
ProFTPd compile error
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
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.feronso Reviewed by feronso on . ProFTPd compile error Hi, I have using centos 6.2 Image in VMPlayer. i have an problem while compiling the Proftpd. I perform the following. 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 ./configureNote: 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. Rating: 5
-
30th May 2012, 03:55 PM #2Respected Member
The problem is that your c compiler can not be found in the path.
do a find for the cl.exe file and make sure that folder is part of the $PATH variable.
You can check by doing a
echo $PATH
find command is : find / -name cl.exe
-
30th May 2012, 04:08 PM #3You can call me G
Perhaps you lack a C compiler altogether. GCC is a good one. Try:
Code:yum install gcc
Regards,
Gaurav
My Langotiya Yaars (Chaddi buddies): JmZ, humour, Chutad, Esotorisk, l0calhost, Daniel, Mind Freak?, TLK, Amz
-
30th May 2012, 04:17 PM #4Respected Member
I would suggest looking to see if one exists first and then if not install a new one.
-
30th May 2012, 07:20 PM #5OPMember
@ 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
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
-
30th May 2012, 08:02 PM #6Respected Member
You are welcome.
-
30th May 2012, 08:44 PM #7OPMember
Please read the above post, i edit that.
-
30th May 2012, 11:04 PM #8Respected Member
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
-
31st May 2012, 06:17 AM #9OPMember
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'
# Set the user and group under which the server will run.
User nobody
Group nogroup
-
31st May 2012, 07:37 AM #10MemberWebsite's:
vjetnamnet.com nguoihaiduong.com filezdown.comYou need install some package to build source code.
$ yum install build-essential
$ yum install g++
$ yum install gcc
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to Make a new account in Proftpd
By Sushant in forum Server ManagementReplies: 4Last Post: 29th May 2012, 04:39 AM -
proftpd server help
By jetli68 in forum Technical Help Desk SupportReplies: 0Last Post: 30th Nov 2011, 11:28 AM -
[C++] someone to compile this code asap
By jokerhacker in forum Web Development AreaReplies: 8Last Post: 8th Sep 2011, 06:15 PM -
How do I compile Suhosin using VC6 (and php 5.2.14 source)?
By NewEraCracker in forum Technical Help Desk SupportReplies: 2Last Post: 21st Feb 2011, 11:47 PM -
Security Vulnerability to ProFTPD, a component service of Plesk
By DLow in forum Hosting DiscussionReplies: 0Last Post: 12th Nov 2010, 11:56 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...