I am trying to install ledgersmb onto my Ubuntu Edgy box. I have
double-checked the dependencies and I believe I have everything,
although it is confusing enough that I am not sure. Everything goes
fine until I run Buil.PL test. When I do that, it says "failed: FATAL:
missing or erroneous pg_hba.conf file" I have checked the pg_hba.conf
file and I believe it to be correct. I did notice that admin.pl gives
"No GlobalDBH Configured or Could not Connect". There is no section in
the ledgersmb.conf labeled GlobalDBH, which is confusing to me. So I
renamed the globaldb section to globaldbh. Then the test succeeds, but
when I try to load admin.pl I get an internal server error. The log
file says this:
[Wed Apr 18 18:53:36 2007] [error] [client 127.0.0.1] Can't call
method "prepare" on an undefined value at LedgerSMB/User.pm line 50.
[Wed Apr 18 18:53:36 2007] [error] [client 127.0.0.1] Compilation
failed in require at /usr/local/ledgersmb/admin.pl line 105.
[Wed Apr 18 18:53:36 2007] [error] [client 127.0.0.1] Premature end of
script headers: admin.pl
[Wed Apr 18 19:03:16 2007] [error] [client 127.0.0.1] Can't call
method "prepare" on an undefined value at LedgerSMB/User.pm line 50.
[Wed Apr 18 19:03:16 2007] [error] [client 127.0.0.1] Compilation
failed in require at /usr/local/ledgersmb/admin.pl line 105.
[Wed Apr 18 19:03:16 2007] [error] [client 127.0.0.1] Premature end of
script headers: admin.pl
I am frustrated and would appreciate any help. I will be on irc as
kadmiel if anyone would rather help me there.
Thank you,
Matthew