From: Wallace R. C. <wrc...@gm...> - 2008-06-18 20:23:02
|
On Wed, Jun 18, 2008 at 11:43 AM, Rich Shepard <rsh...@ap...> wrote: ... > at SL/User.pm line 103 > Compilation failed in require at /usr/local/sql-ledger/login.pl line 85. > [Wed Jun 18 11:39:57 2008] [error] [client 127.0.0.1] Premature end of > script headers: /usr/local/sql-ledger/login.pl I've seen this error caused by something as simple as an M$-WinDoze(tm) text file (with carriage-return+linefeed sequences to terminate a line) on a Un*x (or Un*x-like, i.e., Linux) system, which expects only linefeeds terminating lines. If you edit your login.pl file with VIM (VI-iMproved), see what kind of format the file has. For example, when I edit a Un*x file, the status line on the bottom of the screen will indicate so: "blah.xml" [unix] [readonly] 445L, 17033C 92,6-41 18% To force the correct (Un*x) format of a non-Un*x file (on your Un*x system), use the following command in VIM: :set ff=unix Then save the file, & you're done. -- Best Regards, Wallace |