CBICA / CaPTk

Cancer Imaging Phenomics Toolkit (CaPTk) is a software platform to perform image analysis and predictive modeling tasks. Documentation: https://cbica.github.io/CaPTk
https://www.cbica.upenn.edu/captk
Other
179 stars 64 forks source link

Linux build of commit 94db2b4 fails (Fedora 28) #481

Open MarkBergman-cbica opened 5 years ago

MarkBergman-cbica commented 5 years ago
git clone https://github.com/CBICA/CaPTk.git
mkdir CaPTk_build ; cd CaPTk_build
cmake -DCMAKE_BUILD_TYPE=Release     -DCMAKE_INSTALL_PREFIX=./install_libs     -Wno-dev ../CaPTk
make -j4 ../CaPTk 1> makeout.txt`

makeout.txt

sarthakpati commented 5 years ago

The commit Mark is referring to is reference by the PR https://github.com/CBICA/CaPTk/pull/458. This built on the 3 Azure platforms.

sarthakpati commented 5 years ago

The error line is:

Could not find a package configuration file provided by "Qt5X11Extras" ...

@MarkBergman-cbica: could you try to install X11? Or does Fedora 28 not support X11 windowing?

MarkBergman-cbica commented 5 years ago

In the message dated: Mon, 06 May 2019 13:43:57 -0700, The pithy ruminations from Sarthak Pati on [[External] Re: [CBICA/CaPTk] Linux build of commit 94db2b4 fails (Fedora 28) (#481)] were: => The error line is: => > Could not find a package configuration file provided by "Qt5X11Extras" ...

qt5-qtx11extras is installed... but qt5-qtx11extras-devel was not. Fixed.

=> => @MarkBergman-cbica: could you try to install X11? Or does Fedora 28 not support X11 windowing?

X11 exists (and is installed and in-use) but is deprecated in favor of Wayland.

This won't be a quick change, but some [bleeding edge] distros are already using Wayland by default.

For CaPTk, there are runtime & compile-time considerations.

See: https://unix.stackexchange.com/questions/202891/how-to-know-whether-wayland-or-x11-is-being-used https://stackoverflow.com/questions/45135228/effective-way-of-detecting-x11-vs-wayland-preferrably-with-cmake

Mark

=> => -- => You are receiving this because you were mentioned. => Reply to this email directly or view it on GitHub: => https://github.com/CBICA/CaPTk/issues/481#issuecomment-489769487

-- Mark Bergman voice: 215-746-4061
mark.bergman@pennmedicine.upenn.edu fax: 215-614-0266 http://www.med.upenn.edu/cbica/ IT Technical Director, Center for Biomedical Image Computing and Analytics Department of Radiology University of Pennsylvania

sarthakpati commented 5 years ago

We are not doing any customization for X11. The only place it is mentioned is in CMake [ref]. This will be non-trivial. Do you how many LTS distros have switched to Wayland by default?

MarkBergman-cbica commented 5 years ago

Very non-trivial. Nothing to do immediately, just a long-term consideration.