Installing TOra with Oracle support on Ubuntu 8.04LTS (Hardy Heron)

Posted in: Technical Track

The situation is this. I am a system administrator working in a world of DBAs. This is not a bad thing, but sometimes tasks crossover and I need to connect to Oracle. In light of this, I have been using the Oracle SQL Developer GUI in KDE for some time now.

While the functionality of the product is quite slick I find it painful to work with. The major source of my pain is the slow interface due to its dependence on Java. I mean seriously, the screen refreshes are abysmal. I found that the more I used it, the more I needed a lighter, faster alternative.

One day a while back, I noticed that the boss was running TOra. He’s more of a DBA than I am, and I tend to trust his opinion on such things, so I asked him about it. He told me it was quite good, and so I decided I should try it out. I installed it on my Kubuntu desktop, fired it up, and much to my chagrin, found that it had no Oracle support. A bit of digging turned up that Oracle support was not included in the Debian package.

I had to do something about it. A bit more research brought me to some useful sites, a couple of which I will reference later, but after going through the process, I found that none of them had all the bits together in one nifty package. This is an attempt to change that.

After bouncing back and forth on some of these steps, fixing environment issues, decoding compiler errors, and generally fiddling, I went back to my notes and terminal histories and figured out what I feel is the best order for the process. This is the streamlined version of maybe two hours of fiddling. I hope it will help someone avoid the pitfalls (there are 8-bit crocodiles below!).

And so I humbly present to you . . .

Installing TOra with Oracle support on Ubuntu 8.04LTS (Hardy Heron)

Environment

Based on a 32-bit install of Ubuntu 8.04 LTS using the Oracle 11 clients. AMD 3200+ processor with 1GB of RAM and a bizarre assortment of franken-hardware.

I could have done this on 8.10 but I prefer to stick to the long term support releases. I may try it on my 8.10 laptop at a later date and update the guide.

Conventions

  • I use sudo for everything because logging in to root shells is just bad practice.
  • I plug vi whenever possible, mostly to annoy emacs people.
  • I did this all in a KDE desktop, which means that some things I say may sound like I use KDE.
  • Commands issued are in pre-formatted text without any prompt gunk in front of them, so cut and paste to your hearts content.
  • Output is also in pre-formatted text and I use it sparingly where relevant. No one needs to see the list of packages that apt-get wants to autoremove, nor how many updates I should be installing.

Get the packages

Find an acceptable build location in your filesystem, cd to there and then get the tora source deb package.

sudo apt-get source tora

Get the Oracle client RPMs from the Oracle 11 client download page. All the packages you need are on one page, but you need a log-in to get them. Accounts are free. The files we want are:

  • oracle-instantclient11.1-basiclite-11.1.0.7.0-1.i386.rpm
  • oracle-instantclient11.1-devel-11.1.0.7.0-1.i386.rpm
  • oracle-instantclient11.1-sqlplus-11.1.0.7.0-1.i386.rpm

Install the prerequisites and development libraries

Install alien and all the dependencies that this build will need to work. Alien is a cool little tool for converting .rpm to .deb files and more.

sudo apt-get install libqt3-mt-dev libqt3-compat-headers libqscintilla-dev build-essential g++ gcc autoconf automake flex zlib1g-dev docbook-xsl debhelper alien libaio1 dpatch

This will install a lot of other dependencies, just go with it.

