Thanks Dieter,
It worked well. :)

But now when I try to created pg dataset through admin.pl I get
following error:

connectDBStart() -- socket() failed: errno=2
No such file or directory


I have installed Cygwin and postgresql.
Also ActivePerl on windows2000 + DBI + DBD-Pg.

Any ideas?

Thanks and regards,
saurabh


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Dieter
Simader
Sent: 18 June 2002 01:16
To: [EMAIL PROTECTED]
Subject: Re: [SL] for power users a minor problem, errors while
executingadmin.pl

> [Mon Jun 17 13:18:06 2002] [error] [client 127.0.0.1] Can't locate
> bin/mozilla/c:\EZPUBL~1\apache\htdocs\SQL-LE~1\login.pl in @INC (@INC
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This should be

bin/mozilla/login.pl and not include the full path.

You can fix this by changing the search key to locate the name of the
script.

add * $0 =~ tr/\\/\//; * in am.pl and login.pl to translate \ to /

############
# name of this script
$0 =~ tr/\\/\//;

$pos = rindex $0, '/';
$script = substr($0, $pos + 1);
###########


Dieter Simader    http://www.sql-ledger.org   (780) 472-8161
DWS Systems Inc.     Accounting Software       Fax: 478-5281
=========== On a clear disk you can seek forever ===========

On Mon, 17 Jun 2002, Saurabh Shah wrote:

> I m installing sql-ledger. But some problem while executing the script
> admin.pl:
> 
> [Mon Jun 17 13:18:06 2002] [error] [client 127.0.0.1] Premature end of
> script headers: c:/apache/htdocs/sql-ledger/login.pl
> 
> [Mon Jun 17 13:18:06 2002] [error] [client 127.0.0.1] Can't locate
> bin/mozilla/c:\EZPUBL~1\apache\htdocs\SQL-LE~1\login.pl in @INC (@INC
> contains: c:/Perl/lib c:/Perl/site/lib .) at
> c:\EZPUBL~1\apache\htdocs\SQL-LE~1\login.pl line 114.
> 
> As I think problem is in the settings or configuration of some path.
(as
> per second error msg.)
> 
> Please do help me. I tried to debug for 4 hrs but without success.
> 
> 
> 
> I m writing what I have already done:
> I installed Perl in windows and also DBI, DBD-Pg.
> I installed Postgre sql on cygwin.
> I added into httpd.conf: AddHandler cgi-script .pl
> Also changed the "perl path" in Sql-Ledger/login.pl etc..
> I checkd a simple .pl perl script is working fine.
> Uncommented 2 lines each in sql-ledger/bin/login.pl and
> sql-ledger/SL/Form.pm 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Martin
> Lillepuu
> Sent: 17 June 2002 11:58
> To: [EMAIL PROTECTED]
> Subject: Re: [SL] Apache for installation of sql-ledger : Apache other
> than packed with Cygwin possible?
> 
> �hel kenal p�eval (esmasp�ev, 17. juuni 2002 02:50) kirjutas Saurabh
> Shah:
> > Thanks Martin for your feedback. One more query
> >
> > ActivePerl should be installed under Cygwin (like: /perl) or under
> > windows (like c:\perl)  ??
> 
> windows
> 
> 



_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Listinfo https://lists.sourceforge.net/lists/listinfo/sql-ledger-users
Archive http://www.geocrawler.com/redir-sf.php3?list=sql-ledger-users



----------------------------------------------------------------------------
                   Bringing you mounds of caffeinated joy
                      >>>     http://thinkgeek.com/sf    <<<

_______________________________________________
Listinfo https://lists.sourceforge.net/lists/listinfo/sql-ledger-users
Archive http://www.geocrawler.com/redir-sf.php3?list=sql-ledger-users

Reply via email to