[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

First time install gone awry - WinXP



Hello,

I've been using SQL-Ledger (2.4.11) and thought I might try LedgerSMB in
conjunction with upgrading my hardware.

I'm running:
 WinXP service pack 2
 ActiveState Perl 5.8.8.822
 Apache 2.2.4
 PostgreSQL 8.2.4-1

Everything goes quite smoothly until running Build.PL and testing.
Here's the output:

**************************************

C:\Program Files\ledgersmb>perl Build.PL
Checking prerequisites...
 * Optional prerequisite Net::TCLink is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the
versions
of the modules indicated above before proceeding with this installation

Deleting Build
Removed previous script 'Build'

Creating new 'Build' script for 'LedgerSMB' version '1.2.2'

C:\Program Files\ledgersmb>Build

C:\Program Files\ledgersmb>build test
test...................FAILED before any test output arrived
t\01-load.............."my" variable $msgid masks earlier declaration in
same scope at LedgerSMB/Mailer.pm line 59.
t\01-load..............dubious
        Test returned status 5 (wstat 1280, 0x500)
DIED. FAILED tests 1-30
        Failed 30/30 tests, 0.00% okay
t\02-number-handling...dubious
        Test returned status 5 (wstat 1280, 0x500)
t\03-date-handling....."my" variable $msgid masks earlier declaration in
same scope at LedgerSMB/Mailer.pm line 59.
t\03-date-handling.....dubious
        Test returned status 5 (wstat 1280, 0x500)
t\10-form..............Can't locate Test/Trap.pm in @INC (@INC contains:
C:\Program Files\ledgersmb\blib\lib C:\Program Files\ledgersmb\blib\arch
C:/Perl/site/lib C:/Perl/lib . C:/Perl/site/lib C:/Perl/lib .) at
t\10-form.t line 83.
BEGIN failed--compilation aborted at t\10-form.t line 83.
t\10-form..............dubious
        Test returned status 2 (wstat 512, 0x200)
t\12-menu..............Can't locate Test/Trap.pm in @INC (@INC contains:
C:\Program Files\ledgersmb\blib\lib C:\Program Files\ledgersmb\blib\arch
C:/Perl/site/lib C:/Perl/lib . C:/Perl/site/lib C:/Perl/lib .) at
t\12-menu.t line 15.
BEGIN failed--compilation aborted at t\12-menu.t line 15.
t\12-menu..............dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-37
        Failed 37/37 tests, 0.00% okay
t\99-versioning........dubious
        Test returned status 5 (wstat 1280, 0x500)
DIED. FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
Failed Test            Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t\01-load.t               5  1280    30   60  1-30
t\02-number-handling.t    5  1280    ??   ??  ??
t\03-date-handling.t      5  1280    ??   ??  ??
t\10-form.t               2   512    ??   ??  ??
t\12-menu.t               2   512    37   74  1-37
t\99-versioning.t         5  1280     9   18  1-9
test.pl                              ??   ??  ??
Failed 7/7 test scripts. 76/76 subtests failed.
Files=7, Tests=76,  2 wallclock secs ( 0.00 cusr +  0.00 csys =  0.00 CPU)
Failed 7/7 test programs. 76/76 subtests failed.

**************************************

That's such an abysmal failure that I'm confident that I'm missing a
crucial step or two (or three... or many...) but I can't see what.

Running http://localhost/ledgersmb/admin.pl yeilds a 'premature end of
headers' error.  I installed the Carp Perl module and refined that error
to this:

[Tue Aug 21 19:21:53 2007] [error] [client 127.0.0.1] [Tue Aug 21
19:21:53 2007] admin.pl: Can't locate LedgerSMB/Sysconfig.pm in @INC
(@INC contains: C:/perl/site/lib C:/perl/lib) at C:/Program
Files/ledgersmb/admin.pl line 52.\r
[Tue Aug 21 19:21:53 2007] [error] [client 127.0.0.1] [Tue Aug 21
19:21:53 2007] admin.pl: BEGIN failed--compilation aborted at C:/Program
Files/ledgersmb/admin.pl line 52.\r

The database is installed and appears to be setup properly:

C:\Program Files\ledgersmb>..\PostgreSQL\8.2\bin\psql.exe -U ledgersmb
Password for user ledgersmb:
Welcome to psql 8.2.4, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to execute query
       \q to quit

Warning: Console code page (850) differs from Windows code page (1252)
         8-bit characters may not work correctly. See psql reference
         page "Notes for Windows users" for details.

ledgersmb=> \d
                   List of relations
 Schema |          Name          |   Type   |   Owner
--------+------------------------+----------+-----------
 public | session                | table    | ledgersmb
 public | session_session_id_seq | sequence | ledgersmb
 public | users                  | table    | ledgersmb
 public | users_conf             | table    | ledgersmb
 public | users_id_seq           | sequence | ledgersmb
(5 rows)

Apache is working fine and basic Perl scripts run fine through Apache.

Have I missed something obvious?

Thanks,

Rob