CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] OpenFOAM-dev, Thirdparty-dev, Qt5 on Kali Linux 4.19 (https://www.cfd-online.com/Forums/openfoam-installation/219386-openfoam-dev-thirdparty-dev-qt5-kali-linux-4-19-a.html)

mishaparem July 25, 2019 04:21

OpenFOAM-dev, Thirdparty-dev, Qt5 on Kali Linux 4.19
 
Hello all.


I've been trying to build paraview for the past week (on and off, before and after work). I cannot for the life of me build paraView - it wants Qt5, but my linux doesn't have a qt5 repo, so I thought it would be a great idea to build qt5 from source as well.

Well... I was able to build Qt5.13, but ./makeParaView wants Qt5X11Extras, and this si where I'm stuck. No matter how I try to build the Qt5X11Extras, I fail with:


Code:

ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.
I've installed all the X11 requirements listed on the Qt5.13 page, I've Googled for the past couple of days and tried everything I could find to try to make it build, but it just won't budge.

Any help would be greatly appreciated!



Best regards,


Misha

wyldckat July 25, 2019 07:43

Quick question: Which Linux Distribution are you using and which version?

mishaparem July 25, 2019 09:04

Kali GNU/Linux Rolling
4.19.0-kali4-amd64 x86_64

also an update - I did find qt5 in the repos, but installing it,
Code:

sudo find / -name QtX11Extras.config
still shows nothing, and that's what I'm really after right now.

gcengineer July 25, 2019 14:42

Quote:

Originally Posted by mishaparem (Post 740005)
Kali GNU/Linux Rolling
4.19.0-kali4-amd64 x86_64

also an update - I did find qt5 in the repos, but installing it,
Code:

sudo find / -name QtX11Extras.config
still shows nothing, and that's what I'm really after right now.

This is for Ubuntu 18.04, but it might help you anyway.

https://www.cfd-online.com/Forums/sh...d.php?t=219297

wyldckat July 25, 2019 18:36

Greetings to all!

Kali Linux is based on Debian, so gcengineer's post should indeed help here!

As for using Kali Linux... @mishaparem: Why are you using it?
Quoting from Kali's own documentation: https://docs.kali.org/introduction/s...use-kali-linux
Quote:

Kali Linux is specifically geared to meet the requirements of professional penetration testing and security auditing.
If you keep reading that page, it goes on and on as to why you shouldn't be using it to run OpenFOAM on it...

In essence, it's not designed for conventional use as the main operating system in a workstation... it's a specialized Linux Distribution for a specific purpose!
What you're trying to do is as if you're trying to install OpenFOAM in a network router... it's an interesting challenge, but not exactly a productive one :(

If you want a good looking and easy to use Linux Distribution, the more popular one is Linux Mint, which should also be a lot easier to use! And is derived from Debian, so the installation instructions for building from source code on Ubuntu should work on Linux Mint as well!
And there are several other good looking and easy to use Linux Distributions!


But if you really want to challenge yourself, try a BSD based distribution... not a Linux based one ;)

Best regards,
Bruno

mishaparem July 26, 2019 03:04

Quote:

Originally Posted by wyldckat (Post 740053)
Greetings to all!

Kali Linux is based on Debian, so gcengineer's post should indeed help here!

As for using Kali Linux... @mishaparem: Why are you using it?
Quoting from Kali's own documentation: https://docs.kali.org/introduction/s...use-kali-linux

If you keep reading that page, it goes on and on as to why you shouldn't be using it to run OpenFOAM on it...

In essence, it's not designed for conventional use as the main operating system in a workstation... it's a specialized Linux Distribution for a specific purpose!
What you're trying to do is as if you're trying to install OpenFOAM in a network router... it's an interesting challenge, but not exactly a productive one :(

If you want a good looking and easy to use Linux Distribution, the more popular one is Linux Mint, which should also be a lot easier to use! And is derived from Debian, so the installation instructions for building from source code on Ubuntu should work on Linux Mint as well!
And there are several other good looking and easy to use Linux Distributions!


But if you really want to challenge yourself, try a BSD based distribution... not a Linux based one ;)

Best regards,
Bruno

I already had Kali installed for other purposes. I've already considered installing Suse dual boot to work with OpenFOAM, but I wanted to try building it on Kali first. Ultimately it shouldn't matter which Linux or BSD foam runs on - I expect only the build process is affected by the platform.

P.s. I keep wanted to make the switch to OpenBSD, but laziness takes the better of me every time.

wyldckat July 27, 2019 18:21

Quick note: I have no idea if the version of Kali you are using is similar enough to Ubuntu 18.04, but if it is, I've written step-by-step installation instructions here: https://openfoamwiki.net/index.php/I...7/Ubuntu/18.04

mishaparem July 29, 2019 09:01

Quote:

Originally Posted by wyldckat (Post 740216)
Quick note: I have no idea if the version of Kali you are using is similar enough to Ubuntu 18.04, but if it is, I've written step-by-step installation instructions here: https://openfoamwiki.net/index.php/I...7/Ubuntu/18.04

It is similar enough - I think this is the guide I followed initially, until makeParaView said it's expecting Qt5 not Qt4.

Quote:

Originally Posted by gcengineer (Post 740033)
This is for Ubuntu 18.04, but it might help you anyway.

https://www.cfd-online.com/Forums/sh...d.php?t=219297

I didn't have time to dig into this, but I think it may do the trick. I'll try this week.


All times are GMT -4. The time now is 16:30.