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

Re: getopt: illegal option -- l when trying to run prepare-company-database.sh on BSD



I can offer my recent experience of ..hidden..  http://www.ledgersmb.org/help/install/FreeBSD_Install_LedgerSMB_1.3.x.html

Regards,
Yuriy


From: Mikkel HÃgh <..hidden..>
To: ..hidden..
Sent: Wednesday, March 21, 2012 12:16 PM
Subject: [Ledger-smb-users] getopt: illegal option -- l when trying to run prepare-company-database.sh on BSD

I have a FreeBSD 9.1 server that I've been trying to set up LSMB on, but Iâve hit a snag. When I run the script to configure the database, I get this error:


(..hidden..) (27/pts/2/1) (/usr/local/ledgersmb)                                                                                     
% sudo tools/prepare-company-database.sh --company reveal --pgsql-contrib /usr/local/share/postgresql/extension                           
getopt: illegal option -- l

I can only assume it's because the script uses a GNU-specific option to getopt.

Why are these scripts not written in Perl? Thought it was the perfect language for this kind of thing â and more portable :)

--
Kind regards,

Mikkel HÃgh <..hidden..>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users