Re: [Ledger-smb-users] setup.pl error in LedgerSMB 1.4-b5

2014-02-21 Thread David Godfrey
Hi Chris, That is more what I expected, thanks for clarifying. Regards David Godfrey On 22/02/14 09:26, Chris Travers wrote: On Fri, Feb 21, 2014 at 5:10 PM, David Godfrey > wrote: Hi Chris, If I can ask, why are we appending a : to the path? On ma

Re: [Ledger-smb-users] setup.pl error in LedgerSMB 1.4-b5

2014-02-21 Thread Chris Travers
On Fri, Feb 21, 2014 at 5:10 PM, David Godfrey wrote: > Hi Chris, > > If I can ask, why are we appending a : to the path? > > On many systems this will cause a Bash or SH script to fail and it is > certainly not LSB compliant. > What I said may have been unclear. What we do is we connect the e

Re: [Ledger-smb-users] setup.pl error in LedgerSMB 1.4-b5

2014-02-21 Thread David Godfrey
Hi Chris, If I can ask, why are we appending a : to the path? On many systems this will cause a Bash or SH script to fail and it is certainly not LSB compliant. Regards David Godfrey On 22/02/14 08:50, Chris Travers wrote: My ledgersmb.conf contains the statement: PATH=/bin:/usr/bin:/u

Re: [Ledger-smb-users] setup.pl error in LedgerSMB 1.4-b5

2014-02-21 Thread Chris Travers
On Fri, Feb 21, 2014 at 10:29 AM, Paul Bente wrote: > On Feb 21, 2014 at 17:49 Erik Huelsmann wrote: > > >From your error report below, I conclude that you're missing the psql > >executable in your path. Does your system have a psql binary installed? > >(usually "locate psql" or "find / -name psq

Re: [Ledger-smb-users] setup.pl error in LedgerSMB 1.4-b5

2014-02-21 Thread Paul Bente
On Feb 21, 2014 at 17:49 Erik Huelsmann wrote: >From your error report below, I conclude that you're missing the psql >executable in your path. Does your system have a psql binary installed? >(usually "locate psql" or "find / -name psql" will find files for you) > >If you don't have psql, you prob

Re: [Ledger-smb-users] setup.pl error in LedgerSMB 1.4-b5

2014-02-21 Thread Paul Bente
Further investigation. I wonder if setup.pm can not find the postgresql extensions. Using PgAdmin3 to look at the databases I noticed that the 1.3.37 database has the btree_gist, pg_trgm, tablefunc, and plpgsql extensions installed while the databases created by 1.4-b5 have only plpgsql. In my

Re: [Ledger-smb-users] setup.pl error in LedgerSMB 1.4-b5

2014-02-21 Thread Erik Huelsmann
Hi Paul, >From your error report below, I conclude that you're missing the psql executable in your path. Does your system have a psql binary installed? (usually "locate psql" or "find / -name psql" will find files for you) If you don't have psql, you probably don't have the postgresql client pro

Re: [Ledger-smb-users] setup.pl error in LedgerSMB 1.4-b5

2014-02-21 Thread Paul Bente
Thank you, Erik. On Fri, Feb 21 at 08:24 Erik Huelsmann wrote: >The loader procedure through setup.pm creates log files in /tmp/ledgersmb. >There you can find the regular and error output from the loader process. >Maybe there's an indication there why the base schema fails to load on your >Postgr

Re: [Ledger-smb-users] setup.pl error in LedgerSMB 1.4-b5

2014-02-21 Thread Erik Huelsmann
Hi Paul, On Fri, Feb 21, 2014 at 4:17 AM, Paul Bente wrote: > Chris- > Thank you for the suggestion. > > I tried two approaches and in both cases the base schema failed to load. > > The loader procedure through setup.pm creates log files in /tmp/ledgersmb. There you can find the regular and erro

Re: [Ledger-smb-users] setup.pl error in LedgerSMB 1.4-b5

2014-02-20 Thread Paul Bente
Chris- Thank you for the suggestion. I tried two approaches and in both cases the base schema failed to load. 1. I inserted ‘use Carp::Always’ at line 30 in setup.pm and ran http://locallhost/ledgersmb/setup.pl in the browser as before. Generated the same error. The apache error log for the se

Re: [Ledger-smb-users] setup.pl error in LedgerSMB 1.4-b5

2014-02-19 Thread Chris Travers
Hi Paul; That's really strange. I tried to reproduce and couldn't. If you have Carp::Always installed you can modify the LedgerSMB/Scripts/ setup.pm and add the following line: use Carp::Always; Then your error message will be complete with a full stack trace, which might enable us to narrow d

[Ledger-smb-users] setup.pl error in LedgerSMB 1.4-b5

2014-02-19 Thread Paul Bente
Trying to install 1.4-b5 following the instructions in ledgersmb/INSTALL to use setup.pl to create a database. I had a working ledgersmb-1.3.37 on Mac OS X 10.6, PostgreSQL 9.1.9, apache 2.2.22, Perl 5.8.9. Moved that ledgersmb directory to a backup and installed ledgersmb-1.4-b5 into directory