Qsynth in Linux Mint 19.03 Cin and Qt5

Link to good samples/soundfonts at http://wiki.linuxaudio.org/wiki/free_audio_data

Moderators: MattKingUSA, khz

Post Reply
Codesound
Established Member
Posts: 22
Joined: Mon Aug 12, 2019 12:21 pm

Qsynth in Linux Mint 19.03 Cin and Qt5

Post by Codesound »

Hi,

I tryed to install Qsynth (the GUI of Fluidsynth), but this GUI need Qt version 5 (?).... the question is:
Qt5 is already installed in LM19.03 Cinnamom .... Why when I tryed to install Qsynth the terminal output is:

Code: Select all

/media/kernel/DATI/Software/Fluidsynth/qsynth-0.6.1$ ./configure [--prefix/bin/qsynth]
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: [--prefix/bin/qsynth]
checking for [--prefix/bin/qsynth]-gcc... no
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 [--prefix/bin/qsynth]-g++... no
checking for [--prefix/bin/qsynth]-c++... no
checking for [--prefix/bin/qsynth]-gpp... no
checking for [--prefix/bin/qsynth]-aCC... no
checking for [--prefix/bin/qsynth]-CC... no
checking for [--prefix/bin/qsynth]-cxx... no
checking for [--prefix/bin/qsynth]-cc++... no
checking for [--prefix/bin/qsynth]-cl.exe... no
checking for [--prefix/bin/qsynth]-FCC... no
checking for [--prefix/bin/qsynth]-KCC... no
checking for [--prefix/bin/qsynth]-RCC... no
checking for [--prefix/bin/qsynth]-xlC_r... no
checking for [--prefix/bin/qsynth]-xlC... no
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 [--prefix/bin/qsynth]-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for g++ major version... 7
checking for [--prefix/bin/qsynth]-qtchooser... no
checking for qtchooser... no
checking for [--prefix/bin/qsynth]-qmake... no
checking for qmake... no
checking for [--prefix/bin/qsynth]-qmake-qt5... no
checking for qmake-qt5... no
checking for Qt major version... ./configure: line 4296: no: command not found
0
checking for [--prefix/bin/qsynth]-qmake-qt5... no
checking for qmake-qt5... no
configure: error: qmake-qt5 not found in current PATH. Maybe QT development environment isn't available. (qt5-devel)
What I wrong? Do I still need to install Qt?

Thanks again

User avatar
rncbc
Established Member
Posts: 767
Joined: Mon Apr 19, 2010 12:20 pm
Contact:

Re: Qsynth in Linux Mint 19.03 Cin and Qt5

Post by rncbc »

(:facepalm:) the brackets are not to be typed, they enclose an _optional_ magic spell ;)

Codesound
Established Member
Posts: 22
Joined: Mon Aug 12, 2019 12:21 pm

Re: Qsynth in Linux Mint 19.03 Cin and Qt5

Post by Codesound »

rncbc wrote:
Thu Mar 19, 2020 3:55 pm
(:facepalm:) the brackets are not to be typed, they enclose an _optional_ magic spell ;)
Oh my God!!! This is a stupid error.... thanks..... but when I try to install, this is the output:

Code: Select all

kernel@kernel:/media/kernel/DATI/Software/Fluidsynth/qsynth-0.6.1$ ./configure --prefix/bin/qsynth
configure: error: unrecognized option: `--prefix/bin/qsynth'
Try `./configure --help' for more information
kernel@kernel:/media/kernel/DATI/Software/Fluidsynth/qsynth-0.6.1$ make
make: *** No targets specified and no makefile found.  Stop.
kernel@kernel:/media/kernel/DATI/Software/Fluidsynth/qsynth-0.6.1$ 
I try to follow that is described in the home of Qsynth....
https://qsynth.sourceforge.io/
1.I downloaded the last version qsynth-0.6.1.tar.gz
2.I unzipped this pack
3.I navigate into the qsynth-0.6.1 dir just created
4.I opened the terminal here and then I insert the first command descrived in the home of Qsynth...

Code: Select all

./configure --prefix/bin/qsynth
but i dont understand where I wrong and what am I doing... :?:

thanks again....

lykwydchykyn
Established Member
Posts: 158
Joined: Tue May 20, 2014 2:01 pm
Location: Tennessee, USA
Contact:

Re: Qsynth in Linux Mint 19.03 Cin and Qt5

Post by lykwydchykyn »

You need to put a space between --prefix and /bin/qsynth.

That's a very odd prefix to use, though; "prefix" is usually /usr or /usr/local, or sometimes /opt.

Codesound
Established Member
Posts: 22
Joined: Mon Aug 12, 2019 12:21 pm

Re: Qsynth in Linux Mint 19.03 Cin and Qt5

Post by Codesound »

Hi, Thanks for all that helped me in this install....

I entered the space and something has changed:

Code: Select all