If you want to build with KDE support then do the following (having never done this without the KDE support, I’m not really sure what the differences are (perhaps someone can enlighten me in a comment).

sudo apt-get install kdebase-dev

This will probably install even more dependencies than above, but hey, you’ve come this far. Now that we have all the prerequisites in place, let’s get Oracle installed.

Change directory to where you downloaded the Oracle RPMs.

cd oracle
ls -al
total 18912
drwxr-xr-x 2 root   root       4096 2008-12-10 00:35 .
drwxr-xr-x 4 domito domito     4096 2008-12-10 07:58 ..
-rw-r--r-- 1 root   root   17958287 2008-12-10 00:28 oracle-instantclient11.1-basiclite-11.1.0.7.0-1.i386.rpm
-rw-r--r-- 1 root   root     578817 2008-12-10 00:27 oracle-instantclient11.1-devel-11.1.0.7.0-1.i386.rpm
-rw-r--r-- 1 root   root     782162 2008-12-10 00:27 oracle-instantclient11.1-sqlplus-11.1.0.7.0-1.i386.rpm

Now we are going to convert them to .deb and install them all in one shot.

sudo alien -i *.rpm

The output will look like this.

        dpkg --no-force-overwrite -i oracle-instantclient11.1-basiclite_11.1.0.7.0-2_i386.deb
Selecting previously deselected package oracle-instantclient11.1-basiclite.
(Reading database ... 172382 files and directories currently installed.)
Unpacking oracle-instantclient11.1-basiclite (from oracle-instantclient11.1-basiclite_11.1.0.7.0-2_i386.deb) ...
Setting up oracle-instantclient11.1-basiclite (11.1.0.7.0-2) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
        dpkg --no-force-overwrite -i oracle-instantclient11.1-devel_11.1.0.7.0-2_i386.deb
Selecting previously deselected package oracle-instantclient11.1-devel.
(Reading database ... 172399 files and directories currently installed.)
Unpacking oracle-instantclient11.1-devel (from oracle-instantclient11.1-devel_11.1.0.7.0-2_i386.deb) ...
Setting up oracle-instantclient11.1-devel (11.1.0.7.0-2) ...
        dpkg --no-force-overwrite -i oracle-instantclient11.1-sqlplus_11.1.0.7.0-2_i386.deb
Selecting previously deselected package oracle-instantclient11.1-sqlplus.
(Reading database ... 172446 files and directories currently installed.)
Unpacking oracle-instantclient11.1-sqlplus (from oracle-instantclient11.1-sqlplus_11.1.0.7.0-2_i386.deb) ...
Setting up oracle-instantclient11.1-sqlplus (11.1.0.7.0-2) ...

Environment setup

Now that we have Oracle and the development libraries all in place, we need to get the system to use the libraries and know where Oracle lives.

To permanently add the Oracle library path, called oracle.conf, and add the Oracle library path. Create a new config file for oracle in /etc/ld.so.conf.d called oracle and add the Oracle library path.

sudo echo /usr/lib/oracle/11.1/client/lib > /etc/ld.so.conf.d/oracle.conf

Now rebuild your library cache. No output is good output for ldconfig.

sudo ldconfig

Now set your environment so tora can find Oracle. We’ll also add one that will tell tora where to find the tnsnames.ora file.

export ORACLE_HOME=/usr/lib/oracle/11.1/client
export LD_LIBRARY_PATH=/usr/lib/oracle/11.1/client/lib
export TNS_ADMIN=/usr/lib/oracle/11.1/client

For good measure I would add this to your login scripts so that tora will not bomb when you run it. Depending on your shell you might need to do this to ~/.profile. I use bash, because it rules. And yes, I know there are prettier ways to get this done, but this works.

echo "export ORACLE_HOME=/usr/lib/oracle/11.1/client" >> ~/.bashrc
echo "export LD_LIBRARY_PATH=/usr/lib/oracle/11.1/client/lib" >> ~/.bashrc
echo "export TNS_ADMIN=/usr/lib/oracle/11.1/client" >> ~/.bashrc

Now we should be ready to build.

A word about the environment

If you are using tora then you are in XWindows. Likely you did all this in a terminal window using xterm or konsole. We created these environment variables in the terminal which means they are local to the terminal window itself. If you try to run TOra from the menu, it will fail. That is why we added them into the ~/.bashrc file. The .bashrc file will not take effect for your X desktop until you log out and back in again, there’s no way around that. So until you log out/in you can just run TOra from the command line in your terminal window. Bringing up a new xterm should source your .bashrc file and get the environment variables too.

Building and installing TOra

Unpack tora:

tar -zxvf tora_1.3.22.orig.tar.gz

cd to the tora source dir:

cd tora-1.3.22/

Change the configure command arguments in debian/rules using your favorite editor (which surely must be vi). Find line 20, which says:

./configure --prefix=/usr --without-oracle --without-rpath --disable-new-check --with-kde --enable-libsuffix=

And shift-D, i in the following (non vi users delete the line and insert this one).

./configure --prefix=/usr --with-instantclient --with-oracle-includes=/usr/include/oracle/11.1/client --without-rpath --disable-new-check --with-kde --enable-libsuffix=

If you avoided the minute discomfort of installing the KDE development libraries, or just plain do not want KDE support, use this one (I would also suggest this if you run into some bizarre KDE related error when compiling. It’s been known to happen. I think there’s a support group.):

./configure --prefix=/usr --with-instantclient --with-oracle-includes=/usr/include/oracle/11.1/client --without-rpath --disable-new-check --without-kde --enable-libsuffix=

Now it’s time for the main event, we’re going to compile it. How you ask? Thusly! From right where you are in the root of the tora source tree run this stunningly complex command:

debian/rules binary

This will take a bit of waiting now, but there’s nothing for it. On my out-of-date Athlon XP 3200+, the whole process took 12m27.674s. Just ballparking here.

Once the build is complete you are ready to install tora. Do it like so:

sudo dpkg -i tora_1.3.22-5_i386.deb

Selecting previously deselected package tora.
(Reading database ... 172036 files and directories currently installed.)
Unpacking tora (from tora_1.3.22-5_i386.deb) ...
Setting up tora (1.3.22-5) ...

But Mr Science, won’t apt just clobber my custom package when it updates?

I’m glad you asked that Billy. Get me some coffee and a cigarette and I’ll explain combustion. Ahem.

Normally, yes. in fact when I was testing this I found that apt-get will prefer a repository package to my own even though they were the same version. To fix this we need to add an entry to the apt preferences configuration:

man apt_preferences  # :)

Edit /etc/apt/preferences (it will likely be a new file) and add the following lines:

Package: tora
Pin: version *
Pin-Priority: 50

What this says is that for the package tora, any version it will assign priority 50. Priority 50 means, essentially, that it will not be installed unless it’s not already installed, and you have to ask for it by name. What that means for you is that auto-updates will not destroy all your hard work.

End Game

Don’t forget your tnsnames.ora. We set up the environment to use TNS_ADMIN=/usr/lib/oracle/11.1/client which means that tora will look for them there. The easiest way I found was to get the production tnsnames.ora file from the Oracle server itself and place it in $TNS_ADMIN. Once that is done, start tora and enjoy. Remember to start it from the xterm session that has the environment variable set if you have not yet logged out/in.

This is where I leave off. The running and connecting and such I leave in the hands of you and the TOra documentation.

All in all I was pleased with how the whole process turned out. I have been using TOra and like it so far. I have not yet been able to find stored procedures in it, but that will come. I also had a crash when I brought up the help, but I am not sure if that is a bug and will need to look into it. It compiled cleanly, so I do not blame it on a compilation error.

Coming up

I’m not great at keeping a regular blogging schedule. I am trying to mend my ways though. That being said, I have one in the works dealing with a statement I read on another blog, that Ubuntu was becoming slower with each release. I captured some performance data before I did a fresh install of 8.10, so I will share the results if they are interesting. I also have a nifty little one about VMware in a hosted ISP environment. Stay tuned.

References

The TOra homepage

Installing TOra with Oracle Support on Ubuntu Community Forums

APT HOWTO

email
Want to talk with an expert? Schedule a call with our team to get the conversation started.

About the Author

Brad is just a guy, you know? I fought my way up in the world tooth-and-nail. Starting in broadcasting and music to travel to computer support to development of mid size xBase programs. Finally I settled into the wonderful world of system administration where I have honed my skills doing many diverse tasks. I started using Solaris in the mid 80's and built my first Linux system on a 386 using 30-some floppy disks and never looked back.

15 Comments. Leave new

Great post, Brad. Thanks.
Paul

Reply
Log Buffer #128: a Carnival of the Vanities for DBAs
December 19, 2008 1:36 pm

[…] Or perhaps with other tools, such as TOra? Here on the Pythian Blog, Brad Hudson posted his howto, Installing TOra with Oracle support on Ubuntu 8.04LTS (Hardy Heron). […]

Reply
Arun Mallikarjunan
January 15, 2009 12:41 pm

Thanks for the post. You also need the texinfo,libiodbc2, libqt3-mt-psql, libqt3-mt-odbc, libqt3-mt-mysql packages as pre-requisite. This happened in my 8.10 installation. I am not sure if thats true for 8.04, most likely.

Reply

Arun, thanks for the comments. I checked over the system I used to do this and the only one of these packages I have on my system is libqt3-mt-psql. The rest of them are not installed so they are not strictly required. libqt3-mt-psql was likely installed when I installed Hardy, or possibly included by apt-get as a dep for one of the other packages I installed.

How did your install go?

Reply

Thanks for the how too..

I managed to follow everystep..however once I start tora I find that the ‘Connection Provider’ drop down list does not contain Oracle? It only has Postgres, MySql and ODBC?

Is there a step I am missing?

My –with-oracle-includes path is correct and I can sqlplus using the ORACLE_SID declared in the tnsnames.ora

Reply

Hi Luke. I had a similar problem when running from the menus in my kde desktop. It stemmed from the fact that my kde desktop did not respect my shell’s environment variables. There’s 2 ways to make it work, and probably more.

1) If your env is set up correctly, run it from the terminal and it should work.

