On Mar 12, 2014 7:22 AM, "Benedict White" <..hidden..> wrote:
>
> OK... so I have all the packages built but I may need to fix some.
>
> Firstly, where do I set the Postgresql contrib_dir, only I can't see the setting in the ledgersmb.conf.
You could set a default by patching LedgerSMB/Sysconfig
>
> Secondly when I connect to the ledgersmb/setup.pl I get the following: Has anyone any ideas?
Yeah. You are Moose is hiding the error from you. This happens when a dependency is missing from a helper class. Try running the following from the command line.
LedgerSMB/PGNumber.pm
LedgerSMB/PGDate.pm
I will be verifying the Makefile.PL again but to verify when you find it let me know what was missing so I can verify that it is fixed.
> Error!
>
> Unable to open script: LedgerSMB::Scripts::setup : : syntax error at LedgerSMB/DBObject_Moose.pm line 21, near "use LedgerSMB::MooseTypes
> =" Global symbol "$class" requires explicit package name at LedgerSMB/DBObject_Moose.pm line 25. "use" not allowed in _expression_ at LedgerSMB/DBObject_Moose.pm line 31, at end of line Global symbol "$self" requires explicit package name at LedgerSMB/DBObject_Moose.pm line 36. Global symbol "$function_name" requires explicit package name at LedgerSMB/DBObject_Moose.pm line 36. Global symbol "@args" requires explicit package name at LedgerSMB/DBObject_Moose.pm line 36. Global symbol "$schema" requires explicit package name at LedgerSMB/DBObject_Moose.pm line 36. Global symbol "$continue_on_error" requires explicit package name at LedgerSMB/DBObject_Moose.pm line 37. Global symbol "@args" requires explicit package name at LedgerSMB/DBObject_Moose.pm line 42. Global symbol "@elements" requires explicit package name at LedgerSMB/DBObject_Moose.pm line 48. LedgerSMB/DBObject_Moose.pm has too many errors. Compilation failed in require at /usr/share/perl5/vendor_perl/Module/Runtime.pm line 317. Compilation failed in require at LedgerSMB/Scripts/setup.pm line 27. BEGIN failed--compilation aborted at LedgerSMB/Scripts/setup.pm line 27. Compilation failed in require at (eval 452) line 1.
>
> dbversion: 1.4.0, company:
>
> Kind regards
>
> Benedict White
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Ledger-smb-devel mailing list
> ..hidden..
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
>