Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build from source on Arch Linux? #159

Open
Freemason-12 opened this issue Feb 19, 2022 · 3 comments
Open

How to build from source on Arch Linux? #159

Freemason-12 opened this issue Feb 19, 2022 · 3 comments

Comments

@Freemason-12
Copy link

I;m using Arch linux and mostly software providers make short guide on how to build it from source. Here I do not see that and so I do not ahve any idea on how to build it. The tora-git package in AUR also does not work because of unmet qt dependency (weirdly enough I use kde which is all in qt and qt is installed actually).

So how to build the software?

@ibre5041
Copy link
Member

What errors do you get? How this AUR package fails? Tora depends on qscintilla library, preferably QT5 version.
But detection of this library in CMAKE is nightmare, every distribution calls it differently and when I fix it for one distro, other distro gets broken.

@Freemason-12
Copy link
Author

I was able to build it using the AUR's PKGBUILD by removing the 'qt' from dependencies field. But now I have a different problem.
I cannot connect to my docker oracle database, Oracle SQL Developer connects to it just fine.
Here is the docker I'm using if needed:
commands are:

docker pull pvargacl/oracle-xe-18.4.0:latest
docker run --name oracle18 -d -p 1521:1521 pvargacl/oracle-xe-18.4.0

Any ideas?

@ibre5041
Copy link
Member

ibre5041 commented Feb 21, 2022

Tora 2.x had a problem. When libclntsh.so was not present, Tora would not start. So in ver. I moved Oracle specific code into plugin library poracle.so. When this plugin is not present Tora can not connect to Oracle.

Check the documentation. You should at least export ORACLE_HOME before calling cmake. Then Oracle library(oci.h and libclntsh.so) is detected and connection plugin poracle.so gets compiled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants