特殊:Badtitle/NS100:TOraOracleSetUpHowTo:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第41行: | 第41行: | ||
</nowiki></pre> | </nowiki></pre> | ||
==== Compiling tOra from Source ==== | ==== Compiling tOra from Source ==== | ||
<ol><li>Download the latest version of tOra from http://tora.sourceforge.net/ | |||
</li><li>Explode the tarball into a directory of your choice (I will assume /tmp/tora hereafter). | |||
</li><li>From tOra's INSTALL documentation:</li></ol> | |||
<pre><nowiki> | <pre><nowiki> | ||
Before you try to compile TOra you will need the following prerequisites: | Before you try to compile TOra you will need the following prerequisites: | ||
第58行: | 第59行: | ||
</nowiki></pre> | </nowiki></pre> | ||
==== Hoary-Specific requirements ==== | ==== Hoary-Specific requirements ==== | ||
<ol><li>In order to build, you will need the development packages for libqt. The correct package for this install is '''libqt3-mt-dev''', the multi-threaded libraries for Qt. Any other libqt*-dev package will not provide you with MySQL and [[UbuntuHelp:PostgreSQL|PostgreSQL]] after installation. | |||
</li><li>Here are some additional things I did (at this point) in my environment as a bit of trial-and-error. I don't know if these have any sway in the end-result, so feel free to experiment and add your results.</li></ol> | |||
* Downloaded and installed the libmysqlclient12-dev package. | * Downloaded and installed the libmysqlclient12-dev package. | ||
* Downloaded and installed the postgresql-dev package. | * Downloaded and installed the postgresql-dev package. | ||
* I had set ORACLE_HOME and TNS_ADMIN in my environment during configure and make. | * I had set ORACLE_HOME and TNS_ADMIN in my environment during configure and make. | ||
* I also ignored the tOra INSTALL doc and added /usr/local/oracle/instantclient_10_2 to my LD_LIBARY_PATH. | * I also ignored the tOra INSTALL doc and added /usr/local/oracle/instantclient_10_2 to my LD_LIBARY_PATH. | ||
<ol><li>Using '''libqt3-mt-dev''' on my system, configure will blow itself up looking for qt libraries to link with. I could not find the right combination of --with-qt-* parameters to force the configure script to use the multi-threaded libs, so I patched the script directly. So Step #2 is copy and paste the below code into a file, I'll call it: /tmp/tora/configure.pl.diff.</li></ol> | |||
===== configure.pl.diff ===== | ===== configure.pl.diff ===== | ||
<pre><nowiki> | <pre><nowiki> | ||
第92行: | 第95行: | ||
> kdoc -n $ProgramName -d help/api \$^ -lqt-mt -lkdeui -lkhtml | > kdoc -n $ProgramName -d help/api \$^ -lqt-mt -lkdeui -lkhtml | ||
</nowiki></pre> | </nowiki></pre> | ||
<ol><li>Save the file. Then patch configure with the following command (in the /tmp/tora dir):</li></ol> | |||
<pre><nowiki> | <pre><nowiki> | ||
patch -p0 configure.pl configure.pl.diff | patch -p0 configure.pl configure.pl.diff | ||
</nowiki></pre> | </nowiki></pre> | ||
<ol><li>Now configure, make, and make install. (Note, this will install everything in their respective dirs in /usr. Your regular --prefix, --prefix-bin, and --prefix-lib will do the trick in configure if you want to install elsewhere.</li></ol> | |||
<pre><nowiki> | <pre><nowiki> | ||
./configure | ./configure | ||
make && make install | make && make install | ||
</nowiki></pre> | </nowiki></pre> | ||
<ol><li>Once that's completed (and it takes a surprisingly long time), make sure your environment variables are set correctly (TNS_ADMIN, in particular), and run tOra.</li></ol> | |||
<pre><nowiki> | <pre><nowiki> | ||
tora & | tora & |
2007年12月6日 (四) 15:45的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/tOraOracleSetUpHowTo }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/af | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|Afrikaans| [[::TOraOracleSetUpHowTo/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/ar | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|العربية| [[::TOraOracleSetUpHowTo/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/az | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|azərbaycanca| [[::TOraOracleSetUpHowTo/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/bcc | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|جهلسری بلوچی| [[::TOraOracleSetUpHowTo/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/bg | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|български| [[::TOraOracleSetUpHowTo/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/br | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|brezhoneg| [[::TOraOracleSetUpHowTo/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/ca | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|català| [[::TOraOracleSetUpHowTo/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/cs | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|čeština| [[::TOraOracleSetUpHowTo/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/de | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|Deutsch| [[::TOraOracleSetUpHowTo/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/el | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|Ελληνικά| [[::TOraOracleSetUpHowTo/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/es | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|español| [[::TOraOracleSetUpHowTo/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/fa | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|فارسی| [[::TOraOracleSetUpHowTo/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/fi | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|suomi| [[::TOraOracleSetUpHowTo/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/fr | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|français| [[::TOraOracleSetUpHowTo/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/gu | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|ગુજરાતી| [[::TOraOracleSetUpHowTo/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/he | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|עברית| [[::TOraOracleSetUpHowTo/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/hu | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|magyar| [[::TOraOracleSetUpHowTo/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/id | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|Bahasa Indonesia| [[::TOraOracleSetUpHowTo/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/it | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|italiano| [[::TOraOracleSetUpHowTo/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/ja | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|日本語| [[::TOraOracleSetUpHowTo/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/ko | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|한국어| [[::TOraOracleSetUpHowTo/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/ksh | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|Ripoarisch| [[::TOraOracleSetUpHowTo/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/mr | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|मराठी| [[::TOraOracleSetUpHowTo/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/ms | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|Bahasa Melayu| [[::TOraOracleSetUpHowTo/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/nl | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|Nederlands| [[::TOraOracleSetUpHowTo/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/no | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|norsk| [[::TOraOracleSetUpHowTo/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/oc | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|occitan| [[::TOraOracleSetUpHowTo/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/pl | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|polski| [[::TOraOracleSetUpHowTo/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/pt | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|português| [[::TOraOracleSetUpHowTo/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/ro | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|română| [[::TOraOracleSetUpHowTo/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/ru | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|русский| [[::TOraOracleSetUpHowTo/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/si | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|සිංහල| [[::TOraOracleSetUpHowTo/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/sq | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|shqip| [[::TOraOracleSetUpHowTo/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/sr | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|српски / srpski| [[::TOraOracleSetUpHowTo/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/sv | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|svenska| [[::TOraOracleSetUpHowTo/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/th | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|ไทย| [[::TOraOracleSetUpHowTo/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/tr | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|Türkçe| [[::TOraOracleSetUpHowTo/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/vi | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|Tiếng Việt| [[::TOraOracleSetUpHowTo/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/yue | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|粵語| [[::TOraOracleSetUpHowTo/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/zh | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|中文| [[::TOraOracleSetUpHowTo/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/zh-hans | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|中文(简体)| [[::TOraOracleSetUpHowTo/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:tOraOracleSetUpHowTo | UbuntuHelp:tOraOracleSetUpHowTo | {{#if: | :}}TOraOracleSetUpHowTo}}/zh-hant | • {{#if: UbuntuHelp:tOraOracleSetUpHowTo|中文(繁體)| [[::TOraOracleSetUpHowTo/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:tOraOracleSetUpHowTo|:TOraOracleSetUpHowTo|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :TOraOracleSetUpHowTo/zh | | {{#ifexist: TOraOracleSetUpHowTo/zh | | {{#ifeq: {{#titleparts:TOraOracleSetUpHowTo|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:TOraOracleSetUpHowTo|1|-1|}} | zh | | }}
Installing tOra with Oracle Support
I couldn't find an appropriate page specific to Ubuntu for installing tOra and having Oracle support built-in for usage. If you install tOra for Debian or Hoary, you'll only get the MySQL and PostgreSQL connectors. After hacking away a bit at the problem, I came up with a somewhat ok solution. Much of this How-To will be built around the INSTALL included in the tora-1.3.16 (latest at this time of writing) distribution. Much of this will be copied word-for-word until the Hoary-specific instructions below.
Installing Oracle InstantClient
From tOra's INSTALL documentation:
Documented steps tested on Debian linux (testing). It should work on other Linux distributions, but some (system) filenames may differ. 1) Oracle instant client Download client (http://www.oracle.com/technology/software/tech/oci/instantclient/index.html) choose your platform (linux x86) and then you download "Instant Client Package - Basic", "Instant Client Package - SQL*Plus", "Instant Client Package - SDK". Because Debian does not use rpm packages, I used zip archives. After unzip in appropriate directory (/usr/local/oracle/instantclient10_1) you need this step to do (some as root, some as oracle user): a) edit /etc/ld.so.conf (add /usr/local/oracle/instantclient10_1) b) in /usr/local/oracle/instantclient10_1 create symbolic link: ln -s libclntsh.so.10.1 libclntsh.so c) run ldconfig d) provide tnsnames.ora e) create dir bin (/usr/local/oracle/instantclient10_1/bin) and symbolic link to sqlplus in bin: (ln -s ../sqlplus) Apart Oracle's documentation, you do not need to set LD_LIBRARY_PATH. Test connection using sqlplus. When succesfull, set environment variables for users, who will compile tora and use tora: ORACLE_HOME=/usr/local/oracle/instantclient10_1 TNS_ADMIN=<path_to_dir_where_is_tnsnames.ora>
Things to note:
- Oracle is now on 10.2, so your instant client downloads should be in the form of instantclient_10_2.
- I also ran (in the instantclient directory):
sudo ln -s libocci.so.10.1 libocci.so
Compiling tOra from Source
- Download the latest version of tOra from http://tora.sourceforge.net/
- Explode the tarball into a directory of your choice (I will assume /tmp/tora hereafter).
- From tOra's INSTALL documentation:
Before you try to compile TOra you will need the following prerequisites: 1. A unix system which supports Qt. 2. Qt 2.2 or later. Requires an interface compiler of at least version 3.0. 3. Oracle 8i (At least Oracle 8.1.5), it might work partially with earlier versions of Oracle but is as of this version not supported (Please try and send me patches). 4. PERL 5. 5. GNU Make. Thats about it, you should be set to start trying.
Hoary-Specific requirements
- In order to build, you will need the development packages for libqt. The correct package for this install is libqt3-mt-dev, the multi-threaded libraries for Qt. Any other libqt*-dev package will not provide you with MySQL and PostgreSQL after installation.
- Here are some additional things I did (at this point) in my environment as a bit of trial-and-error. I don't know if these have any sway in the end-result, so feel free to experiment and add your results.
- Downloaded and installed the libmysqlclient12-dev package.
- Downloaded and installed the postgresql-dev package.
- I had set ORACLE_HOME and TNS_ADMIN in my environment during configure and make.
- I also ignored the tOra INSTALL doc and added /usr/local/oracle/instantclient_10_2 to my LD_LIBARY_PATH.
- Using libqt3-mt-dev on my system, configure will blow itself up looking for qt libraries to link with. I could not find the right combination of --with-qt-* parameters to force the configure script to use the multi-threaded libs, so I patched the script directly. So Step #2 is copy and paste the below code into a file, I'll call it: /tmp/tora/configure.pl.diff.
configure.pl.diff
278c278 < my $QtSearch="libqt(?:-mt)?"; --- > my $QtSearch="libqt-mt"; 681c681 < ($lib,$QtLibShared)=($file=~/^(.*)\/lib(qt(?:-mt)?3?)[^\/]*$/); --- > ($lib,$QtLibShared)=($file=~/^(.*)\/lib(qt3?-mt)[^\/]*$/); 718c718 < ($QtLibShared)=($_[0]=~/\/lib(qt(?:-mt)?3?)[^\/]*$/); --- > ($QtLibShared)=($_[0]=~/\/lib(qt3?-mt)[^\/]*$/); 901c901 < findFile("^libqt(-mt)?3\\.a",sub { --- > findFile("^libqt3?-mt\\.a",sub { 923c923 < findFile("^libqt(-mt)?\\.a",sub { --- > findFile("^libqt-mt\\.a",sub { 1529c1529 < kdoc -n $ProgramName -d help/api \$^ -lqt -lkdeui -lkhtml --- > kdoc -n $ProgramName -d help/api \$^ -lqt-mt -lkdeui -lkhtml
- Save the file. Then patch configure with the following command (in the /tmp/tora dir):
patch -p0 configure.pl configure.pl.diff
- Now configure, make, and make install. (Note, this will install everything in their respective dirs in /usr. Your regular --prefix, --prefix-bin, and --prefix-lib will do the trick in configure if you want to install elsewhere.
./configure make && make install
- Once that's completed (and it takes a surprisingly long time), make sure your environment variables are set correctly (TNS_ADMIN, in particular), and run tOra.
tora &
Test Your Install
Once you've completed and tOra is loaded, check your upper left hand corner of the "New Connection" window. In the drop-down, you should have Oracle listed and if everything went swimmingly, you should have MySQL and PostgreSQL as well. BTW, if something went horribly wrong, a dialog will come up saying something to the effect of "No connectors provided." And then tOra will die a horrible death.
Uninstallation
If you need to uninstall tOra, uninstall is a valid make target and does do what it implies. So if something goes wrong and you just want to reverse the damage done, type:
make uninstall