• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[ERLEDIGT] Proftpd auf OpenSuSE 11.0

Skayritarai

Member
Hi,

Ich habe auf meinem Server von OpenSuSE Version 10.3 auf 11.0 Upgradet.

Nun Versuche ich Proftpd zu installieren aber es klappt einfach nicht.
Hat jemand schon selber erfolgreich versucht?
Würde mich freuen, wenn einer mir erklärt, wie ich das machen muss. :)

Vielen Dank im voraus.


[EDIT] Hats sich erledigt, bin auf Debian umgestiegen.
 

whois

Ultimate Guru
Hi

Woran scheiterst du?
Ich habe das Programm zwar noch nie bei der aktuellen Version installiert aber wo hast du probleme?

cu
 
OP
Skayritarai

Skayritarai

Member
Hi,

Ich habe mir bei Proftpd die aktuellste Version (1.3.2rc1) heruntergeladen (tar) und habe es entpackt.

Dabei habe folgende Schritte durchgeführt:

1. Ich wechselte in Verzeichnis mit cd proftpd-1.3.2rc1
2. Gab diesen Befehl ein: ./configure -sysconfdir=/etc --with-modules=mod_tls
3. Gab den Befehl make ein.

Aber dann kommt dieser Fehler:
mod_tls.c: In function 'tls_verify_ocsp':
mod_tls.c:3687: warning: pointer targets in passing argument 2 of 'pstrdup' differ in signedness
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c mod_cap.c
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_tls.o mod_cap.o
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -Wall -c module_glue.c
make[1]: Leaving directory `/root/download/proftpd-1.3.2rc1/modules'
test -z """" -a -z """" || (cd modules/ && make shared)
make[1]: Entering directory `/root/download/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] Fehler 1
make[1]: Leaving directory `/root/download/proftpd-1.3.2rc1/lib/libcap'
make: *** [dirs] Fehler 2
h762996:~/download/proftpd-1.3.2rc1 #

Die RPM die man bei OpenSuSE.org bekommt funktionieren auch nicht, weil diese diese openldap2-devel version 2.3.x benötigen, was aber OpenSuSE 11.0 nicht mehr gibt sondern es gibt schon die version 2.4.x von openldap2-devel.
 
OP
Skayritarai

Skayritarai

Member
panamajo schrieb:
Skayritarai schrieb:
2. Gab diesen Befehl ein: ./configure -sysconfdir=/etc --with-modules=mod_tls
Und was bekommst du dabei für einen Output?

Bitteschön:
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... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether the C compiler accepts -Wall... yes
checking for getopt... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking for standalone crypt... no
checking for crypt in -lcrypt... yes
checking for standalone gethostbyname... yes
checking for standalone inet_aton... yes
checking for standalone nsl functions... yes
checking for standalone socket functions... yes
checking for _pw_stayopen variable... no
checking krb.h usability... no
checking krb.h presence... no
checking for krb.h... no
checking login.h usability... no
checking login.h presence... no
checking for login.h... no
checking prot.h usability... no
checking prot.h presence... no
checking for prot.h... no
checking usersec.h usability... no
checking usersec.h presence... no
checking for usersec.h... no
checking hpsecurity.h usability... no
checking hpsecurity.h presence... no
checking for hpsecurity.h... no
checking for hpsecurity.h workaround... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking junistd.h usability... no
checking junistd.h presence... no
checking for junistd.h... no
checking for memory.h... (cached) yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for struct spwd.sp_warn... yes
checking for struct spwd.sp_inact... yes
checking for struct spwd.sp_expire... yes
checking for security/pam_appl.h... yes
checking for security/pam_modules.h... yes
checking for pam/pam_appl.h... no
checking for pam_start in -lpam... yes
checking linux/capability.h usability... yes
checking linux/capability.h presence... yes
checking for linux/capability.h... yes
checking for cap_init in -lcap... no
checking whether to enable mod_cap... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking sys/ucred.h usability... no
checking sys/ucred.h presence... no
checking for sys/ucred.h... no
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for sys/param.h... yes
checking for sys/mount.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking whether netdb.h requires _USE_IRS... no
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for sys/stat.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking vmsdir.h usability... no
checking vmsdir.h presence... no
checking for vmsdir.h... no
checking ucred.h usability... no
checking ucred.h presence... no
checking for ucred.h... no
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for tzname global variable... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for mode_t... yes
checking for off_t... yes
checking type of array argument to getgroups... gid_t
checking for timer_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for off_t... (cached) yes
checking size of off_t... 8
checking for size_t... (cached) yes
checking size of size_t... 4
checking for time_t... yes
checking size of time_t... 4
checking for mode_t... (cached) yes
checking for ino_t... yes
checking for intptr_t... yes
checking for socklen_t... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking whether struct utmp has ut_user... yes
checking whether struct utmp has ut_host... yes
checking whether struct utmp has ut_exit... yes
checking whether syslog.h defines LOG_CRON... yes
checking whether syslog.h defines LOG_FTP... yes
checking for d_fd in DIR structure... no
checking for dd_fd in DIR structure... no
checking for __dd_fd in DIR structure... no
checking for working alloca.h... yes
checking for alloca... yes
checking for alloca in -lucb... no
checking whether gcc needs -traditional... no
checking whether setpgrp takes no argument... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for bcopy... yes
checking for crypt... yes
checking for fdatasync... yes
checking for fgetgrent... yes
checking for fgetpwent... yes
checking for fgetspent... yes
checking for flock... yes
checking for fpathconf... yes
checking for freeaddrinfo... yes
checking for iconv... yes
checking for nl_langinfo... yes
checking for gai_strerror... yes
checking for getaddrinfo... yes
checking for getcwd... yes
checking for getenv... yes
checking for getgrouplist... yes
checking for gethostbyname2... yes
checking for gethostname... yes
checking for getnameinfo... yes
checking for gettimeofday... yes
checking for hstrerror... yes
checking for inet_aton... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for loginrestrictions... no
checking for memcpy... yes
checking for mempcpy... yes
checking for mkdir... yes
checking for mkstemp... yes
checking for mlock... yes
checking for mlockall... yes
checking for munlock... yes
checking for munlockall... yes
checking for pathconf... yes
checking for putenv... yes
checking for regcomp... yes
checking for rmdir... yes
checking for select... yes
checking for setgroups... yes
checking for socket... yes
checking for statfs... yes
checking for strchr... yes
checking for strcoll... yes
checking for strerror... yes
checking for strsep... yes
checking for strtol... yes
checking for strtoull... yes
checking for setprotoent... yes
checking for setspent... yes
checking for endprotoent... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setsid... yes
checking for setgroupent... no
checking for seteuid... yes
checking for setegid... yes
checking for setenv... yes
checking for setpgid... yes
checking for siginterrupt... yes
checking for tzset... yes
checking for unsetenv... yes
checking for setpassent... no
checking for struct cmsgcred.cmcred_uid... no
checking for struct sockcred.sc_uid... no
checking for struct sockaddr_in.sin_len... no
checking whether struct addrinfo is defined... yes
checking whether struct sockaddr_storage is defined... yes
checking whether ss_family is defined... yes
checking whether ss_len is defined... no
checking whether __ss_len is defined... no
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking acl/libacl.h usability... yes
checking acl/libacl.h presence... yes
checking for acl/libacl.h... yes
checking which POSIX ACL implementation to use... Linux
checking for perm_copy_fd in -lacl... yes
checking which sendfile() implementation to use... Linux
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking whether setgrent returns void... yes
checking for initscr in -lcurses... no
checking for initscr in -lncurses... yes
checking for setproctitle... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for setproctitle in -lutil... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking whether __progname and __progname_full are available... yes
checking which argv replacement method to use... writeable
checking whether printf supports %llu format... yes
checking checking for duplicate module requests... no
checking whether gcc accepts -Wno-long-double... no
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating locale/Makefile
config.status: creating modules/Makefile
config.status: creating src/Makefile
config.status: creating src/ftpdctl.8
config.status: creating src/proftpd.8
config.status: creating src/xferlog.5
config.status: creating tests/Makefile
config.status: creating utils/Makefile
config.status: creating utils/ftpcount.1
config.status: creating utils/ftpshut.8
config.status: creating utils/ftptop.1
config.status: creating utils/ftpwho.1
config.status: creating Makefile
config.status: creating Make.rules
config.status: creating config.h
config.status: executing default commands
 
Ich kann jetzt nicht nachschauen ob es ProFTPd noch in SuSE gibt, als ich die letzte SuSE auf dem Rechner hatte war es noch dabei. Aber egal, selbst wenn es nicht mit dabei ist, so versucht man i.d.R. zuerst selbst ein RPM zu bauen um dieses installieren zu koennen. Hier in einem anderen Forum eine kleine Anleitung zum bauen eines RPMs v. ProFTPd fuer SuSE. Sollte auch auf Version 11 funktionieren.

http://www.linuxforen.de/forums/showthread.php?t=220436
 

oc2pus

Ultimate Guru
für 10.3:
Code:
webpin proftpd -url
   10 results (8 packages) found for "proftpd" in openSUSE_110
* nessus-core: Powerful Security Scanner
   (not installed)
   - 2.2.10 [suse-oss]
     @ http://download.opensuse.org/distribution/11.0/repo/oss/suse
     >> /usr/lib/nessus/plugins/proftpd_user_enum.nasl
* logwatch: Analyzes and Reports on system logs
   (not installed)
   - 7.3.6 [suse-oss | BS::server:/monitoring]
     @ http://download.opensuse.org/distribution/11.0/repo/oss/suse
     @ http://download.opensuse.org/repositories/server:/monitoring/openSUSE_11.0
     >> /usr/share/logwatch/default.conf/services/proftpd-messages.conf
* man-pages-ko: LDP man Pages (Korean)
   (not installed)
   - 20050219 [suse-oss]
     @ http://download.opensuse.org/distribution/11.0/repo/oss/suse
     >> /usr/share/man/ko/man8/proftpd.8.gz
* howtoenh: A Collection of HOWTOs from the Linux Documentation Project (HTML Format)
   (not installed)
   - 2007.1.1 [suse-oss]
     @ http://download.opensuse.org/distribution/11.0/repo/oss/suse
     >> /usr/share/doc/howto/en/html/Linux+IPv6-HOWTO/hints-daemons-proftpd.html
* gadmin-proftpd: GProFTPD - A GTK+ administation tool for the ProFTPD server
   (not installed)
   - 0.2.9 [packman]
     @ http://packman.iu-bremen.de/suse/11.0
     >> gadmin-proftpd.spec
* gadmin-proftpd-debuginfo: Debug information for package gadmin-proftpd
   (not installed)
   - 0.2.9 [packman]
     @ http://packman.iu-bremen.de/suse/11.0
* gadmin-proftpd-debugsource: Debug sources for package gadmin-proftpd
   (not installed)
   - 0.2.9 [packman]
     @ http://packman.iu-bremen.de/suse/11.0

für 11.0:
Code:
webpin proftpd -url -d11.0
   10 results (8 packages) found for "proftpd" in openSUSE_110
* nessus-core: Powerful Security Scanner
   (not installed)
   - 2.2.10 [suse-oss]
     @ http://download.opensuse.org/distribution/11.0/repo/oss/suse
     >> /usr/lib/nessus/plugins/proftpd_user_enum.nasl
* logwatch: Analyzes and Reports on system logs
   (not installed)
   - 7.3.6 [suse-oss | BS::server:/monitoring]
     @ http://download.opensuse.org/distribution/11.0/repo/oss/suse
     @ http://download.opensuse.org/repositories/server:/monitoring/openSUSE_11.0
     >> /usr/share/logwatch/default.conf/services/proftpd-messages.conf
* man-pages-ko: LDP man Pages (Korean)
   (not installed)
   - 20050219 [suse-oss]
     @ http://download.opensuse.org/distribution/11.0/repo/oss/suse
     >> /usr/share/man/ko/man8/proftpd.8.gz
* howtoenh: A Collection of HOWTOs from the Linux Documentation Project (HTML Format)
   (not installed)
   - 2007.1.1 [suse-oss]
     @ http://download.opensuse.org/distribution/11.0/repo/oss/suse
     >> /usr/share/doc/howto/en/html/Linux+IPv6-HOWTO/hints-daemons-proftpd.html
* gadmin-proftpd: GProFTPD - A GTK+ administation tool for the ProFTPD server
   (not installed)
   - 0.2.9 [packman]
     @ http://packman.iu-bremen.de/suse/11.0
     >> gadmin-proftpd.spec
* gadmin-proftpd-debuginfo: Debug information for package gadmin-proftpd
   (not installed)
   - 0.2.9 [packman]
     @ http://packman.iu-bremen.de/suse/11.0
* gadmin-proftpd-debugsource: Debug sources for package gadmin-proftpd
   (not installed)
   - 0.2.9 [packman]
     @ http://packman.iu-bremen.de/suse/11.0
* openvas-plugins: The actual vulnerability tests for the OpenVAS Server
   (not installed)
   - 1.0.2 [BS::home:/bitshuffler:/openvas]
     @ http://download.opensuse.org/repositories/home:/bitshuffler:/openvas/openSUSE_11.0
     >> /usr/lib/openvas/plugins/proftpd_user_enum.nasl


einfach webpin nutzen :)

in diesem Fall: es gibt dat nischt mehr
 
OP
Skayritarai

Skayritarai

Member
Welche Pakete brauche ich den noch außer "gcc" und "make" um ein RPM-Paket für Proftpd zu erstellen?
 
OP
Skayritarai

Skayritarai

Member
Hi,

Ich habe hier eine ZIP-Datei angehängt und in diser befindet sich eine Textdatei.
Und in dieser wird alles bei ausgeführt von diesem Befehl ausgeführt wurde:
rpmbuild -ba --with ctrls --with mod_facl --with mod_tls --with nls --with ipv6 --with dso proftpd.spec

Ich habe es extra so gemacht das sonst der Posting beim Zitieren der Meldungen zu Groß wird und es wollt ihr sicher nicht. :skeptisch:

***EDIT*** Also ich Zitiere mal das Ende von der im ZIP befindliche Textdatei:
RPM build errors:
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf proftpd-1.3.1rc3
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/proftpd-1.3.1rc3.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd proftpd-1.3.1rc3
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ MODULES=mod_ratio:mod_readme
+ MODULES=mod_ratio:mod_readme:mod_tls
+ MODULES=mod_ratio:mod_readme:mod_tls
+ MODULES=mod_ratio:mod_readme:mod_tls
+ MODULES=mod_ratio:mod_readme:mod_tls
+ MODULES=mod_ratio:mod_readme:mod_tls
+ MODULES=mod_ratio:mod_readme:mod_tls
+ MODULES=mod_ratio:mod_readme:mod_tls
+ MODULES=mod_ratio:mod_readme:mod_tls
+ MODULES=mod_ratio:mod_readme:mod_tls
+ MODULES=mod_ratio:mod_readme:mod_tls
+ MODULES=mod_ratio:mod_readme:mod_tls
+ MODULES=mod_ratio:mod_readme:mod_tls
+ MODULES=mod_ratio:mod_readme:mod_tlsmod_facl
+ CFLAGS='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOUR CE=2'
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run --mandir= /usr/share/man --with-includes=/usr/kerberos/include --enable-facl --enable-ipv6 --enable-ctrls --enable-dso --with-modules=mod_ratio:mod_readme:mod_tlsmod_facl
configure: error: source file './modules/mod_tlsmod_facl.c' cannot be found -- a borting
error: Bad exit status from /var/tmp/rpm-tmp.2156 (%prep)
Bad exit status from /var/tmp/rpm-tmp.2156 (%prep)
 

Anhänge

  • fehler.zip
    3,7 KB · Aufrufe: 13

pft

Advanced Hacker
configure: error: source file './modules/mod_tlsmod_facl.c' cannot be found -- a borting
das gibt es ja auch nicht. Es gibt nur mod_tls.c und mod_facl.c

Der Fehler liegt wohl schon in der Zeile:
+ MODULES=mod_ratio:mod_readme:mod_tlsmod_facl
Da fehlt ein Doppelpunkt, wodurch auch immer verursacht.
Richtig:
Code:
+ MODULES=mod_ratio:mod_readme:mod_tls:mod_fac
... eigentlich logisch, oder?
 

pft

Advanced Hacker
kleiner Nachtraq:

proftpd.spec sagt:
%configure \
--libexecdir="%{_libexecdir}/proftpd" \
--localstatedir="%{_var}/run" \
--enable-ctrls \
--enable-dso \
%{!?_without_acl:--enable-facl} \
--enable-ipv6 \
--enable-openssl \
--with-includes="%{_includedir}/mysql" \
--with-libraries="%{_libdir}/mysql" \
--with-modules="mod_readme:mod_auth_pam:mod_tls" \
--with-shared="mod_ldap:mod_sql:mod_sql_mysql:%{!?_without_postgresql:mod_sql_postgres:}mod_quotatab:mod_quotatab_file:mod_quotatab_ldap:mod_quotatab_sql"
%{__make} %{?_smp_mflags}
Folglich ist
Code:
--with mod_facl
und sollte
Code:
--enable-facl
heissen, oder nicht (bin kein rpmbuild Experte, versuche nur mitzudenken)?
 
OP
Skayritarai

Skayritarai

Member
Hi,

Ich habe mal alle Parameter entfernt das es nur noch so ausgesehen hat:
rpmbuild -ba proftpd.spec

Aber leider kommt der nächste Fehler:
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4231
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /usr/src/packages/BUILD/proftpd-1.3.1rc3-root
++ dirname /usr/src/packages/BUILD/proftpd-1.3.1rc3-root
+ /bin/mkdir -p /usr/src/packages/BUILD
+ /bin/mkdir /usr/src/packages/BUILD/proftpd-1.3.1rc3-root
+ cd proftpd-1.3.1rc3
+ make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/usr/src/packages/BUILD/proftpd-1.3.1rc3/lib'
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -Wall -c pr_fnmatch.c
gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -Wall -c sstrncpy.c
In file included from sstrncpy.c:32:
../include/libsupp.h:79: error: expected declaration specifiers or â...â before numeric constant
../include/libsupp.h:79: error: expected declaration specifiers or â...â before â__builtin_object_sizeâ
../include/libsupp.h:79: warning: conflicting types for built-in function â__builtin___snprintf_chkâ
../include/libsupp.h:95: error: expected declaration specifiers or â...â before numeric constant
../include/libsupp.h:95: error: expected declaration specifiers or â...â before â__builtin_object_sizeâ
../include/libsupp.h:95: warning: conflicting types for built-in function â__builtin___vsnprintf_chkâ
make[1]: *** [sstrncpy.o] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/proftpd-1.3.1rc3/lib'
make: *** [lib] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.4231 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.4231 (%build)
 

pft

Advanced Hacker
Hi,

vielleicht mal ein mehr grundsätzlicher Kommentar.
Du solltest Deine Erwartungshaltung überprüfen.
Wenn proftpd in SUse 11 nicht mehr drin ist, dann dürfte das Gründe haben. Am mangelnden Interesse an proftpd dürfte es aus meiner Sicht nicht liegen.
Also sind es wahrscheinlich Qualitätsprobleme oder massive Inkompatibilitäten (siehe deine Erfahrungen). In jedem Fall dürfte der Aufwand erheblich sein.

Wenn es mit einfachem kompilieren ginge hätten das die Jungs und Mädels sicher gemacht.

Das Du das jetzt angehen willst ist sehr löblich und dürfte Dir auch reichlich Freunde in der Community verschaffen. Aber bist Du dir dessen bewusst und willst und kannst Du das wirklich?

Nimm's mir nicht übel, aber jede noch so kleine Fehlermeldung ins Forum zu blasen ist nicht das, was man einen substantiellen Eigenbeitrag nennt. Natürlich kann man es mal versuchen ... :D
 

salazar

Newbie
So, nachdem ich aus diesem Foreneintrag nicht wirklich schlauer geworden bin, will ich mal den letztendlich supereinfachen Weg hier kurz beschreiben, für alle die nach mir kommen:

- http://www.opensuse.org/de/
- Auf "Get it" klicken
- Auf "Package Search" klicken
- nach "proftpd" für openSUSE 11.0 suchen
- 1-Click-Install auswählen und ab geht die Post :)

Ist offenbar nur in den Standard-Repositories nicht drin, warum auch immer ...
 
Oben