ahlstromcj / sequencer64

A major reboot of Seq24. Current release 0.97.0 (2021-05-13), native JACK MIDI, Song recording, playlists, and a Windows/Qt version. For fresher code, see the Seq66 project. Note that trigger and mute-group-in-MIDI-file formats have evolved! Back up your work!
GNU Affero General Public License v3.0
237 stars 28 forks source link

QT compile on Fedora 27 #144

Closed layk closed 6 years ago

layk commented 6 years ago

Using ./bootstap -er -qt i get the following errors on fedora 27. I'm missing a package but i really don't know which one. Compiling on ubuntu 16.04 works.

make[2]: Entering directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/include' Making all in src make[2]: Entering directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/src' o ../../seq_qt5/forms/qseditoptions.ui.h ../../seq_qt5/forms/qseditoptions.ui make[2]: o: Command not found make[2]: [Makefile:1032: ../../seq_qt5/forms/qseditoptions.ui.h] Error 127 (ignored) o ../../seq_qt5/forms/qperfeditframe.ui.h ../../seq_qt5/forms/qperfeditframe.ui make[2]: o: Command not found make[2]: [Makefile:1032: ../../seq_qt5/forms/qperfeditframe.ui.h] Error 127 (ignored) o ../../seq_qt5/forms/qsabout.ui.h ../../seq_qt5/forms/qsabout.ui make[2]: o: Command not found make[2]: [Makefile:1032: ../../seq_qt5/forms/qsabout.ui.h] Error 127 (ignored) o ../../seq_qt5/forms/qseqeditframe.ui.h ../../seq_qt5/forms/qseqeditframe.ui make[2]: o: Command not found make[2]: [Makefile:1032: ../../seq_qt5/forms/qseqeditframe.ui.h] Error 127 (ignored) o ../../seq_qt5/forms/qsliveframe.ui.h ../../seq_qt5/forms/qsliveframe.ui make[2]: o: Command not found make[2]: [Makefile:1032: ../../seq_qt5/forms/qsliveframe.ui.h] Error 127 (ignored) o ../../seq_qt5/forms/qsmainwnd.ui.h ../../seq_qt5/forms/qsmainwnd.ui make[2]: o: Command not found make[2]: [Makefile:1032: ../../seq_qt5/forms/qsmainwnd.ui.h] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qperfeditframe.moc.cpp ../include/qperfeditframe.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qperfeditframe.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qperfnames.moc.cpp ../include/qperfnames.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qperfnames.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qperfroll.moc.cpp ../include/qperfroll.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qperfroll.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qperftime.moc.cpp ../include/qperftime.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qperftime.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qsabout.moc.cpp ../include/qsabout.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qsabout.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qseditoptions.moc.cpp ../include/qseditoptions.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qseditoptions.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qseqdata.moc.cpp ../include/qseqdata.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qseqdata.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qseqeditframe.moc.cpp ../include/qseqeditframe.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qseqeditframe.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qseqkeys.moc.cpp ../include/qseqkeys.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qseqkeys.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qseqroll.moc.cpp ../include/qseqroll.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qseqroll.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qseqtime.moc.cpp ../include/qseqtime.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qseqtime.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qsliveframe.moc.cpp ../include/qsliveframe.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qsliveframe.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qsmaintime.moc.cpp ../include/qsmaintime.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qsmaintime.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qsmainwnd.moc.cpp ../include/qsmainwnd.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qsmainwnd.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qstriggereditor.moc.cpp ../include/qstriggereditor.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qstriggereditor.moc.cpp] Error 127 (ignored) make all-am make[3]: Entering directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/src' CXX gui_palette_qt5.lo In file included from gui_palette_qt5.cpp:35:0: ../../seq_qt5/include/gui_palette_qt5.hpp:43:10: fatal error: QColor: No such file or directory

include

      ^~~~~~~~

compilation terminated. make[3]: [Makefile:789: gui_palette_qt5.lo] Error 1 make[3]: Leaving directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/src' make[2]: [Makefile:621: all] Error 2 make[2]: Leaving directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/src' make[1]: [Makefile:470: all-recursive] Error 1 make[1]: Leaving directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5' make: [Makefile:586: all-recursive] Error 1

ahlstromcj commented 6 years ago

Check the INSTALL file for dependencies... The configure file might not test for them thoroughly enough...

On Thu, Mar 15, 2018, 10:26 layk notifications@github.com wrote:

Using ./bootstap -er -qt i get the following errors on fedora 27. I'm missing a package but i really don't know which one. Compiling on ubuntu 16.04 works.

make[2]: Entering directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/include' Making all in src make[2]: Entering directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/src' o ../../seq_qt5/forms/qseditoptions.ui.h ../../seq_qt5/forms/qseditoptions.ui make[2]: o: Command not found make[2]: [Makefile:1032: ../../seq_qt5/forms/qseditoptions.ui.h] Error 127 (ignored) o ../../seq_qt5/forms/qperfeditframe.ui.h ../../seq_qt5/forms/qperfeditframe.ui make[2]: o: Command not found make[2]: [Makefile:1032: ../../seq_qt5/forms/qperfeditframe.ui.h] Error 127 (ignored) o ../../seq_qt5/forms/qsabout.ui.h ../../seq_qt5/forms/qsabout.ui make[2]: o: Command not found make[2]: [Makefile:1032: ../../seq_qt5/forms/qsabout.ui.h] Error 127 (ignored) o ../../seq_qt5/forms/qseqeditframe.ui.h ../../seq_qt5/forms/qseqeditframe.ui make[2]: o: Command not found make[2]: [Makefile:1032: ../../seq_qt5/forms/qseqeditframe.ui.h] Error 127 (ignored) o ../../seq_qt5/forms/qsliveframe.ui.h ../../seq_qt5/forms/qsliveframe.ui make[2]: o: Command not found make[2]: [Makefile:1032: ../../seq_qt5/forms/qsliveframe.ui.h] Error 127 (ignored) o ../../seq_qt5/forms/qsmainwnd.ui.h ../../seq_qt5/forms/qsmainwnd.ui make[2]: o: Command not found make[2]: [Makefile:1032: ../../seq_qt5/forms/qsmainwnd.ui.h] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qperfeditframe.moc.cpp ../include/qperfeditframe.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qperfeditframe.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qperfnames.moc.cpp ../include/qperfnames.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qperfnames.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qperfroll.moc.cpp ../include/qperfroll.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qperfroll.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qperftime.moc.cpp ../include/qperftime.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qperftime.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qsabout.moc.cpp ../include/qsabout.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qsabout.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qseditoptions.moc.cpp ../include/qseditoptions.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qseditoptions.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qseqdata.moc.cpp ../include/qseqdata.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qseqdata.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qseqeditframe.moc.cpp ../include/qseqeditframe.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qseqeditframe.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qseqkeys.moc.cpp ../include/qseqkeys.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qseqkeys.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qseqroll.moc.cpp ../include/qseqroll.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qseqroll.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qseqtime.moc.cpp ../include/qseqtime.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qseqtime.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qsliveframe.moc.cpp ../include/qsliveframe.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qsliveframe.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qsmaintime.moc.cpp ../include/qsmaintime.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qsmaintime.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qsmainwnd.moc.cpp ../include/qsmainwnd.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qsmainwnd.moc.cpp] Error 127 (ignored) I../../include -DQ_OS_MAC -o ../include/qstriggereditor.moc.cpp ../include/qstriggereditor.hpp make[2]: I../../include: Command not found make[2]: [Makefile:1027: ../include/qstriggereditor.moc.cpp] Error 127 (ignored) make all-am make[3]: Entering directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/src' CXX gui_palette_qt5.lo In file included from gui_palette_qt5.cpp:35:0: ../../seq_qt5/include/gui_palette_qt5.hpp:43:10: fatal error: QColor: No such file or directory

include

^~~~ compilation terminated. make[3]: [Makefile:789: gui_palette_qt5.lo] Error 1 make[3]: Leaving directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/src' make[2]: [Makefile:621: all] Error 2 make[2]: Leaving directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/src' make[1]: [Makefile:470: all-recursive] Error 1 make[1]: Leaving directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5' make: [Makefile:586: all-recursive] Error 1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ahlstromcj/sequencer64/issues/144, or mute the thread https://github.com/notifications/unsubscribe-auth/AHnVqNbtl-ykypUYDA8M1QpmmxIaNBbeks5tenovgaJpZM4SsP58 .

