briand0713
16th July 2008, 02:58
hello I got an error when attempting to compile ProFTPd v1.3.2
I am currently running openSuSE v11.0 64bit and I followed this guide in installing my distro: http://www.howtoforge.com/perfect-server-opensuse11
Step 12. on this page is what it told me to do to install ProFTPd: http://www.howtoforge.com/perfect-server-opensuse11-p5
cd /tmp/
wget --passive-ftp ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.2rc1.tar.gz
tar xvfz proftpd-1.3.2rc1.tar.gz
cd proftpd-1.3.2rc1/
./configure --sysconfdir=/etc
make
make install
cd ..
rm -fr proftpd-1.3.2rc1*
when I did 'make' I got this:
srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_delay.o mod_facts.o mod_ident.o mod_auth_pam.o mod_cap.o
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c module_glue.c
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'
=> making cap_names.c from <linux/capability.h>
gcc -O2 -Wall -L/lib _makenames.c -o _makenames
./_makenames > cap_names.h
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
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"
I was w /etc/init.d/proftpd start
Starting ProFTPD Server: - Fatal: UseIPv6: Use of the UseIPv6 directive requires IPv6 support (--enable-ipv6) on line 14 of '/etc/proftpd.conf'
startproc: exit status of parent of /usr/local/sbin/proftpd: 1
failed
ondering if someone could tell me what to do in order to fix the error so I can get ProFTPd installed.
thanks for your assistance
I am currently running openSuSE v11.0 64bit and I followed this guide in installing my distro: http://www.howtoforge.com/perfect-server-opensuse11
Step 12. on this page is what it told me to do to install ProFTPd: http://www.howtoforge.com/perfect-server-opensuse11-p5
cd /tmp/
wget --passive-ftp ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.2rc1.tar.gz
tar xvfz proftpd-1.3.2rc1.tar.gz
cd proftpd-1.3.2rc1/
./configure --sysconfdir=/etc
make
make install
cd ..
rm -fr proftpd-1.3.2rc1*
when I did 'make' I got this:
srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_delay.o mod_facts.o mod_ident.o mod_auth_pam.o mod_cap.o
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c module_glue.c
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'
=> making cap_names.c from <linux/capability.h>
gcc -O2 -Wall -L/lib _makenames.c -o _makenames
./_makenames > cap_names.h
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
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"
I was w /etc/init.d/proftpd start
Starting ProFTPD Server: - Fatal: UseIPv6: Use of the UseIPv6 directive requires IPv6 support (--enable-ipv6) on line 14 of '/etc/proftpd.conf'
startproc: exit status of parent of /usr/local/sbin/proftpd: 1
failed
ondering if someone could tell me what to do in order to fix the error so I can get ProFTPd installed.
thanks for your assistance