www.ProFTPD.de

ProFTPD => ProFTPD - Deutsch => Thema gestartet von: psYkomaN am 18. März 2006, 11:02:37



Titel: Installation schlägt fehl
Beitrag von: psYkomaN am 18. März 2006, 11:02:37
Hallo,

meine Installation auf einer 64Bit-Maschine mit SuSE 10 schlägt fehl und ich komme nicht mehr weiter.

Ich versuche gerade die aktuelle Stable zu installieren. Hier die Fehlermeldungen.

Die notwendigen Pakete sind übrigens alle per YaST installiert. Das habe ich noch einmal extra überprüft. Google konnte mir leider nicht weiter helfen.

Vielen Dank für Eure Mühen

Michael

MySQL befindet sich in V4.0 und V5.0 auf dem Server in unterschiedlichen Verzeichnissen. ProFTPd möchte ich nur mit V4.0 kombinieren. Beide MySQL-Versionen sind von den Sourcen aus kompiliert (KEIN Yast!).

./configure --with-modules=mod_quotatab :mod_quotatab_file:mod_quotatab_sql:mod_sql:mod_sql_mysql --with-includes=/usr/local/mysql-4.0/include --with-libraries=/usr/local/mysql-4.0/lib

...
...
...
...

beta:/installedSoftware/proftpd-1.2.10 # make
cd lib/ && make lib
make[1]: Entering directory `/installedSoftware/proftpd-1.2.10/lib'
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c pr_f
nmatch.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c sstr
ncpy.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c strs
ep.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c vsnp
rintf.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c glib
c-glob.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c glib
c-hstrerror.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c glib
c-mkstemp.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c pr-s
yslog.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c pwgr
ent.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 `/installedSoftware/proftpd-1.2.10/lib'
cd src/ && make src
make[1]: Entering directory `/installedSoftware/proftpd-1.2.10/src'
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c main                                                                                     .c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c time                                                                                     rs.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c sets                                                                                     .c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c pool                                                                                     .c
pool.c: In function ‘fd_cleanup_cb’:
pool.c:812: warning: cast from pointer to integer of different size
pool.c: In function ‘register_fd_cleanups’:
pool.c:816: warning: cast to pointer from integer of different size
pool.c: In function ‘pclosef’:
pool.c:834: warning: cast to pointer from integer of different size
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c rege                                                                                     xp.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c dirt                                                                                     ree.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c support.c
support.c: In function ‘pr_memscrub’:
support.c:854: warning: cast from pointer to integer of different size
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c netaddr.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c inet.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c child.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c log.c
log.c: In function ‘log_wtmp’:
log.c:160: warning: passing argument 1 of ‘time’ from incompatible pointer type
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c xferlog.c
xferlog.c: In function ‘xferlog_write’:
xferlog.c:89: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 7 has type ‘off_t’
xferlog.c:89: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 7 has type ‘off_t’
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c bindings.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c netacl.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c class.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c help.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c feat.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c netio.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c response.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c ident.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c data.c
data.c: In function ‘data_pasv_open’:
data.c:282: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 5 has type ‘off_t’
data.c: In function ‘data_active_open’:
data.c:382: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 5 has type ‘off_t’
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c modules.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c auth.c
auth.c: In function ‘auth_getpwuid’:
auth.c:255: warning: cast to pointer from integer of different size
auth.c: In function ‘auth_getgrgid’:
auth.c:322: warning: cast to pointer from integer of different size
auth.c: In function ‘auth_uid_name’:
auth.c:397: warning: cast to pointer from integer of different size
auth.c: In function ‘auth_gid_name’:
auth.c:422: warning: cast to pointer from integer of different size
auth.c: In function ‘auth_name_uid’:
auth.c:448: warning: cast from pointer to integer of different size
auth.c: In function ‘auth_name_gid’:
auth.c:469: warning: cast from pointer to integer of different size
auth.c: In function ‘auth_getgroups’:
auth.c:501: warning: cast from pointer to integer of different size
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c fsio.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c mkhome.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c ctrls.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c event.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c ftpdctl.c
make[1]: Leaving directory `/installedSoftware/proftpd-1.2.10/src'
cd modules/ && make modules
make[1]: Entering directory `/installedSoftware/proftpd-1.2.10/modules'
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c mod_core.c
mod_core.c: In function ‘format_size_str’:
mod_core.c:2807: warning: format ‘%.3llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c:2807: warning: format ‘%.3llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c: In function ‘core_display_file’:
mod_core.c:2838: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c:2838: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c:2911: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c:2911: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c:2913: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c:2913: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c:2917: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c:2917: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c:2921: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c:2921: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c:2925: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c:2925: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_core.c: In function ‘core_size’:
mod_core.c:4047: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘__off_t’
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c mod_xfer.c
mod_xfer.c: In function ‘_log_transfer’:
mod_xfer.c:265: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_xfer.c: In function ‘xfer_rate_lookup’:
mod_xfer.c:421: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_xfer.c: In function ‘xfer_stor’:
mod_xfer.c:1344: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘off_t’
mod_xfer.c:1370: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘off_t’
mod_xfer.c: In function ‘xfer_rest’:
mod_xfer.c:1468: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘off_t’
mod_xfer.c: In function ‘xfer_retr’:
mod_xfer.c:1619: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘off_t’
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c mod_auth_unix.c
mod_auth_unix.c: In function ‘pw_getpwuid’:
mod_auth_unix.c:367: warning: cast from pointer to integer of different size
mod_auth_unix.c: In function ‘pw_getgrgid’:
mod_auth_unix.c:406: warning: cast from pointer to integer of different size
mod_auth_unix.c: In function ‘pw_uid2name’:
mod_auth_unix.c:761: warning: cast from pointer to integer of different size
mod_auth_unix.c: In function ‘pw_gid2name’:
mod_auth_unix.c:789: warning: cast from pointer to integer of different size
mod_auth_unix.c: In function ‘pw_name2uid’:
mod_auth_unix.c:822: warning: cast to pointer from integer of different size
mod_auth_unix.c: In function ‘pw_name2gid’:
mod_auth_unix.c:836: warning: cast to pointer from integer of different size
mod_auth_unix.c: In function ‘pw_getgroups’:
mod_auth_unix.c:915: warning: cast to pointer from integer of different size
mod_auth_unix.c:918: warning: cast to pointer from integer of different size
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c mod_auth_file.c
mod_auth_file.c: In function ‘authfile_getpwuid’:
mod_auth_file.c:632: warning: cast from pointer to integer of different size
mod_auth_file.c: In function ‘authfile_name2uid’:
mod_auth_file.c:658: warning: cast to pointer from integer of different size
mod_auth_file.c: In function ‘authfile_uid2name’:
mod_auth_file.c:686: warning: cast from pointer to integer of different size
mod_auth_file.c: In function ‘authfile_getgrgid’:
mod_auth_file.c:719: warning: cast from pointer to integer of different size
mod_auth_file.c: In function ‘authfile_getgroups’:
mod_auth_file.c:824: warning: cast to pointer from integer of different size
mod_auth_file.c:827: warning: cast to pointer from integer of different size
mod_auth_file.c: In function ‘authfile_gid2name’:
mod_auth_file.c:842: warning: cast from pointer to integer of different size
mod_auth_file.c: In function ‘authfile_name2gid’:
mod_auth_file.c:859: warning: cast to pointer from integer of different size
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c mod_auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c mod_ls.c
mod_ls.c: In function ‘ls_fmt_filesize’:
mod_ls.c:280: warning: format ‘%8llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_ls.c:280: warning: format ‘%8llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_ls.c: In function ‘ls_stat’:
mod_ls.c:1800: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘off_t’
mod_ls.c:1815: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 5 has type ‘off_t’
mod_ls.c:1815: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 6 has type ‘off_t’
mod_ls.c:1820: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 5 has type ‘off_t’
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c mod_log.c
mod_log.c: In function ‘get_next_meta’:
mod_log.c:562: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
mod_log.c:562: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c mod_site.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql-4.0/include -O2 -Wall -c mod_quotatab_sql.c
mod_quotatab_sql.c: In function ‘sqltab_open’:
mod_quotatab_sql.c:688: error: invalid lvalue in assignment
make[1]: *** [mod_quotatab_sql.o] Fehler 1
make[1]: Leaving directory `/installedSoftware/proftpd-1.2.10/modules'
make: *** [modules] Fehler 2


