Problem mit instlalation von Proftpd

  • Thread starter Thread starter freakshow10000
  • Start date Start date
F

freakshow10000

Guest
Hi leute,
Ich update meine Pakete eigentlich immer über apt-get update / upgrade und bin damit bis jetzt auch gut klargekommen..

Jetzt sagt
proftpd -v aber
Code:
proftpd -v
ProFTPD Version 1.3.3a
:eek:

Also denk ich mir..
Ganz einfach machst das halt selber ,
schnell gegoogelt und fündig geworden:

http://www.chrische.de/proftpd-1-3-3d-unter-debian-kompilieren-installieren-lenny-squeeze

alles klappt auch ganz wunderbar
bisauf make usw..

Code:
Debian-50-lenny-64-LAMP:/tmp/proftpd-1.3.3d# make
Makefile:79: target `/usr/lib/proftpd' given more than once in the same rule.
cd lib/ && make lib
make[1]: Entering directory `/tmp/proftpd-1.3.3d/lib'
cd libltdl/ && make
make[2]: Entering directory `/tmp/proftpd-1.3.3d/lib/libltdl'
make  all-am
make[3]: Entering directory `/tmp/proftpd-1.3.3d/lib/libltdl'
make[3]: Leaving directory `/tmp/proftpd-1.3.3d/lib/libltdl'
make[2]: Leaving directory `/tmp/proftpd-1.3.3d/lib/libltdl'
make[1]: Leaving directory `/tmp/proftpd-1.3.3d/lib'
cd src/ && make src
make[1]: Entering directory `/tmp/proftpd-1.3.3d/src'
make[1]: Nothing to be done for `src'.
make[1]: Leaving directory `/tmp/proftpd-1.3.3d/src'
cd modules/ && make static
make[1]: Entering directory `/tmp/proftpd-1.3.3d/modules'
make[1]: Leaving directory `/tmp/proftpd-1.3.3d/modules'
test -z "mod_unique_id.la mod_site_misc.la  mod_ban.la mod_quotatab.la mod_sql.la mod_sql_mysql.la mod_sql_postgres.la mod_sql_sqlite.la mod_sql_odbc.la mod_dynmasq.la mod_quotatab_sql.la mod_ldap.la mod_quotatab_ldap.la mod_ratio.la mod_tls.la mod_rewrite.la mod_radius.la mod_wrap.la  mod_wrap2_file.la mod_wrap2_sql.la mod_quotatab_file.la mod_quotatab_radius.la mod_facl.la mod_ctrls_admin.la  mod_exec.la  mod_sftp_pam.la mod_sftp_sql.la mod_shaper.la mod_sql_passwd.la mod_ifsession.la" -a -z "contrib/mod_load contrib/mod_wrap2 contrib/mod_vroot contrib/mod_sftp" || (cd modules/ && make shared)
make[1]: Entering directory `/tmp/proftpd-1.3.3d/modules'
/bin/bash ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include -I/usr/include/mysql -I/usr/include/postgresql -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_OPENSSL -DUSE_LDAP_TLS  -Wall -DPR_SHARED_MODULE -c mod_sql_postgres.c
libtool: compile:  gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -I/usr/include/postgresql -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_OPENSSL -DUSE_LDAP_TLS -Wall -DPR_SHARED_MODULE -c mod_sql_postgres.c  -fPIC -DPIC -o .libs/mod_sql_postgres.o
mod_sql_postgres.c:44:22: error: libpq-fe.h: No such file or directory
mod_sql_postgres.c:89: error: expected specifier-qualifier-list before âPGconnâ
mod_sql_postgres.c: In function â_build_errorâ:
mod_sql_postgres.c:223: warning: implicit declaration of function âPQerrorMessageâ
mod_sql_postgres.c:223: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:223: warning: passing argument 4 of âmod_create_retâ makes pointer from integer without a cast
mod_sql_postgres.c: In function â_build_dataâ:
mod_sql_postgres.c:234: error: âPGresultâ undeclared (first use in this function)
mod_sql_postgres.c:234: error: (Each undeclared identifier is reported only once
mod_sql_postgres.c:234: error: for each function it appears in.)
mod_sql_postgres.c:234: error: âresultâ undeclared (first use in this function)
mod_sql_postgres.c:244: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:247: warning: implicit declaration of function âPQntuplesâ
mod_sql_postgres.c:248: warning: implicit declaration of function âPQnfieldsâ
mod_sql_postgres.c:255: warning: implicit declaration of function âPQgetvalueâ
mod_sql_postgres.c:255: warning: passing argument 2 of âpstrdupâ makes pointer from integer without a cast
mod_sql_postgres.c: In function âcmd_openâ:
mod_sql_postgres.c:390: warning: implicit declaration of function âPQstatusâ
mod_sql_postgres.c:390: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:390: error: âCONNECTION_OKâ undeclared (first use in this function)
mod_sql_postgres.c:410: warning: implicit declaration of function âPQresetâ
mod_sql_postgres.c:410: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:412: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:426: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:426: warning: assignment makes pointer from integer without a cast
mod_sql_postgres.c:463: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:463: warning: implicit declaration of function âPQconnectdbâ
mod_sql_postgres.c:465: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:465: error: âCONNECTION_BADâ undeclared (first use in this function)
mod_sql_postgres.c:475: warning: implicit declaration of function âPQparameterStatusâ
mod_sql_postgres.c:475: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:475: warning: assignment makes pointer from integer without a cast
mod_sql_postgres.c:487: warning: implicit declaration of function âPQsetClientEncodingâ
mod_sql_postgres.c:487: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:494: warning: implicit declaration of function âPQclientEncodingâ
mod_sql_postgres.c:494: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c: In function âcmd_closeâ:
mod_sql_postgres.c:596: warning: implicit declaration of function âPQfinishâ
mod_sql_postgres.c:596: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:597: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c: In function âcmd_selectâ:
mod_sql_postgres.c:897: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:897: warning: implicit declaration of function âPQexecâ
mod_sql_postgres.c:897: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:898: warning: implicit declaration of function âPQresultStatusâ
mod_sql_postgres.c:898: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:898: error: âPGRES_TUPLES_OKâ undeclared (first use in this function)
mod_sql_postgres.c:901: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:901: warning: implicit declaration of function âPQclearâ
mod_sql_postgres.c:901: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:916: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c: In function âcmd_insertâ:
mod_sql_postgres.c:1016: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1016: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:1017: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1017: error: âPGRES_COMMAND_OKâ undeclared (first use in this function)
mod_sql_postgres.c:1020: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1020: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1030: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c: In function âcmd_updateâ:
mod_sql_postgres.c:1120: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1120: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:1121: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1121: error: âPGRES_COMMAND_OKâ undeclared (first use in this function)
mod_sql_postgres.c:1124: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1124: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1134: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c: In function âcmd_queryâ:
mod_sql_postgres.c:1241: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1241: error: âdb_conn_tâ has no member named âpostgresâ
mod_sql_postgres.c:1242: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1242: error: âPGRES_TUPLES_OKâ undeclared (first use in this function)
mod_sql_postgres.c:1243: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1243: error: âPGRES_COMMAND_OKâ undeclared (first use in this function)
mod_sql_postgres.c:1246: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1246: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1260: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c:1263: error: âdb_conn_tâ has no member named âresultâ
mod_sql_postgres.c: In function âcmd_escapestringâ:
mod_sql_postgres.c:1364: warning: implicit declaration of function âPQescapeStringâ
make[1]: *** [mod_sql_postgres.la] Error 1
make[1]: Leaving directory `/tmp/proftpd-1.3.3d/modules'
make: *** [modules] Error 2
Debian-50-lenny-64-LAMP:/tmp/proftpd-1.3.3d#
hat da wer eine idee? :confused:

Weiß auch nicht was ich hier machen könnte.. ;(

Mfg
 
Code:
mod_sql_postgres.c:44:22: error: libpq-fe.h: No such file or directory

Wenn du Software aus den Quellen bauen magst, dann brauchst du von allen abhängigen Paketen die Header-Files. Unter Debian kommst du an diese Files, indem du die zugehörigen dev-Pakete installierst. In deinem Fall ist das:

http://packages.debian.org/search?s...libpq-fe.h&mode=path&suite=oldstable&arch=any

Du kannst die Paket-Suche auch für alle weiteren Abhängigkeiten nutzen.

Warum willst du das aus den Quellen bauen? Das Update für ProFTP für Debian Lenny kam gerade über die Mailingliste.
 
Code:
apt-get install libpq-dev
Und schon rennt die kiste :)
Sehr nice danke
Code:
Debian-50-lenny-64-LAMP:/tmp/proftpd-1.3.3d# proftpd -v
ProFTPD Version 1.3.3d

Achja mit den Emaillisten,
Hab ich da etwas verpasst? :eek::D


Mfg
 
Back
Top