Postgrey installation - BerkleyDB schlägt fehl

Centro

Der mit dem roten Hut!
Hallo zusammen,

habe massig schwierigkeiten mir das BerkleyDB Paket per Cpan zu installieren.

Hier mal ein Auszug aus dem was alles ge"error"t wird!
Code:
BerkeleyDB.xs:4455: warning: unused variable ‘my_cxtp’
BerkeleyDB.xs: In function ‘XS_BerkeleyDB__Txn__txn_abort’:
BerkeleyDB.xs:4472: error: ‘BerkeleyDB_Txn_type’ has no member named ‘active’
BerkeleyDB.xs:4474: error: ‘BerkeleyDB_Txn_type’ has no member named ‘active’
BerkeleyDB.c:7052: error: ‘BerkeleyDB_Txn_type’ has no member named ‘txn’
BerkeleyDB.c:7054: warning: pointer/integer type mismatch in conditional expression
BerkeleyDB.xs:4470: warning: unused variable ‘my_cxtp’
BerkeleyDB.xs: In function ‘XS_BerkeleyDB__Txn__txn_discard’:
BerkeleyDB.xs:4492: error: ‘BerkeleyDB_Txn_type’ has no member named ‘active’
BerkeleyDB.xs:4494: error: ‘BerkeleyDB_Txn_type’ has no member named ‘active’
BerkeleyDB.c:7106: warning: pointer/integer type mismatch in conditional expression
BerkeleyDB.xs:4490: warning: unused variable ‘my_cxtp’
BerkeleyDB.c: In function ‘XS_BerkeleyDB__Txn_txn_id’:
BerkeleyDB.c:7141: warning: implicit declaration of function ‘txn_id’
BerkeleyDB.c:7141: error: ‘BerkeleyDB_Txn_type’ has no member named ‘txn’
BerkeleyDB.xs:4505: warning: unused variable ‘my_cxtp’
BerkeleyDB.xs: In function ‘XS_BerkeleyDB___tiedHash_FIRSTKEY’:
BerkeleyDB.xs:4516: error: ‘DBTKEY’ undeclared (first use in this function)
BerkeleyDB.xs:4516: error: expected ‘;’ before ‘key’
BerkeleyDB.xs:4517: error: ‘DBT’ undeclared (first use in this function)
BerkeleyDB.xs:4517: error: expected ‘;’ before ‘value’
BerkeleyDB.xs:4518: error: ‘DBC’ undeclared (first use in this function)
BerkeleyDB.xs:4518: error: ‘cursor’ undeclared (first use in this function)
BerkeleyDB.xs:4527: error: ‘my_cxt_t’ has no member named ‘x_CurrentDB’
BerkeleyDB.xs:4528: error: ‘key’ undeclared (first use in this function)
BerkeleyDB.xs:4528: warning: left-hand operand of comma expression has no effect
BerkeleyDB.xs:4528: warning: left-hand operand of comma expression has no effect
BerkeleyDB.xs:4529: error: ‘value’ undeclared (first use in this function)
BerkeleyDB.xs:4529: warning: left-hand operand of comma expression has no effect
BerkeleyDB.xs:4529: warning: left-hand operand of comma expression has no effect
BerkeleyDB.xs:4531: error: ‘BerkeleyDB_type’ has no member named ‘cursor’
BerkeleyDB.xs:4532: error: ‘BerkeleyDB_type’ has no member named ‘Status’
BerkeleyDB.xs:4532: error: ‘BerkeleyDB_type’ has no member named ‘dbp’
BerkeleyDB.xs:4532: error: ‘BerkeleyDB_type’ has no member named ‘dbp’
BerkeleyDB.xs:4532: error: ‘BerkeleyDB_type’ has no member named ‘txn’
BerkeleyDB.xs:4533: error: ‘BerkeleyDB_type’ has no member named ‘cursor’
BerkeleyDB.xs:4535: error: ‘BerkeleyDB_type’ has no member named ‘cursor’
BerkeleyDB.xs:4536: error: ‘BerkeleyDB_type’ has no member named ‘Status’
BerkeleyDB.xs:4537: error: ‘BerkeleyDB_type’ has no member named ‘cursor’
BerkeleyDB.xs:4537: error: ‘BerkeleyDB_type’ has no member named ‘cursor’
BerkeleyDB.xs:4537: error: ‘DB_FIRST’ undeclared (first use in this function)
BerkeleyDB.xs:4539: error: ‘BerkeleyDB_type’ has no member named ‘Status’
BerkeleyDB.xs:4541: error: ‘DB_NOTFOUND’ undeclared (first use in this function)
BerkeleyDB.xs:4542: error: ‘BerkeleyDB_type’ has no member named ‘cursor’
BerkeleyDB.xs:4542: error: ‘BerkeleyDB_type’ has no member named ‘cursor’
BerkeleyDB.xs:4543: error: ‘BerkeleyDB_type’ has no member named ‘cursor’
BerkeleyDB.xs:4546: error: ‘BerkeleyDB_type’ has no member named ‘recno_or_queue’
BerkeleyDB.xs:4546: error: ‘BerkeleyDB_type’ has no member named ‘filter_fetch_key’
BerkeleyDB.xs:4546: error: ‘BerkeleyDB_type’ has no member named ‘filtering’
BerkeleyDB.xs:4546: error: ‘BerkeleyDB_type’ has no member named ‘filtering’
BerkeleyDB.xs:4546: error: ‘BerkeleyDB_type’ has no member named ‘filtering’
BerkeleyDB.xs:4546: error: ‘BerkeleyDB_type’ has no member named ‘filter_fetch_key’
BerkeleyDB.xs:4546: warning: value computed is not used
BerkeleyDB.c:7160: warning: unused variable ‘targ’
BerkeleyDB.c: In function ‘XS_BerkeleyDB___tiedHash_NEXTKEY’:
BerkeleyDB.c:7218: error: ‘DBTKEY’ undeclared (first use in this function)
BerkeleyDB.c:7218: error: expected ‘;’ before ‘key’
BerkeleyDB.xs:4556: warning: ISO C90 forbids mixed declarations and code
BerkeleyDB.xs:4559: error: ‘DBT’ undeclared (first use in this function)
BerkeleyDB.xs:4559: error: expected ‘;’ before ‘value’
BerkeleyDB.xs:4561: error: ‘my_cxt_t’ has no member named ‘x_CurrentDB’
BerkeleyDB.xs:4562: error: ‘key’ undeclared (first use in this function)
BerkeleyDB.xs:4562: warning: left-hand operand of comma expression has no effect
BerkeleyDB.xs:4562: warning: left-hand operand of comma expression has no effect
BerkeleyDB.xs:4563: error: ‘value’ undeclared (first use in this function)
BerkeleyDB.xs:4563: warning: left-hand operand of comma expression has no effect
BerkeleyDB.xs:4563: warning: left-hand operand of comma expression has no effect
BerkeleyDB.xs:4565: error: ‘BerkeleyDB_type’ has no member named ‘Status’
BerkeleyDB.xs:4566: error: ‘BerkeleyDB_type’ has no member named ‘cursor’
BerkeleyDB.xs:4566: error: ‘BerkeleyDB_type’ has no member named ‘cursor’
BerkeleyDB.xs:4566: error: ‘DB_NEXT’ undeclared (first use in this function)
BerkeleyDB.xs:4569: error: ‘DB_NOTFOUND’ undeclared (first use in this function)
BerkeleyDB.xs:4570: error: ‘BerkeleyDB_type’ has no member named ‘cursor’
BerkeleyDB.xs:4570: error: ‘BerkeleyDB_type’ has no member named ‘cursor’
BerkeleyDB.xs:4571: error: ‘BerkeleyDB_type’ has no member named ‘cursor’
BerkeleyDB.xs:4574: error: ‘BerkeleyDB_type’ has no member named ‘recno_or_queue’
BerkeleyDB.xs:4574: error: ‘BerkeleyDB_type’ has no member named ‘filter_fetch_key’
BerkeleyDB.xs:4574: error: ‘BerkeleyDB_type’ has no member named ‘filtering’
BerkeleyDB.xs:4574: error: ‘BerkeleyDB_type’ has no member named ‘filtering’
BerkeleyDB.xs:4574: error: ‘BerkeleyDB_type’ has no member named ‘filtering’
BerkeleyDB.xs:4574: error: ‘BerkeleyDB_type’ has no member named ‘filter_fetch_key’
BerkeleyDB.xs:4574: warning: value computed is not used
BerkeleyDB.c:7223: warning: unused variable ‘targ’
BerkeleyDB.xs: In function ‘XS_BerkeleyDB___tiedArray_FETCHSIZE’:
BerkeleyDB.xs:4585: error: ‘my_cxt_t’ has no member named ‘x_CurrentDB’
BerkeleyDB.xs: In function ‘boot_BerkeleyDB’:
BerkeleyDB.xs:4605: error: ‘DB_VERSION_MAJOR’ undeclared (first use in this function)
BerkeleyDB.xs:4605: error: ‘DB_VERSION_MINOR’ undeclared (first use in this function)
BerkeleyDB.xs:4606: error: ‘DB_VERSION_PATCH’ undeclared (first use in this function)
BerkeleyDB.xs:4620: error: ‘DBT’ undeclared (first use in this function)
BerkeleyDB.xs:4620: error: ‘my_cxt_t’ has no member named ‘x_empty’
BerkeleyDB.xs:4620: warning: left-hand operand of comma expression has no effect
BerkeleyDB.xs:4620: error: ‘my_cxt_t’ has no member named ‘x_empty’
BerkeleyDB.xs:4620: error: ‘my_cxt_t’ has no member named ‘x_empty’
BerkeleyDB.xs:4620: error: ‘my_cxt_t’ has no member named ‘x_empty’
BerkeleyDB.xs:4620: error: ‘my_cxt_t’ has no member named ‘x_empty’
BerkeleyDB.xs:4620: warning: left-hand operand of comma expression has no effect
BerkeleyDB.xs:4621: error: ‘my_cxt_t’ has no member named ‘x_empty’
BerkeleyDB.xs:4621: error: ‘my_cxt_t’ has no member named ‘x_zero’
BerkeleyDB.xs:4622: error: ‘my_cxt_t’ has no member named ‘x_empty’
BerkeleyDB.xs:4622: error: ‘db_recno_t’ undeclared (first use in this function)
BerkeleyDB.xs:4623: error: ‘my_cxt_t’ has no member named ‘x_empty’
make: *** [BerkeleyDB.o] Fehler 1
  PMQS/BerkeleyDB-0.33.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

Kennt jemand diesen Fehler!?

Bin mit Cpan noch nie so richtig in berührung gekommen, und weis daher leider nicht weiter.

Wollte die drei Punkte aus huschis Howto zu Postgrey installieren, die ersten beiden Server und Multiplex laufen sauber durch und sind schon installiert.

Fehlermeldung beim Start von Postgrey
Code:
/etc/init.d/postgrey start
Starting postgrey Can't locate BerkeleyDB.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl) at /usr/local/sbin/postgrey line 16.
BEGIN failed--compilation aborted at /usr/local/sbin/postgrey line 16.
startproc:  exit status of parent of /usr/local/sbin/postgrey: 2
                                                                      failed
Greetz Centro
 
Fehler behoben! :D

Man kann den Spaß auch über Yast installieren!
Code:
yast -i perl-berkeleydb

Greetz Centro

PS: Postgrey läuft! :)
 
Back
Top