The KDE Oracle Sql Communicator can be found on ftp://ftp.kde.org/pub/kde/unstable/apps/database, the main ftp site of the KDE project or at my homepage.
In order to successfully compile the KOra client, you need to have the KDE and Qt 1.44 installed. If you want to run the KOra server on your machine, you also need Oracle 7.x or 8.x.
In order to compile and install the KDE Oracle Sql Communicator on your system you have to the following things:
1) Decide if you want the KOra Client.
So go to the client directory below the base directory. There you can type the following commands:
$ ./configure
$ make
$ make install
2) Decide if you want the KOra Server.
So go to the server directory below the base directory. There you can type the following commands:
$ ./configure
$ make
$ make install
While compiling Server and/or client you shouldn't run into problems. In case of problems you can contact me.
Now you have installed the KDE Oracle Sql Communicator. In order to establish a communication between KOra server and client we have to do a few configuration steps.
If you have installed client and server on the
same machine, probably you can run KOra without configuring anything. Only
be sure the port 4711 isn't used.
In this case start the KOra Server (koras) and then the KOra client (kora).
If you want to start the KOra server allways, it's a good idea to do that
in the machine startup.
But if client and server are on different machines,
or the local port 4711 is allready used, we have to change the default
configuration of KOra.
You can do this for all sessions or only for your session. If you want
to do that for all sessions you have to edit the files /etc/koras
(for the server) and /etc/kora (for the client). If you want to
do the changes only to your session, copy this files to your HOME directory
and rename them to .koras and .kora.
The server file looks like this:
PORT=4711
Change the port to a number that is still unused. So you can use it for the KOra communication.
The client file looks like this:
HOST=localhost
PORT=4711
Change the host name to the name of the machine where the KOra server is running. The port number is to change to the same number that is used for the server.
Now KOra is configured and ready for use. Don't forget to start the server before starting the client. Or you won't be able to communicate with your Oracle database.