From: Jason L. <jl...@me...> - 2002-10-19 05:43:07
|
I've done a bit of coding yesterday and today and I want to summarize what I've done... 1. general configuration management code (the middle layer) has been separated into a shared library (it had been part of gnome-client) config4gnu/src/libconfig4gnu 2. created a PHP extension in src/clients/php. It is a shared object, with wrapper functions to convert PHP calls into Config4GNU calls. It allows a person to write a PHP script that can access Config4GNU. Please examine the PHP.txt file that's in the doc subdirectory of the source tree for information regarding the PHP extension. Location of PHP headers are hardcoded into the Makefile, so if you can't compile check here first. If you try this out and have difficulty, please let me know how you fare. Also if you have comments.... -- Compiling and running Config4GNU To run Config4GNU you must `make install' but you may not want to install to /usr/local. Here's what I do on my system: ./autogen.sh --prefix=/tmp/c4g make make install To run the program you must run from the src/clients/gnome-client directory, since it looks for gnome-client.glade in the current directory. cd src/clients/gnome-client /tmp/c4g/bin/gnome-client Best of luck Jason Long |