I-Master
10.04.03, 01:30
Nabend,
irgendwie bekomme ich die beiden nicht mit einander verheiratet. Wenn ich ein einfaches
./configure --with-modules=mod_sql:mod_sql_mysql
versuche, wird mir bei make das ausgerotzt:
mod_sql_mysql.c:136:25: mysql/mysql.h: Datei oder Verzeichnis nicht gefunden
mod_sql_mysql.c:163: parse error before "MYSQL"
mod_sql_mysql.c:163: 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: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: implicit declaration of function `mysql_error'
mod_sql_mysql.c:333: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: passing arg 4 of `mod_create_ret' makes pointer from integer without a cast
mod_sql_mysql.c: In function `_build_data':
mod_sql_mysql.c:345: `MYSQL' undeclared (first use in this function)
mod_sql_mysql.c:345: (Each undeclared identifier is reported only once
mod_sql_mysql.c:345: for each function it appears in.)
mod_sql_mysql.c:345: `mysql' undeclared (first use in this function)
mod_sql_mysql.c:346: `MYSQL_RES' undeclared (first use in this function)
mod_sql_mysql.c:346: `result' undeclared (first use in this function)
mod_sql_mysql.c:347: `MYSQL_ROW' undeclared (first use in this function)
mod_sql_mysql.c:347: parse error before "row"
mod_sql_mysql.c:356: dereferencing pointer to incomplete type
mod_sql_mysql.c:362: warning: implicit declaration of function `mysql_store_result'
mod_sql_mysql.c:368: warning: implicit declaration of function `mysql_num_rows'
mod_sql_mysql.c:369: warning: implicit declaration of function `mysql_num_fields'
mod_sql_mysql.c:374: `row' undeclared (first use in this function)
mod_sql_mysql.c:374: warning: implicit declaration of function `mysql_fetch_row'
mod_sql_mysql.c:384: warning: implicit declaration of function `mysql_free_result'
mod_sql_mysql.c: In function `cmd_open':
mod_sql_mysql.c:438: warning: implicit declaration of function `mysql_ping'
mod_sql_mysql.c:438: dereferencing pointer to incomplete type
mod_sql_mysql.c:450: dereferencing pointer to incomplete type
mod_sql_mysql.c:450: warning: implicit declaration of function `mysql_init'
mod_sql_mysql.c:452: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: warning: implicit declaration of function `mysql_real_connect'
mod_sql_mysql.c:460: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: dereferencing pointer to incomplete type
mod_sql_mysql.c:462: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_close':
mod_sql_mysql.c:556: warning: implicit declaration of function `mysql_close'
mod_sql_mysql.c:556: dereferencing pointer to incomplete type
mod_sql_mysql.c:557: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_defineconnection':
mod_sql_mysql.c:623: sizeof applied to an incomplete type
mod_sql_mysql.c:626: dereferencing pointer to incomplete type
mod_sql_mysql.c:627: dereferencing pointer to incomplete type
mod_sql_mysql.c:658: dereferencing pointer to incomplete type
mod_sql_mysql.c:659: dereferencing pointer to incomplete type
mod_sql_mysql.c:660: dereferencing pointer to incomplete type
mod_sql_mysql.c:677: dereferencing pointer to incomplete type
mod_sql_mysql.c:678: dereferencing pointer to incomplete type
mod_sql_mysql.c:679: dereferencing pointer to incomplete type
mod_sql_mysql.c:680: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_select':
mod_sql_mysql.c:801: warning: implicit declaration of function `mysql_real_query'
mod_sql_mysql.c:801: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_insert':
mod_sql_mysql.c:915: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_update':
mod_sql_mysql.c:1014: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_query':
mod_sql_mysql.c:1130: dereferencing pointer to incomplete type
mod_sql_mysql.c:1145: warning: implicit declaration of function `mysql_field_count'
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/sebastian/proftpd-1.2.8/modules«
make: *** [modules] Fehler 2
Ok, fängt mit
mysql/mysql.h: Datei oder Verzeichnis nicht gefunden
ja auch schon *******e an. Aber ich hab keine Ahnung, was ich verkehrt mache.
Ich hab auch schon
./configure --with-modules=mod_sql:mod_sql_mysql --with-libraries=/var/lib/mysql
versucht. Gleiches Ergebnis.
Ich tipp jetzt mal darauf, dass mir die mysql shared libraries fehlen. Die sind aber lt. der RPM Auskunft durch das Paket Mysql installiert.
Welches Paket sollte man da jetzt nachinstallieren? Vielleicht mysql-devel?
Dann möchte ich anmerken, dass mir diese Pakete den letzten Nerv rauben. Ich kann mittlerweile weder über Webmin, noch über GNOME noch über "rpm" IRGENDWAS abfragen. Habe nur versucht, den proftpd per rpm zu installieren. Und jetzt geht hier nix mehr.
Ach ja: Warum findet locate nicht alle Dateien. Ein Beispiel: ich weis, dass eine Datei mit dem Namen mod_sql.c vorhanden ist. Aber ein locate mod_sql.c liefert keine Ergebnisse.
Also heute hat mich Linux wieder mal so richtig geärgert. Dann lieber Windows wo nach 1 Reboot wieder alles so wie vorher ist und man sich durch eine Programminstallation nicht gleich die ganze RPM Verwaltung zerschiesst.
irgendwie bekomme ich die beiden nicht mit einander verheiratet. Wenn ich ein einfaches
./configure --with-modules=mod_sql:mod_sql_mysql
versuche, wird mir bei make das ausgerotzt:
mod_sql_mysql.c:136:25: mysql/mysql.h: Datei oder Verzeichnis nicht gefunden
mod_sql_mysql.c:163: parse error before "MYSQL"
mod_sql_mysql.c:163: 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: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: implicit declaration of function `mysql_error'
mod_sql_mysql.c:333: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: passing arg 4 of `mod_create_ret' makes pointer from integer without a cast
mod_sql_mysql.c: In function `_build_data':
mod_sql_mysql.c:345: `MYSQL' undeclared (first use in this function)
mod_sql_mysql.c:345: (Each undeclared identifier is reported only once
mod_sql_mysql.c:345: for each function it appears in.)
mod_sql_mysql.c:345: `mysql' undeclared (first use in this function)
mod_sql_mysql.c:346: `MYSQL_RES' undeclared (first use in this function)
mod_sql_mysql.c:346: `result' undeclared (first use in this function)
mod_sql_mysql.c:347: `MYSQL_ROW' undeclared (first use in this function)
mod_sql_mysql.c:347: parse error before "row"
mod_sql_mysql.c:356: dereferencing pointer to incomplete type
mod_sql_mysql.c:362: warning: implicit declaration of function `mysql_store_result'
mod_sql_mysql.c:368: warning: implicit declaration of function `mysql_num_rows'
mod_sql_mysql.c:369: warning: implicit declaration of function `mysql_num_fields'
mod_sql_mysql.c:374: `row' undeclared (first use in this function)
mod_sql_mysql.c:374: warning: implicit declaration of function `mysql_fetch_row'
mod_sql_mysql.c:384: warning: implicit declaration of function `mysql_free_result'
mod_sql_mysql.c: In function `cmd_open':
mod_sql_mysql.c:438: warning: implicit declaration of function `mysql_ping'
mod_sql_mysql.c:438: dereferencing pointer to incomplete type
mod_sql_mysql.c:450: dereferencing pointer to incomplete type
mod_sql_mysql.c:450: warning: implicit declaration of function `mysql_init'
mod_sql_mysql.c:452: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: warning: implicit declaration of function `mysql_real_connect'
mod_sql_mysql.c:460: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: dereferencing pointer to incomplete type
mod_sql_mysql.c:462: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_close':
mod_sql_mysql.c:556: warning: implicit declaration of function `mysql_close'
mod_sql_mysql.c:556: dereferencing pointer to incomplete type
mod_sql_mysql.c:557: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_defineconnection':
mod_sql_mysql.c:623: sizeof applied to an incomplete type
mod_sql_mysql.c:626: dereferencing pointer to incomplete type
mod_sql_mysql.c:627: dereferencing pointer to incomplete type
mod_sql_mysql.c:658: dereferencing pointer to incomplete type
mod_sql_mysql.c:659: dereferencing pointer to incomplete type
mod_sql_mysql.c:660: dereferencing pointer to incomplete type
mod_sql_mysql.c:677: dereferencing pointer to incomplete type
mod_sql_mysql.c:678: dereferencing pointer to incomplete type
mod_sql_mysql.c:679: dereferencing pointer to incomplete type
mod_sql_mysql.c:680: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_select':
mod_sql_mysql.c:801: warning: implicit declaration of function `mysql_real_query'
mod_sql_mysql.c:801: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_insert':
mod_sql_mysql.c:915: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_update':
mod_sql_mysql.c:1014: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_query':
mod_sql_mysql.c:1130: dereferencing pointer to incomplete type
mod_sql_mysql.c:1145: warning: implicit declaration of function `mysql_field_count'
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/sebastian/proftpd-1.2.8/modules«
make: *** [modules] Fehler 2
Ok, fängt mit
mysql/mysql.h: Datei oder Verzeichnis nicht gefunden
ja auch schon *******e an. Aber ich hab keine Ahnung, was ich verkehrt mache.
Ich hab auch schon
./configure --with-modules=mod_sql:mod_sql_mysql --with-libraries=/var/lib/mysql
versucht. Gleiches Ergebnis.
Ich tipp jetzt mal darauf, dass mir die mysql shared libraries fehlen. Die sind aber lt. der RPM Auskunft durch das Paket Mysql installiert.
Welches Paket sollte man da jetzt nachinstallieren? Vielleicht mysql-devel?
Dann möchte ich anmerken, dass mir diese Pakete den letzten Nerv rauben. Ich kann mittlerweile weder über Webmin, noch über GNOME noch über "rpm" IRGENDWAS abfragen. Habe nur versucht, den proftpd per rpm zu installieren. Und jetzt geht hier nix mehr.
Ach ja: Warum findet locate nicht alle Dateien. Ein Beispiel: ich weis, dass eine Datei mit dem Namen mod_sql.c vorhanden ist. Aber ein locate mod_sql.c liefert keine Ergebnisse.
Also heute hat mich Linux wieder mal so richtig geärgert. Dann lieber Windows wo nach 1 Reboot wieder alles so wie vorher ist und man sich durch eine Programminstallation nicht gleich die ganze RPM Verwaltung zerschiesst.