On 3/31/08, Jim Dodgen <[EMAIL PROTECTED]> wrote: > On 3/31/08, P Kishor <[EMAIL PROTECTED]> wrote: > > On 3/30/08, Jim Dodgen <[EMAIL PROTECTED]> wrote: > > > Any Perl people out there using this yet (version 3.5.7)? > > > > > > I'm continually having problems when doing "make test" > > > > > > It hangs forever and never completes > > > > > > I have tried this on multiple boxes running both Fedora and Redhat ES, > > > all 64 bit. > > > > > > Jim, > > > > I am using 3.5.6 (using the amalgamation... see the instructions I put > > on the SQLite wiki) and that worked well for me on both a Mac Leopard > > and a RHEL ES3 box. I see no reason to upgrade to 3.5.7 yet. That > > said, I also not working with 64 bit system. > > > > You might get better luck in getting an answer if you post at least > > the tail portion of the make output, otherwise no one has any idea > > where your process hangs. > > > > > > It makes ok, here is the output from "make test". the hang is after > "t/06error" it never finishes > > DBD-SQLite-Amalgamation-3.5.7 > > # make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/00basic...............ok > t/01logon...............ok > t/02cr_table............ok > t/03insert..............ok > t/04select..............ok > t/05tran................ok > t/06error...............ok 1/2 > > (this never finishes)
well, look in the t directory for the specific test. In my case, I see the following -- use Test; BEGIN { plan tests => 2 } use DBI; unlink('foo'); my $db = DBI->connect('dbi:SQLite:foo', '', '', { RaiseError => 1, PrintError => 0 }); eval { $db->do('ssdfsdf sdf sd sdfsdfdsf sdfsdf'); }; ok($@); $db->do('create table testerror (a, b)'); $db->do('insert into testerror values (1, 2)'); $db->do('insert into testerror values (3, 4)'); $db->do('create unique index testerror_idx on testerror (a)'); eval { $db->do('insert into testerror values (1, 5)'); }; ok($@); You could follow from there and see what is actually failing, or where it is getting stuck. Seems like a pretty simple test to me, so I can't fathom where things are hanging. If you want to live dangerously, you could also just force a make anyway in spite of the hanging test and see if the installation works for you. Then you could work back and try and figure out what is going wrong. > > # uname -a > Linux timmy 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:16:33 EDT 2005 > x86_64 x86_64 x86_64 GNU/Linuxperl > > # perl -v > > This is perl, v5.8.6 built for x86_64-linux-thread-multi > > > > > -- Puneet Kishor http://punkish.eidesis.org/ Nelson Institute for Environmental Studies http://www.nelson.wisc.edu/ Open Source Geospatial Foundation (OSGeo) http://www.osgeo.org/ _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users