CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] OpenFOAM-dev, Thirdparty-dev, Qt5 on Kali Linux 4.19

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2019, 04:21
Default OpenFOAM-dev, Thirdparty-dev, Qt5 on Kali Linux 4.19
  #1
New Member
 
Misha
Join Date: Aug 2018
Posts: 9
Rep Power: 3
mishaparem is on a distinguished road
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
mishaparem is offline   Reply With Quote

Old   July 25, 2019, 07:43
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick question: Which Linux Distribution are you using and which version?
__________________
wyldckat is offline   Reply With Quote

Old   July 25, 2019, 09:04
Default
  #3
New Member
 
Misha
Join Date: Aug 2018
Posts: 9
Rep Power: 3
mishaparem is on a distinguished road
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.
mishaparem is offline   Reply With Quote

Old   July 25, 2019, 14:42
Default
  #4
Member
 
Glenn Carlson
Join Date: Oct 2012
Location: US
Posts: 37
Rep Power: 8
gcengineer is on a distinguished road
Quote:
Originally Posted by mishaparem View Post
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.

Qt5, OpenFOAM-7 and -v1906, and Ubuntu 18.04
gcengineer is offline   Reply With Quote

Old   July 25, 2019, 18:36
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
wyldckat is offline   Reply With Quote

Old   July 26, 2019, 03:04
Default
  #6
New Member
 
Misha
Join Date: Aug 2018
Posts: 9
Rep Power: 3
mishaparem is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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.
mishaparem is offline   Reply With Quote

Old   July 27, 2019, 18:21
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
wyldckat is offline   Reply With Quote

Old   July 29, 2019, 09:01
Default
  #8
New Member
 
Misha
Join Date: Aug 2018
Posts: 9
Rep Power: 3
mishaparem is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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 View Post
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.
mishaparem is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 15:54
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 03:18
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 10:45.