I attempted to build qjackctl and the confiqure failed as follows:
bsdtar -p -o -C /usr/ports/work/qjackctl/src -xf /usr/ports/distfiles/qjackctl/qjackctl-0.4.3.tar.gz + build + cd qjackctl-0.4.3 + ./configure --prefix=/usr --with-qt5=/usr/share/qt5 --enable-stacktrace checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for qmake-qt5... no checking for qmake... /usr/share/qt5/bin/qmake checking for qmake... (cached) /usr/share/qt5/bin/qmake checking for Qt library version >= 5.1... no; Qt 5.1 or greater is required =======> ERROR: Building '/usr/ports/local/qjackctl/pkgsb3/qjackctl#0.4.3-1.pkg.tar.gz' failed.
Is qt5 supported? The environment includes CMAKE_PREFIX_PATH=/usr/share/qt5 as recommended by the qt folks.
re. 4.3.0 Support For QT5
please run and show what gives
/usr/share/qt5/bin/qmake -version
apparently it doesn't comply with a Qt version >= 5.1.
byee
qmake version
QMake version 3.0
Using Qt version 5.7.0 in /usr/share/qt5/lib
re. qmake version
well Qt5.7 is too new for me--i'd stick with Qt5.6 LTS for now.
may you tell the output from the following commands (if needed, prefix
/usr/share/qt5/bin if not in PATH
:qmake -query QT_VERSION
qmake -query QT_INSTALL_BINS
qmake -query QT_INSTALL_HEADERS
qmake -query QT_INSTALL_LIBS
also and more importantly, can you upload the file
config.log
that results from configure step?what happens if you drop the
--with-qt5=
... argument from configure command line?cheers
Addition Information Requested
<snip>
I'll test without the --with-qt5 configure parameter later today and report.
re. 4.3.0 Support For QT5
hmm. this line is actually suspicious:
/usr/share/qt5/include/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support"
maybe you better stick/fallback to Qt4 on BSD (
configure --enable-qt4
...)hth
cheers
Fallback Option
Well, I'd have to install qt4, and I'm uncertain what else will be affected by that. I guess I'll try dropping back to qt5.6 first.
re. Fallback Option
or you can try something like this:
CFLAGS="-std=c++11" ./configure
...byee
Add new comment