Titel: Installation schlägt fehl
Beitrag von: XenoNorth am 20. März 2006, 23:09:13
Wäre wirklich toll wenn hier jemand eine Lösung zu präsentieren könnte. Habe mit meiner Installation auf einer SuSe 10.0 64bit Version genau das gleiche Problem, würde aber den MySQL Support schon gerne (wieder) umsetzen.

[..]
make[1]: Entering directory `/usr/local/src/proftpd-1.2.10/lib'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.10/lib'
cd src/ && make src
make[1]: Entering directory `/usr/local/src/proftpd-1.2.10/src'
make[1]: Nothing to be done for `src'.
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.10/src'
cd modules/ && make modules
make[1]: Entering directory `/usr/local/src/proftpd-1.2.10/modules'
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/current/include/mysql -O2 -Wall -c mod_quotatab_sql.c
mod_quotatab_sql.c: In function 'sqltab_open':
mod_quotatab_sql.c:688: error: invalid lvalue in assignment
make[1]: *** [mod_quotatab_sql.o] Error 1
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.10/modules'
make: *** [modules] Error 2

MySQL ist übrigens auch bei mir die aktuelle Version 4, auch hier wurde selbst compiliert.


Titel: Installation schlägt fehl
Beitrag von: XenoNorth am 21. März 2006, 11:23:58
Habe gerade ProFTPD Release 1.3.0rc5 installiert, das Problem scheint in dieser Version behoben zu sein. Auch die zahlreichen Warnungen sind damit verschwunden :-)


Titel: Installation schlägt fehl
Beitrag von: dejuh am 21. März 2006, 13:36:32
Hi
habe genau das selbe problem.........
auch bei der neuen version...    
Wie führt ihr ./configure aus?
Habe auch Suse 64 bit.
gruß
dejuh


Titel: Installation schlägt fehl
Beitrag von: XenoNorth am 21. März 2006, 15:48:27
Hallo,

./configure wie folgt:

./configure --prefix=/proftpd --with-modules=mod_sql:mod_sql_mysql:mod_quotatab:mod_quotatab_file:mod_quotatab_sql --with-includes=/usr/local/mysql/current/include/mysql --with-libraries=/usr/local/mysql/current/lib/mysql

Allerdings habe ich nun das Problem das ich ProFTPD nicht mehr bei Systemstart aufrufen kann, ein symbolischer Link in rc3.d funktioniert bei SuSe 10.0 scheinbar nicht mehr. Das Script über Yast einzufügen bringt eine Fehlermeldung. Weiss jemand da zu helfen?