www.ProFTPD.de
13. März 2007, 20:45:08 *
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: Installationsprobleme (Dummy)  (Gelesen 305 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
lala
Gast
« am: 26. Juli 2004, 18:37:07 »

@ Suse Linux9.1 (Root Server von Alturo)

ich habe das ..tar.gz file auf meinen Server gezogen und mit tar zxf entpackt, wechselte in das verzeichniss und gab

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

ein.
Die folgenden meldungen schienen OK zu sein. Dann gab ich

make && make install

ein und erhielt folgendes:

cd lib/ && make lib
make[1]: Entering directory `/home/linux/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-m
kstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o
ranlib libsupp.a
make[1]: Leaving directory `/home/linux/proftpd-1.2.9/lib'
cd src/ && make src
make[1]: Entering directory `/home/linux/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/linux/proftpd-1.2.9/src'
cd modules/ && make modules
make[1]: Entering directory `/home/linux/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: 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 `/home/linux/proftpd-1.2.9/modules'
make: *** [modules] Error 2
a15156671:/home/linux/proftpd-1.2.9 #

ich habe nie zuvor auf einem unix ein Programm Compiliert oder installiert. Könnte mir jemand die entspechende Hilfe dazu geben wie ich das in den Griff bekomme?
Gespeichert
Anonymous
Gast
« Antwort #1 am: 27. Juli 2004, 09:25:34 »

Zitat von: "lala"

mod_sql_mysql.c:137:19: mysql.h: No such file or directory
mod_sql_mysql.c:164: error: parse error before "MYSQL"


hi, haste das include dir richtig gesetzt? check mal, ob du die mysql.h in dem von dir angegeben verzeichnis
Code:
ls /usr/local/include
finden kannst
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.055 Sekunden mit 13 Zugriffen.