LedgerSMB
The foundation for your business
Fork me on GitHub
[ledgersmb-users] LedgerSMB 1.7.18 install of FreeeBSD-12.1p8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ledgersmb-users] LedgerSMB 1.7.18 install of FreeeBSD-12.1p8



I am attempting to install LedgerSMB from a tarball into a FreeBSD jail running
FBSD-12.1.p8.

I have Apache and Starman configured and running.  However, Starman reports
this error:

Error while loading /opt/ledgersmb/1.7.18/ledgersmb/bin/ledgersmb-server.psgi:
Can't locate LedgerSMB/PSGI.pm in @INC (you may need to install the
LedgerSMB::PSGI module) (@INC contains: /opt/ledgersmb/1.7.18/ledgersmb/bin/..
/usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30) at
/opt/ledgersmb/1.7.18/ledgersmb/bin/ledgersmb-server.psgi line 18.
BEGIN failed--compilation aborted at
/opt/ledgersmb/1.7.18/ledgersmb/bin/ledgersmb-server.psgi line 18.

[root@accounting-2 ~ (master)]# find / -name PSGI.pm
. . .
/opt/ledgersmb/1.7.18/ledgersmb/lib/LedgerSMB/PSGI.pm
/usr/local/lib/perl5/site_perl/CGI/Emulate/PSGI.pm
/usr/local/lib/perl5/site_perl/CGI/Parse/PSGI.pm
/usr/local/lib/perl5/site_perl/HTTP/Message/PSGI.pm
/usr/local/lib/perl5/site_perl/HTTP/Server/PSGI.pm
/usr/local/lib/perl5/site_perl/Plack/Handler/HTTP/Server/PSGI.pm
/usr/local/lib/perl5/site_perl/Net/Server/PSGI.pm

[root@accounting-2 ~ (master)]# perl -E 'say for @INC'
/usr/local/lib/perl5/site_perl/mach/5.30
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.30/mach
/usr/local/lib/perl5/5.30


I am not very familar with perl but it seems to me that I need to set PERL5LIB
to include /opt/ledgersmb/1.7.18/ledgersmb/lib/LedgerSMB.  But where do I set
this so that Starman picks it up?



-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:..hidden..
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3
_______________________________________________
users mailing list -- ..hidden..
To unsubscribe send an email to ..hidden..