[Bucardo-general] Installing Bucardo

Mathieu Coterot mcoterot at implantrack.com
Fri Jun 27 08:43:48 UTC 2014


Sir, Madam,

I'm currently trying to install bucardo on a Linux Mint system (Ubuntu 
like) but I'm facing some difficulties.
Indeed, after downloading the last version (5.0.0), I'm  not able to do 
a "make test". System answering the lines at the end of the mail.

Moreover, a "bucardo install" always stop by the following error :
INSTALLATION FAILED! (psql:/usr/local/share/bucardo/bucardo.schema:812: 
ERROR:  Unable to load DBI.pm into plperl at line 15.
BEGIN failed--compilation aborted at line 15.
CONTEXT:  compilation of PL/Perl function "db_getconn")

However, DBI is installed on the computer (sudo apt-get install 
libdbi-perl).

Is it possible for you to send me some helpful informations in order to 
finish this installation ?

Thanks by advance,
Regards,

Mathieu COTEROT


Results of a make test :
-------------------------------

~/Prog/Bucardo-5.0.0 $ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-basic.t ................. Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/01-basic.t line 12.
BEGIN failed--compilation aborted at t/01-basic.t line 12.
t/01-basic.t ................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/02-bctl-customname.t ....... Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/02-bctl-customname.t line 17.
BEGIN failed--compilation aborted at t/02-bctl-customname.t line 17.
# Looks like your test exited with 2 before it could output anything.
t/02-bctl-customname.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 18/18 subtests
t/02-bctl-db.t ............... Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/02-bctl-db.t line 17.
BEGIN failed--compilation aborted at t/02-bctl-db.t line 17.
# Looks like your test exited with 2 before it could output anything.
t/02-bctl-db.t ............... Dubious, test returned 2 (wstat 512, 0x200)
Failed 49/49 subtests
t/02-bctl-dbg.t .............. Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/02-bctl-dbg.t line 17.
BEGIN failed--compilation aborted at t/02-bctl-dbg.t line 17.
# Looks like your test exited with 2 before it could output anything.
t/02-bctl-dbg.t .............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 25/25 subtests
t/02-bctl-herd.t ............. Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/02-bctl-herd.t line 17.
BEGIN failed--compilation aborted at t/02-bctl-herd.t line 17.
# Looks like your test exited with 2 before it could output anything.
t/02-bctl-herd.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 7/7 subtests
t/02-bctl-sync.t ............. Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/02-bctl-sync.t line 17.
BEGIN failed--compilation aborted at t/02-bctl-sync.t line 17.
# Looks like your test exited with 2 before it could output anything.
t/02-bctl-sync.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
t/02-bctl-table.t ............ Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/02-bctl-table.t line 17.
BEGIN failed--compilation aborted at t/02-bctl-table.t line 17.
# Looks like your test exited with 2 before it could output anything.
t/02-bctl-table.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 43/43 subtests
t/10-fullcopy.t .............. Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/10-fullcopy.t line 14.
BEGIN failed--compilation aborted at t/10-fullcopy.t line 14.
t/10-fullcopy.t .............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/10-makedelta.t ............. Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/10-makedelta.t line 12.
BEGIN failed--compilation aborted at t/10-makedelta.t line 12.
# Looks like your test exited with 2 before it could output anything.
t/10-makedelta.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 49/49 subtests
t/10-object-names.t .......... Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/10-object-names.t line 24.
BEGIN failed--compilation aborted at t/10-object-names.t line 24.
t/10-object-names.t .......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/20-drizzle.t ............... Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/20-drizzle.t line 40.
BEGIN failed--compilation aborted at t/20-drizzle.t line 40.
t/20-drizzle.t ............... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/20-mariadb.t ............... Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/20-mariadb.t line 47.
BEGIN failed--compilation aborted at t/20-mariadb.t line 47.
t/20-mariadb.t ............... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/20-mongo.t ................. Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/20-mongo.t line 38.
BEGIN failed--compilation aborted at t/20-mongo.t line 38.
t/20-mongo.t ................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/20-mysql.t ................. Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/20-mysql.t line 46.
BEGIN failed--compilation aborted at t/20-mysql.t line 46.
t/20-mysql.t ................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/20-oracle.t ................ Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/20-oracle.t line 44.
BEGIN failed--compilation aborted at t/20-oracle.t line 44.
t/20-oracle.t ................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/20-postgres.t .............. Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/20-postgres.t line 19.
BEGIN failed--compilation aborted at t/20-postgres.t line 19.
t/20-postgres.t .............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/20-redis.t ................. Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/20-redis.t line 38.
BEGIN failed--compilation aborted at t/20-redis.t line 38.
t/20-redis.t ................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/20-sqlite.t ................ Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/20-sqlite.t line 41.
BEGIN failed--compilation aborted at t/20-sqlite.t line 41.
t/20-sqlite.t ................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/30-crash.t ................. Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/30-crash.t line 16.
BEGIN failed--compilation aborted at t/30-crash.t line 16.
t/30-crash.t ................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/30-delta.t ................. Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/30-delta.t line 17.
BEGIN failed--compilation aborted at t/30-delta.t line 17.
t/30-delta.t ................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/40-customcode-exception.t .. Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/40-customcode-exception.t line 16.
BEGIN failed--compilation aborted at t/40-customcode-exception.t line 16.
t/40-customcode-exception.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/40-serializable.t .......... Can't exec "initdb": No such file or 
directory at t/BucardoTesting.pm line 186.
Could not determine initdb version information from running "initdb -V"
Compilation failed in require at t/40-serializable.t line 7.
BEGIN failed--compilation aborted at t/40-serializable.t line 7.
t/40-serializable.t .......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/98-cleanup.t ............... ok
t/99-signature.t ............. skipped: Test skipped unless environment 
variable RELEASE_TESTING is set

Test Summary Report
-------------------
t/01-basic.t               (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/02-bctl-customname.t     (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: Bad plan.  You planned 18 tests but ran 0.
t/02-bctl-db.t             (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: Bad plan.  You planned 49 tests but ran 0.
t/02-bctl-dbg.t            (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: Bad plan.  You planned 25 tests but ran 0.
t/02-bctl-herd.t           (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: Bad plan.  You planned 7 tests but ran 0.
t/02-bctl-sync.t           (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/02-bctl-table.t          (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: Bad plan.  You planned 43 tests but ran 0.
t/10-fullcopy.t            (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/10-makedelta.t           (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: Bad plan.  You planned 49 tests but ran 0.
t/10-object-names.t        (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/20-drizzle.t             (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/20-mariadb.t             (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/20-mongo.t               (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/20-mysql.t               (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/20-oracle.t              (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/20-postgres.t            (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/20-redis.t               (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/20-sqlite.t              (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/30-crash.t               (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/30-delta.t               (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/40-customcode-exception.t (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
t/40-serializable.t        (Wstat: 512 Tests: 0 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
Files=24, Tests=2,  2 wallclock secs ( 0.11 usr  0.06 sys +  1.60 cusr  
0.20 csys =  1.97 CPU)
Result: FAIL
Failed 22/24 test programs. 0/2 subtests failed.
make: *** [test_dynamic] Error 255






More information about the Bucardo-general mailing list