Configure.pl said

Determining if your platform supports gdbm.............................yes.

But t/dynclass/gdbmhash.t fails completely:

Failed Test           Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/dynclass/gdbmhash.t   13  3328    13   13 100.00%  1-13

with errors like:

t/dynclass/gdbmhash............NOK 1                                         
#     Failed test (t/dynclass/gdbmhash.t at line 43)
#          got: 'no extension: file 'libgdbm'
# '
#     expected: 'GDBMHash
# '
# './parrot  --gc-debug "/Users/timbo/perl/parrot/t/dynclass/gdbmhash_1.pir"' 
failed with exit code 42
t/dynclass/gdbmhash............NOK 2                                         
#     Failed test (t/dynclass/gdbmhash.t at line 56)
#          got: 'no extension: file 'libgdbm'
# '
#     expected: '0
# 1
# 0
# '

The compiler complained about gdbmhash.c but didn't fail:

        cc -c -fno-common -no-cpp-precomp -DDEBUGGING  -pipe 
-I/opt/local/include -pipe -fno-common -Wno-long-double    -g -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Winline -Wpointer-arith -Wcast-qual 
-Wcast-align -Wwrite-strings -Waggregate-return -Winline -W -Wno-unused 
-Wsign-compare -Wformat-nonliteral -Wformat-security -Wpacked 
-Wdisabled-optimization -falign-functions=16 -Wno-shadow  -DHAS_JIT -DPPC 
-DHAVE_COMPUTED_GOTO   -o gdbmhash.o -I/Users/timbo/perl/parrot/include 
-I/Users/timbo/perl/parrot/classes gdbmhash.c
        In file included from gdbmhash.pmc:49:
        /opt/local/include/gdbm.h:85: warning: function declaration isn't a 
prototype
        gdbmhash.pmc: In function `Parrot_GDBMHash_get_integer':
        gdbmhash.pmc:145: warning: function call has aggregate value
        gdbmhash.pmc:147: warning: function call has aggregate value
        gdbmhash.pmc: In function `Parrot_GDBMHash_get_string_keyed':
        gdbmhash.pmc:229: warning: function call has aggregate value
        gdbmhash.pmc: In function `Parrot_GDBMHash_get_bool':
        gdbmhash.pmc:171: warning: function call has aggregate value

/opt/local/include/gdbm.h:85 reads:

        extern GDBM_FILE gdbm_open __P((char *, int, int, int, void (*)()));

This is on OSX 10.4 with a recent svn update:

        Last Changed Rev: 8966
        Last Changed Date: 2005-08-15 04:57:58 +0100 (Mon, 15 Aug 2005)

Tim.

Reply via email to