Also posted to askubuntu http://askubuntu.com/questions/888957/problem-building-qsynth-0-4-3-flui...
I'm trying to build qsynth 0.4.3 from source. I know I need fluidsynth installed and I have done that. But running ./configure in qsynth errors out.
$ ./configure --with-fluidsynth=/usr/local/include/fluidsynth
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... 4
checking for qmake-qt5... no
checking for qmake... /usr/lib/x86_64-linux-gnu/qt5/bin//qmake
checking for Qt major version... 5
checking for Qt install path... /usr/lib/x86_64-linux-gnu/qt5/bin
checking for qmake... (cached) /usr/lib/x86_64-linux-gnu/qt5/bin//qmake
checking for Qt install headers... /usr/include/qt5
checking for Qt install libraries... /usr/lib/x86_64-linux-gnu
checking for Qt library version >= 5.1... yes
checking for moc... /usr/lib/x86_64-linux-gnu/qt5/bin/moc
checking for uic... /usr/lib/x86_64-linux-gnu/qt5/bin/uic
checking for lupdate... /usr/bin/lupdate
checking for lrelease... /usr/bin/lrelease
checking for main in -lm... yes
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for lroundf in -lm... yes
checking for FLUIDSYNTH... no
configure: error: *** FLUIDSYNTH library not found.
I've also tried
./configure --with-fluidsynth=/usr/local/lib64
./configure --with-fluidsynth=/usr/local/include/
but same result
I successfully compiled and installed fluidsynth from the master branch
$ sudo make install
[sudo] password for :
[ 97%] Built target libfluidsynth
[100%] Built target fluidsynth
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/local/lib64/pkgconfig/fluidsynth.pc
-- Installing: /usr/local/bin/fluidsynth
-- Removed runtime path from "/usr/local/bin/fluidsynth"
-- Installing: /usr/local/lib64/libfluidsynth.so.1.5.2
-- Installing: /usr/local/lib64/libfluidsynth.so.1
-- Installing: /usr/local/lib64/libfluidsynth.so
-- Installing: /usr/local/include/fluidsynth.h
-- Installing: /usr/local/include/fluidsynth/audio.h
-- Installing: /usr/local/include/fluidsynth/event.h
-- Installing: /usr/local/include/fluidsynth/gen.h
-- Installing: /usr/local/include/fluidsynth/log.h
-- Installing: /usr/local/include/fluidsynth/midi.h
-- Installing: /usr/local/include/fluidsynth/misc.h
-- Installing: /usr/local/include/fluidsynth/mod.h
-- Installing: /usr/local/include/fluidsynth/ramsfont.h
-- Installing: /usr/local/include/fluidsynth/seq.h
-- Installing: /usr/local/include/fluidsynth/seqbind.h
-- Installing: /usr/local/include/fluidsynth/settings.h
-- Installing: /usr/local/include/fluidsynth/sfont.h
-- Installing: /usr/local/include/fluidsynth/shell.h
-- Installing: /usr/local/include/fluidsynth/synth.h
-- Installing: /usr/local/include/fluidsynth/types.h
-- Installing: /usr/local/include/fluidsynth/voice.h
-- Installing: /usr/local/include/fluidsynth/version.h
-- Installing: /usr/local/share/man/man1/fluidsynth.1
im running Mint 17.3 (ubuntu 14) any pointers appreciated
Problem building Qsynth 0.4.3 FLUIDSYNTH library not found
Hi there!
Sorry, Nick tries to build QSynth, not fluidsynth - my bad!
Recently I tried to build fluidsynth on Xubuntu 14.04 and synaptic reported libfluidsynth-dev (which you'll need) to be defective. I also tried versions from kxstudio and debian but didn't succeed.
Greetings, Michael
re. Problem building Qsynth 0.4.3 FLUIDSYNTH library not found
as you compiled and installed fluidsynth under
/usr/local
, your qsynth configure line should be likeconfigure --with-fluidsynth=/usr/local
, but rather say that you can drop the--with-fluidsynth
argument altogether as /usr/local should be in the default system search PATH environment anyway.if it still can't find the local fluidsynth installation, then it's probably a pkg-config configuration mistake or missing the common library search paths.
try to run `
pkg-config --libs fluidsynth
` and if it returns nothing, try again right after `export PKG_CONFIG_PATH="/usr/local/lib64:$PKG_CONFIG_PATH";
` then qsynth configure step may succeed, hopefully.hth.
cheers
great, thanks. that got me a
great, thanks. that got me a bit further
the configure and make completed ok, but make install failed
$ sudo make install
[sudo] password for nick:
lupdate: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/lupdate': No such file or directory
make: *** [translations_lupdate] Error 1
ive checked for lupdate
$ dpkg -S qt5/bin/lupdate
dpkg-query: no path found matching pattern *qt5/bin/lupdate*
$ dpkg -S lupdate
mono-devel: /usr/share/man/man1/crlupdate.1.gz
mono-devel: /usr/lib/mono/4.5/crlupdate.exe
mono-devel: /usr/bin/crlupdate
qtchooser: /usr/bin/lupdate
$ sudo locate lupdate
/usr/bin/crlupdate
/usr/bin/lupdate
/usr/lib/mono/4.5/crlupdate.exe
/usr/share/man/man1/crlupdate.1.gz
$ find /usr/lib/ -name lupdate
$
Ive got both qtchooser and qt5-default
$ sudo apt-cache policy qt5-default qtchooser
qt5-default:
Installed: 5.2.1+dfsg-1ubuntu14.3
Candidate: 5.2.1+dfsg-1ubuntu14.3
Version table:
*** 5.2.1+dfsg-1ubuntu14.3 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
100 /var/lib/dpkg/status
5.2.1+dfsg-1ubuntu14 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
qtchooser:
Installed: 39-g4717841-3
Candidate: 39-g4717841-3
Version table:
*** 39-g4717841-3 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
re. Problem building Qsynth 0.4.3 FLUIDSYNTH
as far as i can tell, the debian packages exact names that you should have pre-installed are: qtbase5-dev, qtbase5-dev-tools, qttools5-dev-tools, libqt5x11extras5-dev -- one of those comes bundled with the Qt5 i18n tools, linguistic, lupdate and lrelease in particular.
hth.
cheers
Add new comment