calf-studio-gear / calf

Developers repository of Calf Studio Gear. Expect some issues when using it for production.
http://calf-studio-gear.org
GNU Lesser General Public License v2.1
662 stars 93 forks source link

doesn't recognize fluidsynth during install / problems with make? #317

Open jubwub opened 1 year ago

jubwub commented 1 year ago

Hello,

I'm trying to install calf and seem to have hit this snag. I needed to install a bunch of dependencies (which I hope I did install them all successfully), but it's saying my fluidsynth library isn't found, even though I do a --version test after and it confirms I have fluidsynth 2.2.5 installed.

<pre><span style="background-color:#0087AF"><font color="#FFFFFF"><b> jub </b></font></span><span style="background-color:#585858"><font color="#0087AF"> </font></span><span style="background-color:#585858"><font color="#BCBCBC">~ </font></span><span style="background-color:#585858"><font color="#8A8A8A"> </font></span><span style="background-color:#585858"><font color="#D0D0D0"><b>calf-0.90.3 </b></font></span><font color="#585858"> </font>./autogen.sh
configure.ac:7: warning: The macro `AC_CONFIG_HEADER&apos; is obsolete.
configure.ac:7: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:7: the top level
configure.ac:51: warning: The macro `AC_HEADER_STDC&apos; is obsolete.
configure.ac:51: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:51: the top level
configure.ac:112: warning: The macro `AC_HELP_STRING&apos; is obsolete.
configure.ac:112: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:112: the top level
configure.ac:120: warning: The macro `AC_HELP_STRING&apos; is obsolete.
configure.ac:120: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:120: the top level
configure.ac:127: warning: The macro `AC_HELP_STRING&apos; is obsolete.
configure.ac:127: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:127: the top level
configure.ac:134: warning: The macro `AC_HELP_STRING&apos; is obsolete.
configure.ac:134: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:134: the top level
configure.ac:141: warning: The macro `AC_HELP_STRING&apos; is obsolete.
configure.ac:141: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:141: the top level
configure.ac:148: warning: The macro `AC_HELP_STRING&apos; is obsolete.
configure.ac:148: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:148: the top level
configure.ac:220: warning: The macro `AC_HELP_STRING&apos; is obsolete.
configure.ac:220: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:220: the top level
configure.ac:8: installing &apos;./compile&apos;
configure.ac:11: installing &apos;./missing&apos;
Makefile.am:12: warning: wildcard sf2/*.sf2: non-POSIX variable name
Makefile.am:12: (probably a GNU make extension)
gui/Makefile.am:3: warning: wildcard $(srcdir: non-POSIX variable name
gui/Makefile.am:3: (probably a GNU make extension)
gui/Makefile.am:4: warning: wildcard $(srcdir: non-POSIX variable name
gui/Makefile.am:4: (probably a GNU make extension)
gui/icons/LV2/Makefile.am:1: warning: wildcard *.svg: non-POSIX variable name
gui/icons/LV2/Makefile.am:1: (probably a GNU make extension)
src/Makefile.am: installing &apos;./depcomp&apos;
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for egrep... (cached) /usr/bin/grep -E
checking for memory.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for time.h... yes
checking for math.h... yes
checking for expat.h... yes
checking for XML_Parse in -lexpat... yes
checking for jack/jack.h... no
checking for glib-2.0 &gt;= 2.0.0 gthread-2.0 &gt;= 2.0.0... yes
checking for fluidsynth &gt;= 1.0.7... no
configure: error: fluidsynth library not found
<span style="background-color:#0087AF"><font color="#FFFFFF"><b> jub </b></font></span><span style="background-color:#585858"><font color="#0087AF"> </font></span><span style="background-color:#585858"><font color="#BCBCBC">~ </font></span><span style="background-color:#585858"><font color="#8A8A8A"> </font></span><span style="background-color:#585858"><font color="#D0D0D0"><b>calf-0.90.3 </b></font></span><span style="background-color:#5F0000"><font color="#585858"> </font></span><span style="background-color:#5F0000"><font color="#FFFFFF">1 </font></span><font color="#5F0000"> </font>fluidsynth --version
FluidSynth runtime version 2.2.5
Copyright (C) 2000-2022 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of Creative Technology Ltd.

FluidSynth executable version 2.2.5
Sample type=double
<span style="background-color:#0087AF"><font color="#FFFFFF"><b> jub </b></font></span><span style="background-color:#585858"><font color="#0087AF"> </font></span><span style="background-color:#585858"><font color="#BCBCBC">~ </font></span><span style="background-color:#585858"><font color="#8A8A8A"> </font></span><span style="background-color:#585858"><font color="#D0D0D0"><b>calf-0.90.3 </b></font></span><font color="#585858"> </font>
</pre>

Is there something else I'm missing? Thanks, Jub

CKRiedel commented 1 year ago

you need to install the libfluidsynth also, e.g. sudo apt install libfluidsynth-dev