PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Manuelle Installation von ProFTPd auf Debian Squeeze



kangaroo72
04.06.11, 22:50
Ich versuche den PROFTPD mit configure, make, make install zu installieren

Hier der configure-Befehl:


./configure \
--prefix=/usr \
--with-includes=/usr/include/postgresql:\
/usr/include/mysql:\
/usr/include/sqlite \
--mandir=/usr/share/man \
--sysconfdir=/etc/proftpd \
--localstatedir=/var/run \
--libexecdir=/usr/lib/proftpd \
--enable-facl \
--enable-dso \
--enable-autoshadow \
--enable-ctrls \
--with-modules=mod_readme \
--enable-ipv6 \
--enable-nls \
--build i486-linux-gnu \
--with-shared=mod_unique_id:mod_site_misc:mod_load:\
mod_ban:mod_quotatab:mod_sql:mod_sql_mysql:\
mod_sql_postgres:mod_sql_sqlite:mod_sql_odbc:\
mod_dynmasq:mod_quotatab_sql:mod_ldap:\
mod_quotatab_ldap:mod_ratio:mod_tls:mod_rewrite:\
mod_radius:mod_wrap:mod_wrap2:mod_wrap2_file:\
mod_wrap2_sql:mod_quotatab_file:\
mod_quotatab_radius:mod_facl:mod_ctrls_admin:\
mod_ifsession:mod_shaper \
build_alias=i486-linux-gnu \
CFLAGS="-O2 -D_LARGEFILE64_SOURCE \
-D_FILE_OFFSET_BITS=64 -DHAVE_OPENSSL \
-DUSE_LDAP_TLS" \
LDFLAGS= \
CPPFLAGS= \
CXXFLAGS="-g -O2" \
FFLAGS="-g -O2"

Configure läuft durch, aber bei MAKE bekomme ich dann Fehler ...


mod_sql_odbc.c:37:17: error: sql.h: Datei oder Verzeichnis nicht gefunden
mod_sql_odbc.c:38:20: error: sqlext.h: Datei oder Verzeichnis nicht gefunden
mod_sql_odbc.c:47: error: expected specifier-qualifier-list before ‘HENV’
mod_sql_odbc.c:143: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘odbc_state’
mod_sql_odbc.c:144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘odbc_errstr’
mod_sql_odbc.c:146: error: expected ‘)’ before ‘handle_type’
mod_sql_odbc.c:221: error: expected ‘)’ before ‘type’
mod_sql_odbc.c:302: error: expected ‘)’ before ‘odbc_error’
mod_sql_odbc.c:331: error: expected declaration specifiers or ‘...’ before ‘SQLSMALLINT’
mod_sql_odbc.c:332: error: expected declaration specifiers or ‘...’ before ‘SQLHANDLE’
mod_sql_odbc.c: In function ‘sqlodbc_get_error’:
mod_sql_odbc.c:333: error: ‘SQLCHAR’ undeclared (first use in this function)
mod_sql_odbc.c:333: error: (Each undeclared identifier is reported only once
mod_sql_odbc.c:333: error: for each function it appears in.)
mod_sql_odbc.c:333: error: expected ‘;’ before ‘state’
mod_sql_odbc.c:334: error: ‘SQLSMALLINT’ undeclared (first use in this function)

Von den mod_sql_odbc-Fehlern kommen tonnenweise. Habt ihr hier 'nen Tip für mich??

Gruss,

Kangaroo

drcux
05.06.11, 07:35
Installiere das Paket das bei deiner $DIST sql.h/sqlext.h enthält. Bei openSUSE wäre es unixODBC-devel...

Iluminat23
05.06.11, 08:52
bei debian kannst du mit dem programm apt-file schauen in welchem paket eine bestimmte datei ist.

apt-file search sqlext.h
apt-file benötigt aber eine datenbank, diese musst du vor dem suchen mit erstellen.

apt-file update

Gruß,
iluminat23