2) Change the command the menu runs to include the env for Oracle in the command line like so.

ORACLE_HOME=/usr/lib/oracle/11.1/client LD_LIBRARY_PATH=/usr/lib/oracle/11.1/client/lib TNS_ADMIN=/usr/lib/oracle/11.1/client tora

Let me know if this solves your problem.

Reply

Note the above command was split into 3 lines by the site, it should be one.

Reply

i have this erro…

[email protected]:~/Programas/tora/tora-1.3.22$ sudo debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/tora.
/usr/bin/make install DESTDIR=/home/etavares/Programas/tora/tora-1.3.22/debian/tora libdir=/usr/lib/tora
make[1]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22′
Making install in utils
make[2]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/utils’
Making install in chex
make[3]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/utils/chex’
make[4]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/utils/chex’
test -z “/usr/bin” || mkdir -p — “/home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/bin”
/bin/bash ../../libtool –mode=install /usr/bin/install -c -p ‘chex’ ‘/home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/bin/chex’
/usr/bin/install -c -p chex /home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/bin/chex
make[4]: Nada a ser feito para `install-data-am’.
make[4]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/utils/chex’
make[3]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/utils/chex’
make[3]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/utils’
make[4]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/utils’
make[4]: Nada a ser feito para `install-exec-am’.
make[4]: Nada a ser feito para `install-data-am’.
make[4]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/utils’
make[3]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/utils’
make[2]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/utils’
Making install in src
make[2]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/src’
/usr/bin/make install-am
make[3]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/src’
make[4]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/src’
test -z “/usr/lib/tora” || mkdir -p — “/home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/lib/tora”
test -z “/usr/bin” || mkdir -p — “/home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/bin”
/bin/bash ../libtool –mode=install /usr/bin/install -c -p ‘tora’ ‘/home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/bin/tora’
/usr/bin/install -c -p tora /home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/bin/tora
/usr/bin/make install-data-hook
make[5]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/src’
cp -f ../src/i18n/*.qm /home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/lib/tora
make[5]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/src’
make[4]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/src’
make[3]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/src’
make[2]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/src’
Making install in ext
make[2]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/ext’
make[3]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/ext’
make[3]: Nada a ser feito para `install-exec-am’.
make[3]: Nada a ser feito para `install-data-am’.
make[3]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/ext’
make[2]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/ext’
Making install in test
make[2]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/test’
Making install in configuration
make[3]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/test/configuration’
make[4]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/test/configuration’
make[4]: Nada a ser feito para `install-exec-am’.
make[4]: Nada a ser feito para `install-data-am’.
make[4]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/test/configuration’
make[3]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/test/configuration’
make[3]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/test’
make[4]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/test’
make[4]: Nada a ser feito para `install-exec-am’.
make[4]: Nada a ser feito para `install-data-am’.
make[4]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/test’
make[3]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/test’
make[2]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/test’
Making install in doc
make[2]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/doc’
Making install in help
make[3]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/doc/help’
make[4]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/doc/help’
make[4]: Nada a ser feito para `install-exec-am’.
test -z “/usr/share/info” || mkdir -p — “/home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/share/info”
/usr/bin/install -c -p -m 644 ‘./tora.info’ ‘/home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/share/info/tora.info’
make[4]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/doc/help’
make[3]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/doc/help’
make[3]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/doc’
echo Making HTML in ../doc/help
Making HTML in ../doc/help
cd ../doc/help && make html
make[4]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/doc/help’
make[4]: Nada a ser feito para `html’.
make[4]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/doc/help’
make[4]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/doc’
make[4]: Nada a ser feito para `install-exec-am’.
/usr/bin/make install-data-hook
make[5]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22/doc’
rm -rf /home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/lib/tora/help
cp -dpR ../doc/help/tora /home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/lib/tora/help
cp /home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/lib/tora/help/index.html /home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/lib/tora/help/toc.html
cp -dpR ../doc/help/images /home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/lib/tora/help
cp -dpR ../doc/help/api /home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/lib/tora/help
make[5]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/doc’
make[4]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/doc’
make[3]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/doc’
make[2]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22/doc’
make[2]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22′
make[3]: Entrando no diretório `/home/etavares/Programas/tora/tora-1.3.22′
make[3]: Nada a ser feito para `install-exec-am’.
make[3]: Nada a ser feito para `install-data-am’.
make[3]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22′
make[2]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22′
make[1]: Saindo do diretório `/home/etavares/Programas/tora/tora-1.3.22′
install –owner root –group root –mode=644 /home/etavares/Programas/tora/tora-1.3.22/help/* /home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/share/tora/help
install: impossível fazer stat em `/home/etavares/Programas/tora/tora-1.3.22/help/*’: Arquivo ou diretório inexistente
make: [install] Erro 1 (ignorado)
install –owner root –group root –mode=644 /home/etavares/Programas/tora/tora-1.3.22/help/images/* /home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/share/tora/help/images
install: impossível fazer stat em `/home/etavares/Programas/tora/tora-1.3.22/help/images/*’: Arquivo ou diretório inexistente
make: [install] Erro 1 (ignorado)
mv /home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/lib/tora/help /home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/share/tora
mv: impossível mover `/home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/lib/tora/help’ para `/home/etavares/Programas/tora/tora-1.3.22/debian/tora/usr/share/tora/help’: O diretório não está vazio
make: [install] Erro 1 (ignorado)
dh_link usr/share/tora/help usr/lib/tora/help
dh_link: link destination debian/tora/usr/lib/tora/help is a directory
make: ** [install] Erro 1

Reply

The different language confuses things a bit, but it seems that the error is “cannot stat directory” which usually means it does not exist. I would think they should be created by the make, but you might want to manually create each directory that it complains about by hand and try it again.

For the dh_link error you might want to make sure the debhelper package is up to date.

Reply

Hi all!
I also had such a problem with make. If any use of it, I can tell that on Ubuntu 8.04 ‘debian/rules bunary’ command should be executed with sudo. Also I had to install texinfo package using synaptic as soon as make could not convert docs to binary without it (it says ‘makeinfo’ needed). As long as I had no texinfo installed I constantly got make error 2.

Reply
Installing TOra with Oracle Support on Ubuntu 9.04 (Jaunty Jackalope) | Pythian Group Blog
September 4, 2009 3:03 pm

[…] TOra homepage Installing TOra with Oracle support on Ubuntu 8.04LTS (Hardy Heron) Kubuntu […]

Reply
Installing TOra with Oracle Support on Ubuntu 9.10 (Karmic Koala) | Pythian Group Blog
October 29, 2009 1:29 pm

[…] TOra homepage Installing TOra with Oracle support on Ubuntu 8.04LTS (Hardy Heron) Installing TOra with Oracle support on Ubuntu 9.10 (Jaunty Jackalope) Kubuntu […]

Reply

hi i get this error messages, can u help?

make[5]: Leaving directory `/usr/src/tora-1.3.22/doc’
make[4]: Leaving directory `/usr/src/tora-1.3.22/doc’
make[3]: Leaving directory `/usr/src/tora-1.3.22/doc’
make[2]: Leaving directory `/usr/src/tora-1.3.22/doc’
make[2]: Entering directory `/usr/src/tora-1.3.22′
make[3]: Entering directory `/usr/src/tora-1.3.22′
make[3]: Nothing to be done for `install-exec-am’.
make[3]: Nothing to be done for `install-data-am’.
make[3]: Leaving directory `/usr/src/tora-1.3.22′
make[2]: Leaving directory `/usr/src/tora-1.3.22′
make[1]: Leaving directory `/usr/src/tora-1.3.22′
install –owner root –group root –mode=644 /usr/src/tora-1.3.22/help/* /usr/src/tora-1.3.22/debian/tora/usr/share/tora/help
install: cannot stat `/usr/src/tora-1.3.22/help/*’: No such file or directory
make: [install] Error 1 (ignored)
install –owner root –group root –mode=644 /usr/src/tora-1.3.22/help/images/* /usr/src/tora-1.3.22/debian/tora/usr/share/tora/help/images
install: cannot stat `/usr/src/tora-1.3.22/help/images/*’: No such file or directory
make: [install] Error 1 (ignored)
mv /usr/src/tora-1.3.22/debian/tora/usr/lib/tora/help /usr/src/tora-1.3.22/debian/tora/usr/share/tora
mv: cannot move `/usr/src/tora-1.3.22/debian/tora/usr/lib/tora/help’ to `/usr/src/tora-1.3.22/debian/tora/usr/share/tora/help’: Directory not empty
make: [install] Error 1 (ignored)
dh_link usr/share/tora/help usr/lib/tora/help
dh_link: link destination debian/tora/usr/lib/tora/help is a directory
make: *** [install] Error 1

Reply
Brad Hudson
March 4, 2010 1:46 pm

This could be related to permissions. Make sure you run make with fakeroot or sudo.

Reply
Installing TOra with Oracle Support on Ubuntu 10.04 (Lucid Lynx) | The Pythian Blog
April 15, 2010 2:59 pm

[…] TOra homepage Installing TOra with Oracle support on Ubuntu 8.04LTS (Hardy Heron) Installing TOra with Oracle support on Ubuntu 9.04 (Jaunty Jackalope) Installing TOra with Oracle […]

Reply

Leave a Reply

Your email address will not be published. Required fields are marked *