www.ProFTPD.de
13. März 2007, 19:26:01 *
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: proftpd + mod_sql fs.h missing aber die hab ich  (Gelesen 467 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
_n_
Gast
« am: 05. März 2004, 18:33:02 »

./configure --prefix=/usr --sysconfdir=/etc --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/local/mysql/include --with-libraries=/usr/local/mysql/lib


helix:~/proftpd-1.2.9# make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/root/proftpd-1.2.9/lib'
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c pr_fnmatch.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c sstrncpy.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c strsep.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c vsnprintf.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c glibc-glob.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c glibc-hstrerror.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c glibc-mkstemp.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c pr-syslog.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c pwgrent.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c getopt.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/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 `/root/proftpd-1.2.9/lib'
cd src/ && make src
make[1]: Entering directory `/root/proftpd-1.2.9/src'
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c main.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c timers.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c sets.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c pool.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c regexp.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c dirtree.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c support.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c netaddr.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c inet.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c log.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c bindings.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c feat.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c netio.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c response.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c ident.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c data.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c modules.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c fsio.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mkhome.c
make[1]: Leaving directory `/root/proftpd-1.2.9/src'
cd modules/ && make modules
make[1]: Entering directory `/root/proftpd-1.2.9/modules'
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_core.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_auth_unix.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_auth_file.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_ls.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_site.c
gcc  -DLINUX  -I.. -I../include -I/usr/local/mysql/include -O2 -Wall -c mod_sql.c
mod_sql.c:47: fs.h: No such file or directory
make[1]: *** [mod_sql.o] Error 1
make[1]: Leaving directory `/root/proftpd-1.2.9/modules'
make: *** [modules] Error 2


also fs.h ist auch vorhanden

helix:~# locate fs.h | grep linux/fs.h
/usr/include/linux/fs.h
/usr/src/linux-2.4.25/include/linux/fs.h
helix:~#

jeamnd ne idee ??
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #1 am: 05. März 2004, 23:47:45 »

Hilft dir das :arrow: http://www.proftpd.de/forum2/viewtopic.php?t=761 ?
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
_n_
Gast
« Antwort #2 am: 06. März 2004, 11:22:34 »

leider nein, habe debian 3.0r1 laufen, und wie gesagt kernel source is drauf und /usr/include/linux/fs.h hab ich ja auch nur das gcc findet das nicht komischerweise ://
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #3 am: 06. März 2004, 11:53:42 »

Und wenn du den include-Pfad angibst?
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
_n_
Gast
« Antwort #4 am: 06. März 2004, 12:32:29 »

oben steht doch meine configure line

Zitat
./configure --prefix=/usr --sysconfdir=/etc --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/local/mysql/include --with-libraries=/usr/local/mysql/lib
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #5 am: 06. März 2004, 12:47:44 »

Zitat von: "_n_"
oben steht doch meine configure line

Zitat
./configure --prefix=/usr --sysconfdir=/etc --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/local/mysql/include --with-libraries=/usr/local/mysql/lib

Ja - und da steht nicht /usr/include/linux/fs.h...
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Anonymous
Gast
« Antwort #6 am: 06. März 2004, 13:01:57 »

so hab nun die mod_sql.c angepasst und

#Include <fs.h> durch
#include <linux/fs.h> replaced nun gehts etwas weiter dann folgen aber die fehler wie in dem anderen thread wo du geposted hast. leider seh ich keinen weg wie ich das lösen könnte zumal ich ja auch das --include drin habe in configure ... evtl liegts an gcc-2.95 ??
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #7 am: 06. März 2004, 13:05:17 »

In dem anderen Thread gibt es 2 Seiten.
Haste die zlib-devel installiert?
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Anonymous
Gast
« Antwort #8 am: 06. März 2004, 13:31:45 »

Zitat

helix:~/proftpd-1.2.9# make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/root/proftpd-1.2.9/lib'
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c pr_fnmatch.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c sstrncpy.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c strsep.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c vsnprintf.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c glibc-glob.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c glibc-hstrerror.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c glibc-mkstemp.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c pr-syslog.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c pwgrent.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c getopt.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/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 `/root/proftpd-1.2.9/lib'
cd src/ && make src
make[1]: Entering directory `/root/proftpd-1.2.9/src'
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c main.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c timers.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c sets.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c pool.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c regexp.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c dirtree.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c support.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c netaddr.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c inet.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c log.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c bindings.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c feat.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c netio.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c response.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c ident.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c data.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c modules.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c fsio.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c mkhome.c
make[1]: Leaving directory `/root/proftpd-1.2.9/src'
cd modules/ && make modules
make[1]: Entering directory `/root/proftpd-1.2.9/modules'
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c mod_core.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c mod_auth_unix.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c mod_auth_file.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c mod_auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c mod_ls.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c mod_site.c
gcc  -DLINUX  -I.. -I../include -I/usr/include -I/usr/local/mysql/include -O2 -Wall -c mod_sql.c
In file included from /usr/include/linux/fs.h:12,
                 from mod_sql.c:47:
/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
/usr/include/bits/waitflags.h:26: warning: this is the location of the previous definition
/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/usr/include/bits/waitflags.h:27: warning: this is the location of the previous definition
In file included from /usr/include/linux/types.h:9,
                 from /usr/include/linux/fs.h:13,
                 from mod_sql.c:47:
/usr/include/asm/types.h:4: conflicting types for `mode_t'
/usr/include/sys/types.h:71: previous declaration of `mode_t'
mod_sql.c:106: parse error before `*'
mod_sql.c:106: warning: type defaults to `int' in declaration of `resp_list'
mod_sql.c:106: warning: type defaults to `int' in declaration of `resp_err_list'
mod_sql.c:106: warning: data definition has no type or storage class
mod_sql.c: In function `_sql_make_cmd':
mod_sql.c:320: structure has no member named `symtable_index'
mod_sql.c: In function `_sql_dispatch':
mod_sql.c:377: warning: implicit declaration of function `block_signals'
mod_sql.c:379: warning: implicit declaration of function `unblock_signals'
mod_sql.c: In function `check_auth_crypt':
mod_sql.c:424: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c:424: (Each undeclared identifier is reported only once
mod_sql.c:424: for each function it appears in.)
mod_sql.c: In function `check_auth_plaintext':
mod_sql.c:436: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `check_auth_empty':
mod_sql.c:450: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `check_auth_backend':
mod_sql.c:458: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `build_homedir':
mod_sql.c:810: warning: implicit declaration of function `fs_stat'
mod_sql.c:852: warning: implicit declaration of function `fs_chown'
mod_sql.c: In function `resolve_tag':
mod_sql.c:1273: warning: long unsigned int format, different type arg (arg 4)
mod_sql.c:1314: structure has no member named `remote_ipaddr'
mod_sql.c:1357: `response_t' undeclared (first use in this function)
mod_sql.c:1357: `r' undeclared (first use in this function)
mod_sql.c:1357: warning: statement with no effect
mod_sql.c: In function `_process_named_query':
mod_sql.c:1455: warning: comparison between pointer and integer
mod_sql.c: In function `info_master':
mod_sql.c:1759: warning: implicit declaration of function `add_response'
mod_sql.c: In function `errinfo_master':
mod_sql.c:1925: warning: implicit declaration of function `add_response_err'
mod_sql.c: In function `cmd_auth':
mod_sql.c:2561: `AUTH_BADPWD' undeclared (first use in this function)
mod_sql.c: In function `sql_getconf':
mod_sql.c:3687: warning: too many arguments for format
mod_sql.c:3690: warning: too many arguments for format
make[1]: *** [mod_sql.o] Error 1
make[1]: Leaving directory `/root/proftpd-1.2.9/modules'
make: *** [modules] Error 2



bei

Zitat
./configure --prefix=/usr --sysconfdir=/etc --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/local/mysql/include:/usr/include --with-libraries=/usr/local/mysql/lib


und wegen zlib, die hab ich selber compiled mit include dir /usr/include uind prefix /usr
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #9 am: 06. März 2004, 13:34:38 »

:??  :arrow:  :?!
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
_n_
Gast
« Antwort #10 am: 06. März 2004, 15:41:02 »

so nun leufts hab das debian package genommen .... hatte keine lust mehr nur noch eine frage: kann ich acuh noch shelluser einloggen lassen ? oder nurnoch user in der datenbank ?
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #11 am: 06. März 2004, 15:52:42 »

Beide.
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
_n_
Gast
« Antwort #12 am: 08. März 2004, 16:41:15 »

was brauch ich da alles ? authpam aleine kanns ja nich sein
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #13 am: 08. März 2004, 17:31:36 »

Nur die passende proftpd.conf.
 :wink:
Habe leider gerade keine Zeit...
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Anonymous
Gast
« Antwort #14 am: 10. März 2004, 12:51:18 »

naja hab mit dem auth pam schon gespielt kriegs aber ned geregelt Traurig wär nett wenn de mal zeit hast das du mir den part pasten könntest. thx
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.07 Sekunden mit 16 Zugriffen.