perfect setup proftpd installation problem

Discussion in 'Installation/Configuration' started by andrusha, Jul 1, 2008.

  1. andrusha

    andrusha New Member

    when trying to install proftpd on suse following perfect setup
    i get this error
    Code:
    make install
    echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
    cd lib/ && make lib
    make[1]: Entering directory `/tmp/proftpd-1.3.1rc3/lib'
    gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include  -O2 -Wall -c pr_fnmatch.c
    In file included from /usr/include/asm/sigcontext.h:4,
                     from /usr/include/bits/sigcontext.h:28,
                     from /usr/include/signal.h:333,
                     from /usr/include/sys/wait.h:31,
                     from ../include/conf.h:95,
                     from pr_fnmatch.c:38:
    /usr/include/asm/types.h:6: error: conflicting types for ‘mode_t’
    /usr/include/sys/types.h:72: error: previous declaration of ‘mode_t’ was here
    make[1]: *** [pr_fnmatch.o] Error 1
    make[1]: Leaving directory `/tmp/proftpd-1.3.1rc3/lib'
    make: *** [lib] Error 2
    can someone help me out???
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Please use proftpd-1.3.1 instead of proftpd-1.3.1rc3.
     
  3. andrusha

    andrusha New Member

    Code:
    make
    echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
    cd lib/ && make lib
    make[1]: Entering directory `/tmp/proftpd-1.3.1/lib'
    gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include  -O2 -Wall -c pr_fnmatch.c
    In file included from /usr/include/asm/sigcontext.h:4,
                     from /usr/include/bits/sigcontext.h:28,
                     from /usr/include/signal.h:333,
                     from /usr/include/sys/wait.h:31,
                     from ../include/conf.h:95,
                     from pr_fnmatch.c:38:
    /usr/include/asm/types.h:6: error: conflicting types for ‘mode_t’
    /usr/include/sys/types.h:72: error: previous declaration of ‘mode_t’ was here
    make[1]: *** [pr_fnmatch.o] Error 1
    make[1]: Leaving directory `/tmp/proftpd-1.3.1/lib'
    make: *** [lib] Error 2
    Still same error with stable 1.3.1
    im using opensuse 11
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Ah, ok. Till reported the same problem on OpenSUSE 11. I think he used vsftpd instead. We'll publish the "Perfect Server" for OpenSUSE 11 in a few days.
     
  5. p.a

    p.a New Member

    Hello,

    I have exactly the same problem.
    I also tried to compile the unstable version of proftpd (1.3.2rc1) but it also failed a bit farther in the make.

    For information :
    srv-web:/tmp/proftpd-1.3.2rc1 # make
    cd lib/ && make lib
    make[1]: Entering directory `/tmp/proftpd-1.3.2rc1/lib'
    make[1]: Nothing to be done for `lib'.
    make[1]: Leaving directory `/tmp/proftpd-1.3.2rc1/lib'
    cd src/ && make src
    make[1]: Entering directory `/tmp/proftpd-1.3.2rc1/src'
    make[1]: Nothing to be done for `src'.
    make[1]: Leaving directory `/tmp/proftpd-1.3.2rc1/src'
    cd modules/ && make static
    make[1]: Entering directory `/tmp/proftpd-1.3.2rc1/modules'
    make[1]: Leaving directory `/tmp/proftpd-1.3.2rc1/modules'
    test -z """" -a -z """" || (cd modules/ && make shared)
    make[1]: Entering directory `/tmp/proftpd-1.3.2rc1/lib/libcap'
    gcc -O2 -Wall -c cap_alloc.c -o cap_alloc.o
    In file included from cap_alloc.c:12:
    libcap.h:57:3: error: #error "Kernel <linux/capability.h> does not match library"
    libcap.h:58:3: error: #error "file "libcap.h" --> fix and recompile libcap"
    make[1]: *** [cap_alloc.o] Error 1
    make[1]: Leaving directory `/tmp/proftpd-1.3.2rc1/lib/libcap'
    make: *** [dirs] Error 2

    Since there is no available yast package for proftpd i am really annoyed.
    I'm blocked with my ISPConfig's installation if you have a hint even before the release of the new Perfect Server OpenSuse 11.
    I'm interested in any suggestion.
    By the way thanks for the very helpful Perfect Server OpenSuse 10.3 tutorial.

    Regards,

    p.a
     
  6. falko

    falko Super Moderator ISPConfig Developer

    ISPConfig doesn't support SUSE 11 yet; a new ISPConfig version (suuporting SUSE 11) will be released in a few days, and then we will as well publish the Perfect Server for OpenSUSE 11.
     
  7. matrixn

    matrixn New Member

    hello ppls i have the same problem with the perfect setup on suse 11

    i `m stuck at PtoFTPd instalation... any solutions ?
     
  8. valter

    valter New Member

    Hi,

    I have the same problem. The proftpd installation is the same as on SuSE 10.3, so nothing is changed. Any help would be appreciated as we are stuck on Proftpd installation...
     
  9. p.a

    p.a New Member

    Hello,

    You can install the new version 1.3.2rc1.
    It works on both OpenSuse 10.3 and 11.0 but to compile it you need to first install libcap and libcap-devel.

    By the way, the new OpenSuse 11 perfect server setup (http://www.howtoforge.com/perfect-server-opensuse11-p5) mention to use this 1.3.2rc1 version of proftpd

    Regards,

    p.a
     

Share This Page