kernel@kernel:/media/kernel/DATI/Software/Fluidsynth/qsynth-0.6.1$ ./configure --prefix /bin/qsynth
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 pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for g++ major version... 7
checking for qtchooser... no
checking for qmake... no
checking for qmake-qt5... no
checking for Qt major version... ./configure: line 4296: no: command not found
0
checking for qmake-qt5... no
configure: error: qmake-qt5 not found in current PATH. Maybe QT development environment isn't available. (qt5-devel)
kernel@kernel:/media/kernel/DATI/Software/Fluidsynth/qsynth-0.6.1$ make
make: *** No targets specified and no makefile found.  Stop.
kernel@kernel:/media/kernel/DATI/Software/Fluidsynth/qsynth-0.6.1$ 
when I run the make command, the terminal advise me that "No targets specified and no makefile found. Stop."

Sorry for this thread, but I'm not an advanced linux user...

thanks

lykwydchykyn
Established Member
Posts: 158
Joined: Tue May 20, 2014 2:01 pm
Location: Tennessee, USA
Contact:

Re: Qsynth in Linux Mint 19.03 Cin and Qt5

Post by lykwydchykyn »

When you compile things, watch your output. ./configure failed, as you can see by the last line in it's output. "make" isn't going to work until configure has run successfully.

The way most of us learned to do this stuff is by googling the errors until we made it work. Usually ./configure fails because (1) you are missing a dev packages or (2) you are missing a build utility.

Your error is:

configure: error: qmake-qt5 not found in current PATH. Maybe QT development environment isn't available. (qt5-devel)

So looks like you're missing the QT5 development packages. In most distros (especially Debian-based ones) there are separate packages for the development tools and headers, usually suffixed with "-dev" or "-devel".

I don't have a Mint machine nearby, but my guess is you need a package named something like "qt5-dev" or "libqt5-dev" or something similar. Do a little repo searching and see if you can find that package.

Codesound
Established Member
Posts: 22
Joined: Mon Aug 12, 2019 12:21 pm

Re: Qsynth in Linux Mint 19.03 Cin and Qt5

Post by Codesound »

lykwydchykyn wrote:
Thu Mar 19, 2020 6:48 pm
When you compile things, watch your output. ./configure failed, as you can see by the last line in it's output. "make" isn't going to work until configure has run successfully.

The way most of us learned to do this stuff is by googling the errors until we made it work. Usually ./configure fails because (1) you are missing a dev packages or (2) you are missing a build utility.

Your error is:

configure: error: qmake-qt5 not found in current PATH. Maybe QT development environment isn't available. (qt5-devel)

So looks like you're missing the QT5 development packages. In most distros (especially Debian-based ones) there are separate packages for the development tools and headers, usually suffixed with "-dev" or "-devel".

I don't have a Mint machine nearby, but my guess is you need a package named something like "qt5-dev" or "libqt5-dev" or something similar. Do a little repo searching and see if you can find that package.
Hi,

many thanks for your reply!!!


EDIT: I have installed qt5-qmake:

Code: Select all

sudo apt-get install qt5-qmake
and the output now is this:

Code: Select all

kernel@kernel:/media/kernel/DATI/Software/Fluidsynth/qsynth-0.6.1$ ./configure  --prefix /bin/qsynth
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 pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for g++ major version... 7
checking for qtchooser... /usr/bin/qtchooser
checking for qmake... /usr/bin/qmake
checking for Qt major version... 5
checking for Qt install path... /usr/lib/qt5/bin
checking for qmake... /usr/lib/qt5/bin/qmake
checking for Qt install headers... /usr/include/x86_64-linux-gnu/qt5
checking for Qt install libraries... /usr/lib/x86_64-linux-gnu
checking for Qt library version >= 5.1... no; Qt 5.1 or greater is required
needed the 5.1... I Update this package simply with

Code: Select all

sudo apt-get update
?

Thanks again
Cheers

User avatar
rncbc
Established Member
Posts: 767
Joined: Mon Apr 19, 2010 12:20 pm
Contact:

Re: Qsynth in Linux Mint 19.03 Cin and Qt5

Post by rncbc »

Codesound wrote:
EDIT: I have installed qt5-qmake:

Code: Select all

sudo apt-get install qt5-qmake
that's not enough

you need the whole base of Qt5 development packages installed...

try this:

Code: Select all

sudo apt-get update
sudo apt-get install automake pkg-config
sudo apt-get install qtbase5-dev qtbase5-dev-tools qttools5-dev qttools5-dev-tools qtchooser
sudo apt-get install libfluidsynth-dev
and after that restart from a clean slate:

Code: Select all

cd /path/to/qsynth-source-dir
./autogen.sh clean
./autogen.sh
and proceed to build as usual:

Code: Select all

./configure
make
sudo make install
hth.
cheers

Codesound
Established Member
Posts: 22
Joined: Mon Aug 12, 2019 12:21 pm

Re: Qsynth in Linux Mint 19.03 Cin and Qt5

Post by Codesound »

Hi,

thanks for your support....

I performed all the operations you indicated and there were no errors from the terminal ...
I would never have been able to install it without your help !!!

Thanks again.... and hopefully everything is fine :cry:
Last edited by Codesound on Fri Mar 20, 2020 9:41 am, edited 1 time in total.

Codesound
Established Member
Posts: 22
Joined: Mon Aug 12, 2019 12:21 pm

Re: Qsynth in Linux Mint 19.03 Cin and Qt5

Post by Codesound »

I found it!!!!!

I write qsynth in the terminal..... :o

THANKS AGAIN AT ALL!!!!

Cheers....


Image

Post Reply