Activity Stream
48,167 MEMBERS
6875 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1.     
    #1
    Member

    Default 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
    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.
    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

  2.   Sponsored Links

  3.     
    #2
    Respected 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

  4.     
    #3
    You can call me G
    Perhaps you lack a C compiler altogether. GCC is a good one. Try:

    Code: 
    yum install gcc
    and then run ./configure again

    Regards,
    Gaurav



    My Langotiya Yaars (Chaddi buddies): JmZ, humour, Chutad, Esotorisk, l0calhost, Daniel, Mind Freak?, TLK, Amz

  5.     
    #4
    Respected Member
    I would suggest looking to see if one exists first and then if not install a new one.

  6.     
    #5
    Member
    @ 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.

  7.     
    #6
    Respected Member
    You are welcome.

  8.     
    #7
    Member
    Please read the above post, i edit that.

  9.     
    #8
    Respected 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

  10.     
    #9
    Member
    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

  11.     
    #10
    Member
    Website's:
    vjetnamnet.com nguoihaiduong.com filezdown.com
    You need install some package to build source code.
    $ yum install build-essential
    $ yum install g++
    $ yum install gcc

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to Make a new account in Proftpd
    By Sushant in forum Server Management
    Replies: 4
    Last Post: 29th May 2012, 04:39 AM
  2. proftpd server help
    By jetli68 in forum Technical Help Desk Support
    Replies: 0
    Last Post: 30th Nov 2011, 11:28 AM
  3. [C++] someone to compile this code asap
    By jokerhacker in forum Web Development Area
    Replies: 8
    Last Post: 8th Sep 2011, 06:15 PM
  4. How do I compile Suhosin using VC6 (and php 5.2.14 source)?
    By NewEraCracker in forum Technical Help Desk Support
    Replies: 2
    Last Post: 21st Feb 2011, 11:47 PM
  5. Replies: 0
    Last Post: 12th Nov 2010, 11:56 PM

Tags for this Thread

BE SOCIAL