layk commented 6 years ago

I can not find following on fedora: qtbase5-dev-tools qtdeclarative-dev-tools

But i find and installed: qt5-qttools qt5-qttools-common qt5-qttools-devel qt5-qttools-libs-designer qt5-qttools-libs-designercomponents qt5-qttools-static

And still same error. I have almost installed all qt5 related. Makefile in sequencer64/seq_qt5/src does not find something but cannot figure out what. make[2]: Entering directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/src' o ../../seq_qt5/forms/qseditoptions.ui.h ../../seq_qt5/forms/qseditoptions.ui make[2]: o: Command not found

ahlstromcj commented 6 years ago

Hmm. Can you email me the config.log file? I can look at it tonight....

On Thu, Mar 15, 2018, 12:56 layk notifications@github.com wrote:

I can not find following on fedora: qtbase5-dev-tools qtdeclarative-dev-tools

But i find and installed: qt5-qttools qt5-qttools-common qt5-qttools-devel qt5-qttools-libs-designer qt5-qttools-libs-designercomponents qt5-qttools-static

And still same error. I have almost installed all qt5 related. Makefile in sequencer64/seq_qt5/src does not find something but cannot figure out what. make[2]: Entering directory '/home/lykki2/dev/seq64/current/sequencer64/seq_qt5/src' o ../../seq_qt5/forms/qseditoptions.ui.h ../../seq_qt5/forms/qseditoptions.ui make[2]: o: Command not found

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ahlstromcj/sequencer64/issues/144#issuecomment-373448076, or mute the thread https://github.com/notifications/unsubscribe-auth/AHnVqEBpPpEgv7E3Zk8X6HARriLnlPxnks5tep1NgaJpZM4SsP58 .

layk commented 6 years ago

Emailed

layk commented 6 years ago

Just noticed when running make: checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for Qt... ./configure: line 18738: qmake: command not found no qtmidi native build enabled. configure: rtmidi command-line build disabled.

So qmake not found. and i have on test fedora virtual machine: qmake qmake-qt5 qmake-qt5.sh

And on my original system i have following and qmake is found version 1.07a (Qt 3.3.8b): qmake qmake-qt4 qmake-qt5 qmake-qt5.sh

Both failing.

ahlstromcj commented 6 years ago

At one site I see, if qt-devel is installed, you then need this in .bashrc

  export qmake=/usr/bin/qmake-qt5

Be sure to restart bash. Fingers crossed...

On Thu, Mar 15, 2018, 13:26 layk notifications@github.com wrote:

Just noticed when running make: checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for Qt... ./configure: line 18738: qmake: command not found no qtmidi native build enabled. configure: rtmidi command-line build disabled.

So qmake not found. and i have: qmake qmake-qt5 qmake-qt5.sh

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ahlstromcj/sequencer64/issues/144#issuecomment-373458299, or mute the thread https://github.com/notifications/unsubscribe-auth/AHnVqHA52WNYaMGrZpfz2SgPYWeRjItQks5teqRXgaJpZM4SsP58 .

layk commented 6 years ago

qmake --version qmake: could not exec '/usr/lib64/qt4/bin/qmake': No such file or directory

So it points to qt4. Export should do the trick

layk commented 6 years ago

Compiles now. My bad. Closing. I did qtchooser -l 4-64 4 5-64 5

Then in .bashrc export QT_SELECT=5

ahlstromcj commented 6 years ago

Thanks for that information; I will add it to INSTALL!

Chris

-------- layk 18:13 Thu 15 Mar --------

Compiles now. My bad. Closing. I did qtchooser -l 4-64 4 5-64 5

Then in .bashrc export QT_SELECT=5

— You are receiving this because you commented. Reply to this email directly, [1]view it on GitHub, or [2]mute the thread.

Reverse link: [3]unknown

References

Visible links

  1. https://github.com/ahlstromcj/sequencer64/issues/144#issuecomment-373473190
  2. https://github.com/notifications/unsubscribe-auth/AHnVqINONNd-5fYkNFBSqC-XZwznC6Rsks5teq8zgaJpZM4SsP58
  3. https://github.com/ahlstromcj/sequencer64/issues/144#issuecomment-373473190

-- Good day for a change of scene. Repaper the bedroom wall.