Hi,

I have attached a new ledgersmb.spec file, tested with the svn version 
on Fedora Core 6. It should replace the one in svn. The diff is bigger 
than the file...

To test it create a ledger-smb tar-ball (including the new spec), so 
that the version number in the spec matches the tarball name. Place the 
tar next to Class-Std-v0.0.8.tar.gz, Config-Std-v0.0.4.tar.gz and 
Locale-Maketext-Lexicon-0.62.tar.gz and execute "rpmbuild -ta 
ledger-smb-xxx.tar.gz". The rpm should contain the necessary parts of 
the dependencies mentioned above, and all other dependencies should 
automatically be installed from the Core archive when the rpm is 
installed with yum. That is how I suggest we solve the dependencies 
problem. (Thanks to Chris T for helping.)

"rpm -qi ledger-smb" should provide enough hints for an user to get an 
installation up'n'running.


Testing the package content shows that the svn currently is "work in 
progres".

In order to log in with users created in the admin pages I need to set 
dbconnect manually:
update users_conf set dbconnect='dbi:Pg:dbname=dk;host=localhost;port=5432'

A couple of fixes I need to be able to get anythin up'n'running:

--- a/ledger-smb-httpd.conf     Fri Nov 10 23:09:29 2006 +0100
+++ b/ledger-smb-httpd.conf     Fri Nov 10 23:26:41 2006 +0100
@@ -7,7 +7,7 @@ Alias /ledger-smb /some/path/to/ledger-s
   Options ExecCGI Includes FollowSymlinks
   Order Allow,Deny
   Allow from All
-  <Files ~ "*\.conf$">
+  <Files ~ "\.conf$">
     Order Deny,Allow
     Deny from All
   </Files>
diff -r e86cc9367394 ledger-smb.conf.default
--- a/ledger-smb.conf.default   Fri Nov 10 23:09:29 2006 +0100
+++ b/ledger-smb.conf.default   Fri Nov 10 23:26:41 2006 +0100
@@ -47,6 +47,6 @@ Epson      = lpr -PEpson
 [globaldb]
 # These paramaters *must* be set correctly
 # for LedgerSMB >= 1.2 to work
-DBConnect  = dbi:Pg:dbname=ledgersmb;host=localhost;port5432
-UserName   = ledgersmb
-Password   = set me to correct password
+DBConnect  = dbi:Pg:dbname=ledgersmb;host=localhost;port=5432
+DBUserName = ledgersmb
+DBPassword = set me to correct password


Still, things keeps crashing around me, so I haven't been able to do 
anything in the application yet.


/Mads

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Ledger-smb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel

Reply via email to