Tuesday, May 18, 2010

Installing VMWare Tools 6.0 on Peppermint OS 2010.04.24

These are the problems I encountered during the installation of VMWare Tools 6.0 on a fresh install of Peppermint OS 2010.04.24.

A)  What is the location of the "gcc" program of your machine?

If the gcc compiler is missing, use the following command to install:

$ sudo apt-get install gcc

After the installation is finished, to find the location of gcc,
$ which gcc

Output:
/usr/bin/gcc

Answer:  What is the location of the "gcc" program of your machine?
/usr/bin/gcc


B) "What is the location the directory of C header files that match your running kernel?

The C header files are not found under /usr/src/linux/include which is the default path specified on the prompt.  Here's how you install the linux header files.

$ sudo apt-get install linux-headers-'uname -r' build-essential

replace 'uname -r' with what you get when you type:
$ uname -r
2.6.32-22-generic

The complete command:
$ sudo apt-get install linux-headers-2.6.32-22-generic build-essential

 After the installation is finished, the location of the directory of C header files for your kernel is at:
/usr/src/linux-headers-2.6.32-22-generic/include

Answer:  "What is the location the directory of C header files that match your running kernel?  /usr/src/linux-headers-2.6.32-22-generic/include

Tuesday, May 4, 2010

Solving the TOra 2.1.1 Missing Error Description

I recently got rid of my old TOra installation and replaced it with the newer TOra 2.1.1.  Every time I tried to connect to an Oracle database, I get a "Unable to connect to the database. ORA-27749784 missing error description." as shown below.









Solution:  
Delete the oci.dll in your TOra directory e.g. C:\Program Files\TOra.

I have Oracle 10g client installed on my desktop.  I believe TOra references the oci.dll in the Oracle Client's bin directory e.g. C:\oracle\product\10.2.0\client_1\BIN.  If you copy the oci.dll in this bin directory to the TOra directory, it will work the same way.

About TOra
http://www.torasql.com
TOra is an open-source multi-platform database management GUI that supports accessing most of the common database platforms in use, including Oracle, MySQL, and Postgres, as well as limited support for any target that can be accessed through Qt's ODBC support. TOra has been built for various Linux distributions, Mac OS X, MS Windows, and UNIX platforms [source: torasql.com].