www.ProFTPD.de
13. März 2007, 19:59:44 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1] 2   Nach unten
  Drucken  
Autor Thema: Ich brauche Hilfe bei der Installation  (Gelesen 1364 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
Remad
ProFTPD
*
Offline Offline

Beiträge: 6


Profil anzeigen
« am: 30. Mai 2004, 13:56:08 »

Hallo,
ich wollte Proftpd bei mir installieren auf ein SuSe 9.0 Linux Professional. Ich habe es aber nie zum laufen bekommen. Geladen habe ich die tar.gz der neusten Version. Schon bei der Installation hatte ich die ersten Probleme.
Also könnte mich jemand anleiten in der installation, was ich zu tun habe, wenn ich die tar.gz dekompressiert habe. Bis zum Ende der Installation. Ich verstehe bei den Anleitungen zur Installation, auch wenn ich sie nach der Anleitung durchführe nur Bahnhof.

MfG
Remad
Gespeichert

Linux is like a wigwam, no Bill Gates, no Windows, no watching into your computer and apache inside!
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #1 am: 30. Mai 2004, 15:35:48 »

Als 1. so in etwa:
Code:
./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/local/include --with-libraries=/usr/local/lib/mysql


Welche Module du brauchst mußt du selbst wissen.
Nun LESEN was da steht.
Wenn Fehler (errors) aufgetreten sind, diese hier posten.

Dann als 2. make clean,  make und dann LESEN was da steht.
Wenn wieder Fehler (errors) aufgetreten sind hier posten - sonst  make install

ODER als RPM von RemsGost

ftp://ftp.remsnet.de/incoming/proftpd/RPMS/
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Remad
ProFTPD
*
Offline Offline

Beiträge: 6


Profil anzeigen
« Antwort #2 am: 30. Mai 2004, 23:18:38 »

Eine RPM wird wohl nie von ihm laufen, weil bei mir Perl(scrict) und sbin-Service nicht vorhanden ist. Okay dann führe ich Schritt eins aus!
Gespeichert

Linux is like a wigwam, no Bill Gates, no Windows, no watching into your computer and apache inside!
Remsnet
Gast
« Antwort #3 am: 31. Mai 2004, 06:57:53 »

Zitat von: "Remad"
Eine RPM wird wohl nie von ihm laufen, weil bei mir Perl(scrict) und sbin-Service nicht vorhanden ist. Okay dann führe ich Schritt eins aus!



Moin,

??!!? welche distro hast du wirklich, suse9 kanns nicht sein. ?

Schikt bitte RPM-install Fehlermsg(s) bitte an meine email:
radm at remsnet.de - danke.
Mindestinfos: Distro, +Version, ein rpm -qa ausgabe als attachment.
Was ich nicht weis kann auch nicht korregiert werden.

Auszug aus dem proftpd-1.2.10rc1-RNS_suse90_ia32_3.spec :
( für das proftpd-1.2.10rc1-RNS_suse90_ia32_3.i586.rpm )

Requires:       aaa_base
Requires:       mysql-shared
Requires:       mysql-client
Requires:       sysvinit
Requires:       quota
Requires:       tcpd
Requires:       openldap2
Requires:       acl
Requires:       openssl
Requires:       libmcrypt
Requires:       cyrus-sasl2
Requires:       pam
Requires:       zlib
Prereq:          fileutils


Diese package nahmen werden erwartet das sie instaliert sind, wobei RH/Mandrake/.. teilweise anders heissen .

debug install:  
  mkdir /tmp/var/lib/rpm
  rpm -i --root /tmp --nodeps --noscripts --force <rpm>

laesst sich das package "auspacken" um dan mit ldd nachzusehen ob alles da ist an libarys, die ldd ausgabe  sieht bei mir so aus:

# ldd /tmp/usr/sbin/proftpd
        libmysqlclient.so.12 => /usr/lib/libmysqlclient.so.12 (0x4002a000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40061000)
        libcap.so.1 => /lib/libcap.so.1 (0x40153000)
        libldap.so.2 => /usr/lib/libldap.so.2 (0x40157000)
        liblber.so.2 => /usr/lib/liblber.so.2 (0x4018a000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40196000)
        libm.so.6 => /lib/libm.so.6 (0x401c7000)
        libz.so.1 => /lib/libz.so.1 (0x401ea000)
        libpam.so.0 => /lib/libpam.so.0 (0x401f9000)
        libc.so.6 => /lib/libc.so.6 (0x40201000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40337000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40369000)
        libdl.so.2 => /lib/libdl.so.2 (0x4037f000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40382000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x40394000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Sofern eine als "notfound" dasteht solte diese nachinstaliert werden,
oder eben das package recompilen mit dem SRPM , das Spec file editiert
( die MODULES liste kleiner machen zbps ..)
und dan rpmbuild -ba <SPEC File>

Zum RPM Bauen werden so einige devel Packete benoetoigt

Was die rpm Required tags angeht so Knobel ist noch etwas an den tags um das noch weitergehend für RH/Mandrake/.. anzupassen( aehnlich wie bei den qmail toaster packages)


Bay the way : Allen "recht" machen kann ich das so oder so nicht. Die einzelnen anforderungen des jeweiligen Admins sind sehr verschieden.

@Stonki
Was ich mir wuenschen würde ist das der final proftpd-1.2.10 und nachfolgende wie bei Apache die "Module" als .so bauen und laden koennte, das würde so manches vereinfachen.
Den AddModule/LoadModule code koennte mensch sich vom Apache "borgen" Zwinkernd


MfG
Gespeichert
Remad
ProFTPD
*
Offline Offline

Beiträge: 6


Profil anzeigen
« Antwort #4 am: 01. Juni 2004, 12:10:58 »

Sieht soweit Okay aus, aber bei make sind 2 Fehler, die muss ich erst beheben!
mod_mysql
und mit den Verzeichnissen siehe make install!

Remad:/home/remad/Documents/proftpd-1.2.9 # ./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/local/include --with-libraries=/usr/local/lib/mysql
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... 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 ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether the C compiler accepts -Wall... yes
checking for getopt... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -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 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 prot.h usability... no
checking prot.h presence... no
checking for prot.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/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
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 security/pam_appl.h usability... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking linux/capability.h usability... yes
checking linux/capability.h presence... yes
checking for linux/capability.h... yes
checking whether to enable mod_cap... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... 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/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 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 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/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 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 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 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 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 umode_t... no
checking for ino_t... yes
checking for socklen_t... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking whether your struct utmp has ut_user... yes
checking whether your struct utmp has ut_host... yes
checking whether your struct utmp has ut_exit... yes
checking whether your syslog.h defines LOG_CRON... yes
checking whether your 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 fgetgrent... yes
checking for fgetpwent... yes
checking for flock... yes
checking for freeaddrinfo... yes
checking for gai_strerror... yes
checking for getaddrinfo... yes
checking for getcwd... yes
checking for gethostbyname2... yes
checking for gethostname... yes
checking for getnameinfo... yes
checking for getopt_long... 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 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 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 setprotoent... 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 siginterrupt... yes
checking for setpgid... yes
checking for regcomp... yes
checking for tzset... yes
checking for pathconf... yes
checking for fpathconf... yes
checking for fgetspent... yes
checking for setpassent... 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 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 whether gcc accepts -Wno-long-double... no
configure: creating ./config.status
config.status: creating lib/Makefile
config.status: creating modules/Makefile
config.status: creating src/Makefile
config.status: creating src/proftpd.8
config.status: creating src/xferlog.5
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: config.h is unchanged
config.status: executing default commands
Remad:/home/remad/Documents/proftpd-1.2.9 # make clean
cd src/     && make clean
make[1]: Entering directory `/home/remad/Documents/proftpd-1.2.9/src'
rm -f *.o
make[1]: Leaving directory `/home/remad/Documents/proftpd-1.2.9/src'
cd modules/ && make clean
make[1]: Entering directory `/home/remad/Documents/proftpd-1.2.9/modules'
rm -f *.o module_glue.c
make[1]: Leaving directory `/home/remad/Documents/proftpd-1.2.9/modules'
cd lib/     && make clean
make[1]: Entering directory `/home/remad/Documents/proftpd-1.2.9/lib'
rm -f *.o libsupp.a
make[1]: Leaving directory `/home/remad/Documents/proftpd-1.2.9/lib'
cd utils/   && make clean
make[1]: Entering directory `/home/remad/Documents/proftpd-1.2.9/utils'
rm -f *.o
make[1]: Leaving directory `/home/remad/Documents/proftpd-1.2.9/utils'
make[1]: Entering directory `/home/remad/Documents/proftpd-1.2.9/lib/libcap'
rm -f cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o libcap.a*
rm -f cap_names.h cap_names.sed _makenames
make[1]: Leaving directory `/home/remad/Documents/proftpd-1.2.9/lib/libcap'
rm -f include/buildstamp.h
rm -f proftpd ftpcount ftpshut ftptop ftpwho

Remad:/home/remad/Documents/proftpd-1.2.9 # make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/home/remad/Documents/proftpd-1.2.9/lib'
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c pr_fnmatch.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c sstrncpy.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c strsep.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c vsnprintf.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c glibc-glob.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c glibc-hstrerror.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c glibc-mkstemp.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c pr-syslog.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c pwgrent.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c getopt.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c getopt1.c
ar rc libsupp.a pr_fnmatch.o sstrncpy.o strsep.o vsnprintf.o glibc-glob.o glibc-hstrerror.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o
ranlib libsupp.a
make[1]: Leaving directory `/home/remad/Documents/proftpd-1.2.9/lib'
cd src/ && make src
make[1]: Entering directory `/home/remad/Documents/proftpd-1.2.9/src'
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c main.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c timers.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c sets.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c pool.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c regexp.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c dirtree.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c support.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c netaddr.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c inet.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c log.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c bindings.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c feat.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c netio.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c response.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c ident.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c data.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c modules.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c fsio.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c mkhome.c
make[1]: Leaving directory `/home/remad/Documents/proftpd-1.2.9/src'
cd modules/ && make modules
make[1]: Entering directory `/home/remad/Documents/proftpd-1.2.9/modules'
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c mod_core.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c mod_auth_unix.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c mod_auth_file.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c mod_auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c mod_ls.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c mod_site.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c mod_sql.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/include -O2 -Wall -c mod_sql_mysql.c
mod_sql_mysql.c:137:19: mysql.h: Datei oder Verzeichnis nicht gefunden
mod_sql_mysql.c:164: error: parse error before "MYSQL"
mod_sql_mysql.c:164: Warnung: no semicolon at end of struct or union
mod_sql_mysql.c: In function `_build_error':
mod_sql_mysql.c:331: Warnung: implicit declaration of function `mysql_errno'
mod_sql_mysql.c:331: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: Warnung: implicit declaration of function `mysql_error'
mod_sql_mysql.c:333: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `_build_data':
mod_sql_mysql.c:344: error: `MYSQL' undeclared (first use in this function)
mod_sql_mysql.c:344: error: (Each undeclared identifier is reported only once
mod_sql_mysql.c:344: error: for each function it appears in.)
mod_sql_mysql.c:344: error: `mysql' undeclared (first use in this function)
mod_sql_mysql.c:345: error: `MYSQL_RES' undeclared (first use in this function)
mod_sql_mysql.c:345: error: `result' undeclared (first use in this function)
mod_sql_mysql.c:346: error: `MYSQL_ROW' undeclared (first use in this function)
mod_sql_mysql.c:346: error: parse error before "row"
mod_sql_mysql.c:355: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:361: Warnung: implicit declaration of function `mysql_store_result'
mod_sql_mysql.c:367: Warnung: implicit declaration of function `mysql_num_rows'
mod_sql_mysql.c:368: Warnung: implicit declaration of function `mysql_num_fields'
mod_sql_mysql.c:373: error: `row' undeclared (first use in this function)
mod_sql_mysql.c:373: Warnung: implicit declaration of function `mysql_fetch_row'
mod_sql_mysql.c:383: Warnung: implicit declaration of function `mysql_free_result'
mod_sql_mysql.c: In function `cmd_open':
mod_sql_mysql.c:436: Warnung: implicit declaration of function `mysql_ping'
mod_sql_mysql.c:436: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:448: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:448: Warnung: implicit declaration of function `mysql_init'
mod_sql_mysql.c:450: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: Warnung: implicit declaration of function `mysql_options'
mod_sql_mysql.c:461: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function)
mod_sql_mysql.c:463: Warnung: implicit declaration of function `mysql_real_connect'
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:464: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:464: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:465: error: `CLIENT_INTERACTIVE' undeclared (first use in this function)
mod_sql_mysql.c: In function `cmd_close':
mod_sql_mysql.c:559: Warnung: implicit declaration of function `mysql_close'
mod_sql_mysql.c:559: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:560: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_defineconnection':
mod_sql_mysql.c:626: error: invalid application of `sizeof' to an incomplete type
mod_sql_mysql.c:629: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:630: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:661: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:662: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:663: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:680: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:681: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:682: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:683: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_select':
mod_sql_mysql.c:804: Warnung: implicit declaration of function `mysql_real_query'
mod_sql_mysql.c:804: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_insert':
mod_sql_mysql.c:918: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_update':
mod_sql_mysql.c:1017: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_query':
mod_sql_mysql.c:1133: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:1148: Warnung: implicit declaration of function `mysql_field_count'
mod_sql_mysql.c:1148: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_escapestring':
mod_sql_mysql.c:1228: Warnung: implicit declaration of function `mysql_escape_string'
mod_sql_mysql.c: In function `cmd_checkauth':
mod_sql_mysql.c:1295: Warnung: implicit declaration of function `make_scrambled_password'
make[1]: *** [mod_sql_mysql.o] Fehler 1
make[1]: Leaving directory `/home/remad/Documents/proftpd-1.2.9/modules'
make: *** [modules] Fehler 2
Gespeichert

Linux is like a wigwam, no Bill Gates, no Windows, no watching into your computer and apache inside!
Anonymous
Gast
« Antwort #5 am: 01. Juni 2004, 23:42:19 »

Zitat von: "Remad"
Sieht soweit Okay aus, aber bei make sind 2 Fehler, die muss ich erst beheben!
mod_mysql
und mit den Verzeichnissen siehe make install!
...




[code ]
mod_sql_mysql.c:137:19: mysql.h: Datei oder Verzeichnis nicht gefunden
mod_sql_mysql.c:164: error: parse error before "MYSQL"
[/code]

.. und wo ist den  mysql-devel instaliert ?
Ohne die devel packete sammt dem mysql und mysql shared gehts halt nedd.


MfG
Gespeichert
Remad
ProFTPD
*
Offline Offline

Beiträge: 6


Profil anzeigen
« Antwort #6 am: 02. Juni 2004, 18:56:50 »

Die sollte installiert sein, ich habe die gesamte Distribution SuSe Linux 9.0 Pro raufgezogen und wirklich alles. deshalb frage ich mich, sowie sbin ist installiert, aber arbeitet damit nicht korrekt.
MySQL-Devel ist installiert jetzt, gehört wohl nicht zur Distribution!
Gespeichert

Linux is like a wigwam, no Bill Gates, no Windows, no watching into your computer and apache inside!
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #7 am: 02. Juni 2004, 19:10:13 »

Zitat von: "Remad"
Die sollte installiert sein, ich habe die gesamte Distribution SuSe Linux 9.0 Pro raufgezogen und wirklich alles. deshalb frage ich mich, sowie sbin ist installiert, aber arbeitet damit nicht korrekt.


man man man, darf ich mal kurz ausflippen ?  :idiot)
Wenn Du schon ./configure ausfuehrst, dann BITTE BITTE BITTE mache Dir klar, was Du da eigentlich machst und kopiere den Code nicht einfach..

Zitat
Remad:/home/remad/Documents/proftpd-1.2.9 # ./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/local/include --with-libraries=/usr/local/lib/mysql


liegen die Mysql Include Dateien einer normalen SuSE 9.0 in /usr/local/include ? NEIN

liegen die MySQL Libs einer normalen SuSE 9.0 installation in /usr/local/lib/mysql ? NEIN

Denn die liegen hier:
database:~ # ls /usr/lib/mysql/
database:~ # ls /usr/include/mysql/
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
Anonymous
Gast
« Antwort #8 am: 02. Juni 2004, 20:47:38 »

Danke, aber wegen mir musst du dich wirklich nicht aufregen.
So ist installiert mit make install ohne irgendwelche Fehler, jetzt muss ich nachlesen wie man es startet und beendet, die Konfigurationsdateien sehen aus wie in Apache. That makes it easier! Aber mySQL-Devel wra nicht installiert und nun nachträglich installiert worden!
Danke für euer aller Hilfe!
Remad:/home/remad/Documents/proftpd-1.2.9 # make install
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/home/remad/Documents/proftpd-1.2.9/lib'
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c pr_fnmatch.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c sstrncpy.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c strsep.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c vsnprintf.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c glibc-glob.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c glibc-hstrerror.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c glibc-mkstemp.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c pr-syslog.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c pwgrent.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c getopt.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c getopt1.c
ar rc libsupp.a pr_fnmatch.o sstrncpy.o strsep.o vsnprintf.o glibc-glob.o glibc-hstrerror.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o
ranlib libsupp.a
make[1]: Leaving directory `/home/remad/Documents/proftpd-1.2.9/lib'
cd src/ && make src
make[1]: Entering directory `/home/remad/Documents/proftpd-1.2.9/src'
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c main.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c timers.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c sets.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c pool.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c regexp.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c dirtree.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c support.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c netaddr.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c inet.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c log.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c bindings.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c feat.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c netio.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c response.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c ident.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c data.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c modules.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c fsio.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c mkhome.c
make[1]: Leaving directory `/home/remad/Documents/proftpd-1.2.9/src'
cd modules/ && make modules
make[1]: Entering directory `/home/remad/Documents/proftpd-1.2.9/modules'
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c mod_core.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c mod_auth_unix.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c mod_auth_file.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c mod_auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c mod_ls.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c mod_site.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c mod_sql.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c mod_sql_mysql.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -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_sql.o mod_sql_mysql.o mod_cap.o
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c module_glue.c
make[1]: Leaving directory `/home/remad/Documents/proftpd-1.2.9/modules'
make[1]: Entering directory `/home/remad/Documents/proftpd-1.2.9/lib/libcap'
=> making cap_names.c from <linux/capability.h>
cc -O2 -Wall -Llib  _makenames.c -o _makenames
./_makenames > cap_names.h
cc -O2 -Wall -c cap_alloc.c -o cap_alloc.o
cc -O2 -Wall -c cap_proc.c -o cap_proc.o
cc -O2 -Wall -c cap_extint.c -o cap_extint.o
cc -O2 -Wall -c cap_flag.c -o cap_flag.o
cc -O2 -Wall -c cap_text.c -o cap_text.o
cc -O2 -Wall -c cap_sys.c -o cap_sys.o
ar rcu libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o
make[1]: Leaving directory `/home/remad/Documents/proftpd-1.2.9/lib/libcap'
gcc -Llib  -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/netaddr.o src/inet.o src/log.o src/bindings.o src/scoreboard.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/mod_sql_mysql.o modules/mod_sql.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap  -lm -lz -lmysqlclient -L/usr/lib/mysql/
cd utils/ && make utils
make[1]: Entering directory `/home/remad/Documents/proftpd-1.2.9/utils'
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c ftpcount.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c ftpshut.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c ftptop.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c ftpwho.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql/ -O2 -Wall -c misc.c
make[1]: Leaving directory `/home/remad/Documents/proftpd-1.2.9/utils'
gcc -Llib  -o ftpcount utils/ftpcount.o utils/scoreboard.o
gcc -Llib  -o ftpshut utils/ftpshut.o
gcc -Llib  -o ftptop utils/ftptop.o utils/scoreboard.o -lncurses -lsupp
gcc -Llib  -o ftpwho utils/ftpwho.o utils/scoreboard.o utils/misc.o -lsupp
/usr/bin/install -c -s -o root -g root -m 0755 proftpd /usr/local/sbin/proftpd
if [ -f /usr/local/sbin/in.proftpd ] ; then \
        rm -f /usr/local/sbin/in.proftpd ; \
fi
ln -s proftpd /usr/local/sbin/in.proftpd
chown -h root:root /usr/local/sbin/in.proftpd
/usr/bin/install -c -s -o root -g root -m 0755  ftpcount /usr/local/bin/ftpcount
/usr/bin/install -c -s -o root -g root -m 0755 ftpshut  /usr/local/sbin/ftpshut
/usr/bin/install -c -s -o root -g root -m 0755  ftptop   /usr/local/bin/ftptop
/usr/bin/install -c -s -o root -g root -m 0755  ftpwho   /usr/local/bin/ftpwho
if [ ! -f /usr/local/etc/proftpd.conf ] ; then \
        /usr/bin/install -c -o root -g root -m 0644 \
                   ./sample-configurations/basic.conf \
                   /usr/local/etc/proftpd.conf ; \
fi
/usr/bin/install -c -o root -g root -m 0644 ./src/proftpd.8    /usr/local/man/man8
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftpshut.8  /usr/local/man/man8
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftpcount.1 /usr/local/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftptop.1   /usr/local/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftpwho.1   /usr/local/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./src/xferlog.5    /usr/local/man/man5
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #9 am: 02. Juni 2004, 20:50:06 »

Na geht doch.
Die Start-Scripte findest du auf www.ProFTPD.de bei Download
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
RemsGhost
Gast
« Antwort #10 am: 03. Juni 2004, 12:53:28 »

Zitat von: "stonki"
Zitat von: "Remad"
Die sollte installiert sein, ich habe die gesamte Distribution SuSe Linux 9.0 Pro raufgezogen und wirklich alles. deshalb frage ich mich, sowie sbin ist installiert, aber arbeitet damit nicht korrekt.


man man man, darf ich mal kurz ausflippen ?  :idiot)
Wenn Du schon ./configure ausfuehrst, dann BITTE BITTE BITTE mache Dir klar, was Du da eigentlich machst und kopiere den Code nicht einfach..

Zitat
Remad:/home/remad/Documents/proftpd-1.2.9 # ./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/local/include --with-libraries=/usr/local/lib/mysql


liegen die Mysql Include Dateien einer normalen SuSE 9.0 in /usr/local/include ? NEIN

liegen die MySQL Libs einer normalen SuSE 9.0 installation in /usr/local/lib/mysql ? NEIN

Denn die liegen hier:
database:~ # ls /usr/lib/mysql/
database:~ # ls /usr/include/mysql/



Stonki, leute nemen wortwörtlich was man(n) so schreibt...
und so nemem sie an das die default werte immer gelten. Traurig .

In der Docu solte Mensch *vieleicht* einen Hinweis anbringen
bezueglich Distributions abhängigkeit der Lage von Files ..[include|lib|bin|sbin|docu].

Gehe von Leuten aus die von Linux keine ahung haben,
und dann schreib dafür docu....

Mfg
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #11 am: 03. Juni 2004, 16:24:22 »

Zitat von: "RemsGhost"

In der Docu solte Mensch *vieleicht* einen Hinweis anbringen
bezueglich Distributions abhängigkeit der Lage von Files ..[include|lib|bin|sbin|docu].

Gehe von Leuten aus die von Linux keine ahung haben,
und dann schreib dafür docu....

Mfg


http://www.proftpd.de/HowTo__SQL.10.0.html

Steht sogar mit den richtigen Pfadangaben seit ca. 2 Wochen da....

Aber egal, es ist ja auch nicht so schlimm, aber wenn man den ganzen Tag mit Windows 2003 Server kaempft dann ist die Hemmschwelle ein wenig niedriger als sonst  :twisted:
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
Daikon
Gast
« Antwort #12 am: 15. Juni 2004, 12:18:29 »

Hallo Leute,

ich versuche seit ein paar Tagen einen Linux-Server aufzusetzten. Da ich noch ein blutiger Anfänger bin was Linux angeht, komme ich an dieser stelle absolut net weiter. Bitte nicht gleich hauen wenn ich ein Befehl nicht richtig ausgeführt habe aber vielleicht wisst ihr ja woran es liegt. Hier mal der Befehlscode:

linux:~/bin/ftp # ./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/includes/mysql --with-libraries=/usr/lib/mysql
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... 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 ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether the C compiler accepts -Wall... yes
checking for getopt... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -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 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 prot.h usability... no
checking prot.h presence... no
checking for prot.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/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
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 security/pam_appl.h usability... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking linux/capability.h usability... yes
checking linux/capability.h presence... yes
checking for linux/capability.h... yes
checking whether to enable mod_cap... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... 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/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 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 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/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 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... no
checking curses.h presence... no
checking for curses.h... no
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
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 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 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 umode_t... no
checking for ino_t... yes
checking for socklen_t... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking whether your struct utmp has ut_user... yes
checking whether your struct utmp has ut_host... yes
checking whether your struct utmp has ut_exit... yes
checking whether your syslog.h defines LOG_CRON... yes
checking whether your 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 fgetgrent... yes
checking for fgetpwent... yes
checking for flock... yes
checking for freeaddrinfo... yes
checking for gai_strerror... yes
checking for getaddrinfo... yes
checking for getcwd... yes
checking for gethostbyname2... yes
checking for gethostname... yes
checking for getnameinfo... yes
checking for getopt_long... 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 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 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 setprotoent... 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 siginterrupt... yes
checking for setpgid... yes
checking for regcomp... yes
checking for tzset... yes
checking for pathconf... yes
checking for fpathconf... yes
checking for fgetspent... yes
checking for setpassent... 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 whether setgrent returns void... 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 whether gcc accepts -Wno-long-double... no
configure: creating ./config.status
config.status: creating lib/Makefile
config.status: creating modules/Makefile
config.status: creating src/Makefile
config.status: creating src/proftpd.8
config.status: creating src/xferlog.5
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: config.h is unchanged
config.status: executing default commands
linux:~/bin/ftp # make clean
cd src/     && make clean
make[1]: Entering directory `/root/bin/ftp/src'
rm -f *.o
make[1]: Leaving directory `/root/bin/ftp/src'
cd modules/ && make clean
make[1]: Entering directory `/root/bin/ftp/modules'
rm -f *.o module_glue.c
make[1]: Leaving directory `/root/bin/ftp/modules'
cd lib/     && make clean
make[1]: Entering directory `/root/bin/ftp/lib'
rm -f *.o libsupp.a
make[1]: Leaving directory `/root/bin/ftp/lib'
cd utils/   && make clean
make[1]: Entering directory `/root/bin/ftp/utils'
rm -f *.o
make[1]: Leaving directory `/root/bin/ftp/utils'
make[1]: Entering directory `/root/bin/ftp/lib/libcap'
rm -f cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o libcap.a*
rm -f cap_names.h cap_names.sed _makenames
make[1]: Leaving directory `/root/bin/ftp/lib/libcap'
rm -f include/buildstamp.h
rm -f proftpd ftpcount ftpshut ftptop ftpwho
linux:~/bin/ftp # make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/root/bin/ftp/lib'
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c pr_fnmatch.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c sstrncpy.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c strsep.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c vsnprintf.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c glibc-glob.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c glibc-hstrerror.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c glibc-mkstemp.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c pr-syslog.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c pwgrent.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c getopt.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c getopt1.c
ar rc libsupp.a pr_fnmatch.o sstrncpy.o strsep.o vsnprintf.o glibc-glob.o glibc-hstrerror.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o
ranlib libsupp.a
make[1]: Leaving directory `/root/bin/ftp/lib'
cd src/ && make src
make[1]: Entering directory `/root/bin/ftp/src'
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c main.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c timers.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c sets.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c pool.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c regexp.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c dirtree.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c support.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c netaddr.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c inet.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c log.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c bindings.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c feat.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c netio.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c response.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c ident.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c data.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c modules.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c fsio.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c mkhome.c
make[1]: Leaving directory `/root/bin/ftp/src'
cd modules/ && make modules
make[1]: Entering directory `/root/bin/ftp/modules'
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c mod_core.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c mod_auth_unix.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c mod_auth_file.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c mod_auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c mod_ls.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c mod_site.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c mod_sql.c
gcc  -DLINUX  -I.. -I../include -I/usr/includes/mysql -O2 -Wall -c mod_sql_mysql.c
mod_sql_mysql.c:137:19: mysql.h: No such file or directory
mod_sql_mysql.c:164: error: parse error before "MYSQL"
mod_sql_mysql.c:164: warning: no semicolon at end of struct or union
mod_sql_mysql.c: In function `_build_error':
mod_sql_mysql.c:331: warning: implicit declaration of function `mysql_errno'
mod_sql_mysql.c:331: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: implicit declaration of function `mysql_error'
mod_sql_mysql.c:333: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `_build_data':
mod_sql_mysql.c:344: error: `MYSQL' undeclared (first use in this function)
mod_sql_mysql.c:344: error: (Each undeclared identifier is reported only once
mod_sql_mysql.c:344: error: for each function it appears in.)
mod_sql_mysql.c:344: error: `mysql' undeclared (first use in this function)
mod_sql_mysql.c:345: error: `MYSQL_RES' undeclared (first use in this function)
mod_sql_mysql.c:345: error: `result' undeclared (first use in this function)
mod_sql_mysql.c:346: error: `MYSQL_ROW' undeclared (first use in this function)
mod_sql_mysql.c:346: error: parse error before "row"
mod_sql_mysql.c:355: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:361: warning: implicit declaration of function `mysql_store_result'
mod_sql_mysql.c:367: warning: implicit declaration of function `mysql_num_rows'
mod_sql_mysql.c:368: warning: implicit declaration of function `mysql_num_fields'
mod_sql_mysql.c:373: error: `row' undeclared (first use in this function)
mod_sql_mysql.c:373: warning: implicit declaration of function `mysql_fetch_row'
mod_sql_mysql.c:383: warning: implicit declaration of function `mysql_free_result'
mod_sql_mysql.c: In function `cmd_open':
mod_sql_mysql.c:436: warning: implicit declaration of function `mysql_ping'
mod_sql_mysql.c:436: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:448: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:448: warning: implicit declaration of function `mysql_init'
mod_sql_mysql.c:450: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: warning: implicit declaration of function `mysql_options'
mod_sql_mysql.c:461: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function)
mod_sql_mysql.c:463: warning: implicit declaration of function `mysql_real_connect'
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:464: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:464: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:465: error: `CLIENT_INTERACTIVE' undeclared (first use in this function)
mod_sql_mysql.c: In function `cmd_close':
mod_sql_mysql.c:559: warning: implicit declaration of function `mysql_close'
mod_sql_mysql.c:559: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:560: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_defineconnection':
mod_sql_mysql.c:626: error: invalid application of `sizeof' to an incomplete type
mod_sql_mysql.c:629: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:630: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:661: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:662: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:663: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:680: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:681: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:682: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:683: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_select':
mod_sql_mysql.c:804: warning: implicit declaration of function `mysql_real_query'
mod_sql_mysql.c:804: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_insert':
mod_sql_mysql.c:918: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_update':
mod_sql_mysql.c:1017: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_query':
mod_sql_mysql.c:1133: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:1148: warning: implicit declaration of function `mysql_field_count'
mod_sql_mysql.c:1148: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_escapestring':
mod_sql_mysql.c:1228: warning: implicit declaration of function `mysql_escape_string'
mod_sql_mysql.c: In function `cmd_checkauth':
mod_sql_mysql.c:1295: warning: implicit declaration of function `make_scrambled_password'
make[1]: *** [mod_sql_mysql.o] Error 1
make[1]: Leaving directory `/root/bin/ftp/modules'
make: *** [modules] Error 2
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #13 am: 15. Juni 2004, 13:23:44 »

mod_sql_mysql.c:137:19: mysql.h: No such file or directory

Da steht doch alles. :?!
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Daikon
Gast
« Antwort #14 am: 15. Juni 2004, 13:51:39 »

:wink: Ich weiß das dort die Fehlermeldung "mod_sql_mysql.c:137:19: mysql.h: No such file or directory " kommt nur ich weiß net wie ich die wegbekomme. Klingt blöd aber ich kanns net ändern :oops:

Muss ich um nen Linux FTP Server aufzusetzten unbedingt die My_Sql Module installieren?
Gespeichert
Seiten: [1] 2   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.116 Sekunden mit 16 Zugriffen.