installing DBD::SQLite on OS X 10.2.3, I get the following test error:
Testing INSERT speed ...
make: *** [test_dynamic] Bus error
/usr/bin/make test -- NOT OK
crash log:
Date/Time: 2003-01-28 16:06:53 -0500
OS Version: 10.2.3 (Build 6G30)
Host: Simons-TiBook.local.
Command: perl
PID: 3637
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000009
Thread 0 Crashed:
#0 0x002770a0 in balance
#1 0x00278a48 in sqliteBtreeInsert
#2 0x002a2e70 in sqliteVdbeExec
#3 0x0027d2f4 in sqliteExec
#4 0x00291c4c in yy_reduce
#5 0x00290f68 in sqliteParser
#6 0x002992e8 in sqliteRunParser
#7 0x0028ccdc in sqlite_exec
#8 0x00298bc0 in sqlite_get_table
#9 0x00282d8c in sqlite_st_execute
#10 0x002734fc in XS_DBD__SQLite__st_execute
#11 0x000f0894 in XS_DBI_dispatch
#12 0x4be61198 in Perl_pp_entersub
#13 0x4be5ae8c in Perl_runops_standard
#14 0x4be0391c in perl_call_sv
#15 0x000f0964 in XS_DBI_dispatch
#16 0x4be61198 in Perl_pp_entersub
#17 0x4be5ae8c in Perl_runops_standard
#18 0x4be034b4 in S_run_body
#19 0x4be03098 in perl_run
#20 0x000029e0 in main
#21 0x000026f0 in _start (crt.c:267)
#22 0x00002570 in start
PPC Thread State:
srr0: 0x002770a0 srr1: 0x0200f030 vrsave: 0x00000000
xer: 0x20000000 lr: 0x00276f74 ctr: 0x00000000 mq: 0x00000000
r0: 0x00000000 r1: 0xbfffc740 r2: 0xffffffff r3: 0x0000000c
r4: 0x001ef890 r5: 0x00000000 r6: 0xbfffd464 r7: 0xbfffd438
r8: 0xbfffc780 r9: 0xffffffff r10: 0xbfffe020 r11: 0x00000000
r12: 0xbfffe020 r13: 0x00000000 r14: 0x0000000c r15: 0x00000000
r16: 0x00000000 r17: 0xbfffc7d0 r18: 0xbfffce20 r19: 0x00000001
r20: 0x00000000 r21: 0x001acb90 r22: 0xbfffc780 r23: 0x00000000
r24: 0x001ef310 r25: 0x00000000 r26: 0x00000000 r27: 0x00000000
r28: 0xbfffc780 r29: 0xbfffe020 r30: 0xbfffd020 r31: 0x00276540
cpan output ...
[...]
Using DBI 1.32 installed in /Library/Perl/darwin/auto/DBI
Writing Makefile for DBD::SQLite
cp lib/DBD/SQLite.pm blib/lib/DBD/SQLite.pm
cp getsqlite.pl blib/lib/DBD/getsqlite.pl
/usr/bin/perl -p -e "s/~DRIVER~/SQLite/g" <
/Library/Perl/darwin/auto/DBI/Driver.xst > SQLite.xsi
/usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl
/System/Library/Perl/ExtUtils/xsubpp -typemap
/System/Library/Perl/ExtUtils/typemap SQLite.xs > SQLite.xsc && mv
SQLite.xsc SQLite.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE SQLite.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE btree.c
btree.c: In function `defragmentPage':
btree.c:425: warning: cast from pointer to integer of different size
btree.c:425: warning: cast from pointer to integer of different size
btree.c:426: warning: cast from pointer to integer of different size
btree.c:426: warning: cast from pointer to integer of different size
btree.c: In function `dropCell':
btree.c:1950: warning: cast from pointer to integer of different size
btree.c:1950: warning: cast from pointer to integer of different size
btree.c: In function `relinkCellList':
btree.c:2001: warning: cast from pointer to integer of different size
btree.c:2001: warning: cast from pointer to integer of different size
btree.c: In function `copyPage':
btree.c:2024: warning: cast from pointer to integer of different size
btree.c:2025: warning: cast from pointer to integer of different size
btree.c:2027: warning: cast from pointer to integer of different size
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE build.c
build.c: In function `sqliteAddColumnType':
build.c:490: warning: cast from pointer to integer of different size
build.c:490: warning: cast from pointer to integer of different size
build.c: In function `sqliteEndTable':
build.c:861: warning: cast from pointer to integer of different size
build.c:861: warning: cast from pointer to integer of different size
build.c: In function `sqliteCreateIndex':
build.c:1564: warning: cast from pointer to integer of different size
build.c:1564: warning: cast from pointer to integer of different size
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE dbdimp.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE delete.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE expr.c
expr.c: In function `sqliteExprSpan':
expr.c:61: warning: cast from pointer to integer of different size
expr.c:61: warning: cast from pointer to integer of different size
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE func.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE hash.c
hash.c: In function `ptrHash':
hash.c:82: warning: cast from pointer to integer of different size
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE insert.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE main.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE opcodes.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE os.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE pager.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE parse.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE printf.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE random.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE select.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE table.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE tokenize.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE trigger.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE update.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE util.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE vdbe.c
cc -c -I/Library/Perl/darwin/auto/DBI -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include -O3
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-I/System/Library/Perl/darwin/CORE where.c
Running Mkbootstrap for DBD::SQLite ()
chmod 644 SQLite.bs
rm -f blib/arch/auto/DBD/SQLite/SQLite.bundle
LD_RUN_PATH="" cc -flat_namespace -bundle -undefined suppress
-L/usr/local/lib SQLite.o btree.o build.o dbdimp.o delete.o expr.o
func.o hash.o insert.o main.o opcodes.o os.o pager.o parse.o printf.o
random.o select.o table.o tokenize.o trigger.o update.o util.o vdbe.o
where.o -o blib/arch/auto/DBD/SQLite/SQLite.bundle
chmod 755 blib/arch/auto/DBD/SQLite/SQLite.bundle
cp SQLite.bs blib/arch/auto/DBD/SQLite/SQLite.bs
chmod 644 blib/arch/auto/DBD/SQLite/SQLite.bs
Manifying blib/man3/DBD::SQLite.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00basic...........ok
t/01logon...........ok
t/02cr_table........ok
t/03insert..........ok
t/04select..........ok
t/05tran............ok
t/06error...........ok
t/10dsnlist.........ok
t/20createdrop......ok
t/30insertfetch.....ok
t/40bindparam.......ok
t/40blobs...........ok
t/40listfields......ok
t/40nulls...........ok
t/40numrows.........ok
t/50chopblanks......ok
t/50commit..........ok
t/99cleanup.........ok
t/ak-dbd............ok
t/dbdadmin..........ok
All tests successful.
Files=20, Tests=252, 13 wallclock secs ( 4.99 cusr + 1.08 csys = 6.07
CPU)
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/System/Library/Perl/darwin -I/System/Library/Perl test.pl
Testing empty loop speed ...
100000 iterations in 0.3 cpu+sys seconds (370370 per sec)
Testing connect/disconnect speed ...
2000 connections in 4.1 cpu+sys seconds (484 per sec)
Testing CREATE/DROP TABLE speed ...
500 files in 2.2 cpu+sys seconds (227 per sec)
Testing INSERT speed ...
make: *** [test_dynamic] Bus error
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: DBD::SQLite install prob on OS X S Woodside
- Re: DBD::SQLite install prob on OS X Matt Sergeant
