|
From: Andrew N. <ane...@ya...> - 2002-01-11 00:22:09
|
I am attempting to install SQL Ledger 1.8.1 on Win32. Cygwin, Postgres, Apache all seem OK. The instructions tell me to access .../sql-ledger/admin.pl to connect to a database. However, admin.pl does not exist in the sql-ledger/ directory. Only scripts there are login.pl and am.pl. there is an admin.pl in .../mozilla/bin, but this has no #! on the first line and thus does not appear to be coded to be called directly. I had to modify login.pl as it does not seem to parse Win32 paths correctly, and this may have prevented it from calling /mozilla/bin/admin.pl, but I may be totally off base with this. I can't log in. I could set up the members file by hand if I could work out its format, but I'd prefer to avoid working backward from the Perl code if possible. Can someone please explain - or possibly post an example members file so that I can set up manually. Does anyone have any good web resources on using DBD::Pg with Cygwin and ActivePerl? I'm getting "file not found" errors on the postgres socket connect when I try to connect to my SQL-ledger DB with my own program. TIA Andrew __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ |
|
From: Martin L. <ma...@li...> - 2002-01-11 03:06:12
|
=DChel kenal p=E4eval (reede, 11. jaanuar 2002 02:22) kirjutasid sa: > I am attempting to install SQL Ledger 1.8.1 on Win32. > > Cygwin, Postgres, Apache all seem OK. > > The instructions tell me to access > > .../sql-ledger/admin.pl to connect to a database. > > However, admin.pl does not exist in the sql-ledger/ > directory. Only scripts there are login.pl and am.pl. > > there is an admin.pl in .../mozilla/bin, but this has > no #! on the first line and thus does not appear to be > coded to be called directly. you must just fix paths issue and change #!/usr/bin/perl to eq.=20 #!c:/perl/bin/perl.exe in am.pl and copy am.pl in place of all symlinks.=20 > I had to modify login.pl as it does not seem to parse > Win32 paths correctly, and this may have prevented it > from calling /mozilla/bin/admin.pl, but I may be > totally off base with this. yes, i think you'll need to call mozilla\bin\admin.pl instead. I've written small guide about setting up sql-ledger in w2k. It was writt= en=20 for some 1.4.x version, but most of it should still apply: http://lillepuu.com/txt/sql-ledger_win2k.txt --=20 Martin Lillepuu | e-mail: ma...@li... | gsm: +372 515 6450 |
|
From: Sergio A. K. <ser...@ho...> - 2002-01-11 03:12:33
|
there IS a ./sql-ledger/admin.pl, but is a symlink to ./sql-ledger/bin/mozilla/admin.pl but AFAIK win32 doesn't support symlinks... anyway, I don't think you will get a reliable & robust sql-ledger system on win32... my best advice would be to install a linux distro like mandrake or redhat that are easy to install and come with all the software sql-ledger needs. (ie. redhat 7.2 come with pgsql, perl-DBI, perl-DBD-Pg, apache & perl) /sergio ----- Original Message ----- From: "Andrew Nerlich" <ane...@ya...> > I am attempting to install SQL Ledger 1.8.1 on Win32. > > Cygwin, Postgres, Apache all seem OK. > > The instructions tell me to access > > .../sql-ledger/admin.pl to connect to a database. > > However, admin.pl does not exist in the sql-ledger/ > directory. Only scripts there are login.pl and am.pl. > > there is an admin.pl in .../mozilla/bin, but this has > no #! on the first line and thus does not appear to be > coded to be called directly. > > I had to modify login.pl as it does not seem to parse > Win32 paths correctly, and this may have prevented it > from calling /mozilla/bin/admin.pl, but I may be > totally off base with this. > > I can't log in. I could set up the members file by > hand if I could work out its format, but I'd prefer to > avoid working backward from the Perl code if possible. > > Can someone please explain - or possibly post an > example members file so that I can set up manually. > > Does anyone have any good web resources on using > DBD::Pg with Cygwin and ActivePerl? I'm getting "file > not found" errors on the postgres socket connect when > I try to connect to my SQL-ledger DB with my own > program. > > TIA |
|
From: Andrew N. <ane...@ya...> - 2002-01-11 04:12:08
|
Sorry Sergio, accidentally sent to Sergio only by mistake. resent here. --- "Sergio A. Kessler" <ser...@ho...> wrote: > there IS a ./sql-ledger/admin.pl, but is a symlink > to ./sql-ledger/bin/mozilla/admin.pl > but AFAIK win32 doesn't support symlinks... > > anyway, I don't think you will get a reliable & > robust > sql-ledger system on win32... > The web page for sql-ledger says nothing of this. It indicates Win32 is a viable target platform. If anyone can confirm this is incorrect, I'll stop right now and waste no more of our time. I am reasonably experienced with Linux, and Perl (on Unix and Win32) with DBI and CGI. But I seek a system that will work on both platforms. > my best advice would be to install a linux distro > like mandrake or redhat that are easy to install > and come with all the software sql-ledger needs. > (ie. redhat 7.2 come with pgsql, perl-DBI, > perl-DBD-Pg, > apache & perl) > I CAN do Linux. I run Mandrake 8.0 at home with postgres and Apache. I WANT to do Win32. TIA for any advice Andrew __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ |
|
From: Andrew S. <an...@ne...> - 2002-01-11 07:51:06
|
"Sergio A. Kessler" wrote: > > there IS a ./sql-ledger/admin.pl, but is a symlink > to ./sql-ledger/bin/mozilla/admin.pl > but AFAIK win32 doesn't support symlinks... Sure it does, they just call them "shortcuts" (because they are morons). > anyway, I don't think you will get a reliable & robust > sql-ledger system on win32... Sure you can. You just have to want it real bad. but I don't condone such activities. > my best advice would be to install a linux distro > like mandrake or redhat that are easy to install > and come with all the software sql-ledger needs. > (ie. redhat 7.2 come with pgsql, perl-DBI, perl-DBD-Pg, > apache & perl) a |
|
From: Eric M. <em...@ra...> - 2002-01-11 13:51:26
|
Andrew Sharp wrote: > > "Sergio A. Kessler" wrote: > > > > but AFAIK win32 doesn't support symlinks... > > Sure it does, they just call them "shortcuts" (because they are > morons). > Not exactly the same thing ;-) |
|
From: Andrew S. <an...@ne...> - 2002-01-11 19:11:10
|
Eric Mercer wrote: > > Andrew Sharp wrote: > > > > "Sergio A. Kessler" wrote: > > > > > > but AFAIK win32 doesn't support symlinks... > > > > Sure it does, they just call them "shortcuts" (because they are > > morons). > > > > Not exactly the same thing ;-) Heh. Well, no. But close as it gets, I suppose. Just don't be dim and try and edit a shortcut file directly. But I've used them successfully instead of symlinks on many occassions, and, contrary to what some believe, they will work in cases not involving the UI. NTFS, which is what we have to deal with going forward, doesn't support symlinks either, but it does have something called "juntion points" which is essentially a symlink to a directory. Regular files don't get the priviledge yet, to my knowledge. a |
|
From: Bryan J. S. <b.j...@ie...> - 2002-01-11 20:02:06
|
Andrew Sharp wrote: > Heh. Well, no. But close as it gets, I suppose. Just don't > be dim and try and edit a shortcut file directly. But I've > used them successfully instead of symlinks on many occassions, > and, contrary to what some believe, they will work in cases not > involving the UI. Yo! Original NT 3.1 beta-tester here ... Microsoft delivered a "bare boned" POSIX layer in NT 3.1+. Someone ported the "ln" command over (along with others). Sure enough, use of it basically destroyed your NTFS volume very quickly (or it became "difficult" to delete things). Through NT 4.0, I didn't see any improvement. The utilities were available on the Resource Kits. > NTFS, which is what we have to deal with going forward, doesn't > support symlinks either, but it does have something called "juntion > points" which is essentially a symlink to a directory. Regular > files don't get the priviledge yet, to my knowledge. Man of us early NT adopters suggested that Microsoft start mounting all fixed disk volumes into subdirectories on drive C: (with "C:" being like /), ala UNIX-like, but maintaining driver letter compatibility. This was only for fixed disks -- e.g., floppy would stay A:, CD could be whatever, etc... Microsoft said it would just "confuse people" and they believed the combination of "shared volumes" and shortcuts would do the same. Of course they didn't seem to be on the same page as the rest of us. After years of supporting NT (1992-1999), I finally chucked it on all the networks I support, just because I find UNIX/Linux much easier to manage (Linux has been "desktop ready" since 1999 IMHO). I _refuse_ to use it as a server, and _barely_ support it as a workstation. So, I haven't done much NT hacking since late 1998**. If you have any info on "junction points," I'd like to hear more about them. -- Bryan **NOTE: I've been a 100% Linux guy for almost 3 years, but I have started running Windows XP Professional at home for 2 programs (both games). So if you know how to use "junction points" under XP, please let me know. I consider Windows XP Professional to be "one step forward" (more reliabile than DOS-based Win9x/ME, but nearly as application compatible), and "one step back" (less secure than NT-based WinNT/2000, because of the Win9x/ME application compatibility's "NT kernel hacks"). -- Bryan J. Smith, Engineer mailto:b.j...@ie... AbsoluteValue Systems, Inc. http://www.linux-wlan.org SmithConcepts, Inc. http://www.SmithConcepts.com |