On Thu, Jul 23, 2009 at 5:25 PM, Krishnakantkrmane@gmail.com wrote:
hello all, I created the much awaited deb packages for GNUKhata. thy are right now available at http://kk.hipatia.net/public/gnukhata/ (/ at the end needs to be included ).
I am facing a few problems as this is actually the very first time that I am building deployment quality deb packages.
Right now the way those packages are built, I am sure that they only work on ubuntu 9.04 or perhaps the latest debian.
I am setting up Ubuntu 9.04 on my system. Will give gnukhata deb files a try once I get some time.
Firstly GNUKhata is not a c program but an interprited python based application. So daemonising it is alltogether a different ball game.
What is different in daemonising a python program from a C program?
Secondly, if some one could help out in the deb and rpm (deb on priority ), then I would also like to know if there is a way out to write some code that automates the setup completely?
For example on any distro the server deb package should first check for dependencies and install them if necessary, then create the gnukhata user, which is dedicated to run the gnukhata application server. Then the deb file should also generate the basic database and add the necessary tables.
Is this possible to do with a deb file?
I am not sure but it sounds to me as if you need to rum a post install script. See http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html#s-maintscripts
I am sure then we can easily make an rpm by even using alien or some other software.
Tried build.opensuse.org? It should allow you to build and host various deb and rpm files for different distros.