www.ProFTPD.de
13. März 2007, 19:29:18 *
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]   Nach unten
  Drucken  
Autor Thema: problem compillen mit sql  (Gelesen 327 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
timon
Gast
« am: 04. Juni 2003, 12:49:28 »

hallo zusammen,

ich habe versucht proftpd 1.2.8 mit sql unterstützung zu kompilieren. folgender befehl:

./configure --with-modules=mod_sql:mod_sql_mysql

rennt durch, alles fein. bei make bricht er mir mit folgenden fehlern ab :

Zitat
mod_sql_mysql.c:1145: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_escapestring':
mod_sql_mysql.c:1225: warning: implicit declaration of function `mysql_escape_string'
mod_sql_mysql.c: In function `cmd_checkauth':
mod_sql_mysql.c:1289: warning: implicit declaration of function `make_scrambled_password'
make[1]: *** [mod_sql_mysql.o] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis »/home/boris/rpm/proftpd-1.2.8/modules«
make: *** [modules] Fehler 2


ne anregung was mir fehlt oder nicht passt ? mysql ist die version mysql-3.23.52-3

timon
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #1 am: 04. Juni 2003, 13:20:57 »

Zitat von: "timon"


ich habe versucht proftpd 1.2.8 mit sql unterstützung zu kompilieren. folgender befehl:

./configure --with-modules=mod_sql:mod_sql_mysql
timon


standard Tarball mit der mod_sql Version die dabei ist ? Oder hast Du das mod_sql Dir extra gesaugt und reinkopiert ?

cu
stonki
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
timon
Gast
« Antwort #2 am: 04. Juni 2003, 13:24:58 »

hi stonki,

die waren standardmässig dabei im conrtib verzeichnis ( glaub ich )

timon
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #3 am: 04. Juni 2003, 13:38:37 »

Welches Betriebssystem?
Wo ist z.B. deine mysql.h?
Bei RedHat 8 mit selbst kompiliertem MySQL Server:
Code:
./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Anonymous
Gast
« Antwort #4 am: 04. Juni 2003, 14:29:35 »

hi wörsty, sorry wg der fehlenden angaben...

allso ist ebenfalls ein rh 8 allerdings mit mysql als rpm, ich mach mal locate und teste es dann nochmal...

timon
Gespeichert
Anonymous
Gast
« Antwort #5 am: 04. Juni 2003, 14:34:18 »

tjoa, da fängts wohl schon an..../ usr/lib/mysql hab ich, mysql.h ist nirgends ( wohl wg rpm )...


timon
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #6 am: 04. Juni 2003, 14:46:39 »

mySQL-Devel installieren. (siehe http://rpmseek.com/rpm-pl/mysql-devel.html?hl=de&cs=mysql-devel:PN:1,3,5:1:0)
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
timon
Gast
« Antwort #7 am: 04. Juni 2003, 14:50:23 »

*g* hatte ich grad gemacht als der die mysql.h net fand da ja oft ein devel fehlt Smiley was soll ich sagen : es geht , vielen vielen dank


timon
Gespeichert
Seiten: [1]   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.061 Sekunden mit 19 Zugriffen.