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

configure fails when disabling JACK without other options #165

Open simonvanderveldt opened 6 years ago

simonvanderveldt commented 6 years ago

New checkout from current master 2e1904f0b615301e418470a5679123075bf3d1fa

$ ./bootstrap
$ ./configure --disable-jack 
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... + mount -t proc proc /mnt/gentoo/proc
mount: only root can use "--types" option
+ mount --rbind /sys /mnt/gentoo/sys
mount: only root can use "--rbind" option
+ mount --make-rslave /mnt/gentoo/sys
mount: only root can use "--make-rslave" option
+ mount --rbind /dev /mnt/gentoo/dev
mount: only root can use "--rbind" option
+ mount --make-rslave /mnt/gentoo/dev
mount: only root can use "--make-rslave" option
+ chroot /mnt/gentoo /bin/bash
chroot: cannot change root directory to '/mnt/gentoo': No such file or directory
+ source /etc/profile
++ '[' -e /etc/profile.env ']'
++ . /etc/profile.env
+++ export ANT_HOME=/usr/share/ant
+++ ANT_HOME=/usr/share/ant
+++ export CONFIG_PROTECT=/usr/share/gnupg/qualified.txt
+++ CONFIG_PROTECT=/usr/share/gnupg/qualified.txt
+++ export 'CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/gconf /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild'
+++ CONFIG_PROTECT_MASK='/etc/sandbox.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/gconf /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild'
+++ export FLTK_DOCDIR=/usr/share/doc/fltk-1.3.3-r3/html
+++ FLTK_DOCDIR=/usr/share/doc/fltk-1.3.3-r3/html
+++ export GCC_SPECS=
+++ GCC_SPECS=
+++ export GSETTINGS_BACKEND=dconf
+++ GSETTINGS_BACKEND=dconf
+++ export INFOPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/info:/usr/share/info
+++ INFOPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/info:/usr/share/info
+++ export LADSPA_PATH=/usr/lib64/ladspa
+++ LADSPA_PATH=/usr/lib64/ladspa
+++ export LANG=en_US.UTF-8
+++ LANG=en_US.UTF-8
+++ export 'LESS=-R -M --shift 5'
+++ LESS='-R -M --shift 5'
+++ export 'LESSOPEN=|lesspipe %s'
+++ LESSOPEN='|lesspipe %s'
+++ export MANPAGER=manpager
+++ MANPAGER=manpager
+++ export MANPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/man:/usr/lib/llvm/6/share/man:/etc/java-config-2/current-system-vm/man/:/usr/local/share/man:/usr/share/man
+++ MANPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/man:/usr/lib/llvm/6/share/man:/etc/java-config-2/current-system-vm/man/:/usr/local/share/man:/usr/share/man
+++ export OPENCL_PROFILE=nvidia
+++ OPENCL_PROFILE=nvidia
+++ export OPENGL_PROFILE=xorg-x11
+++ OPENGL_PROFILE=xorg-x11
+++ export PATH=/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin
+++ PATH=/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin
+++ export QT_GRAPHICSSYSTEM=raster
+++ QT_GRAPHICSSYSTEM=raster
+++ export ROOTPATH=/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin
+++ ROOTPATH=/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin
+++ export XDG_CONFIG_DIRS=/etc/xdg
+++ XDG_CONFIG_DIRS=/etc/xdg
+++ export XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/gdm
+++ XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/gdm
++ export EDITOR=/bin/nano
++ EDITOR=/bin/nano
++ export PAGER=/usr/bin/less
++ PAGER=/usr/bin/less
++ umask 022
++ '[' 1000 = 0 ']'
++ '[' simon = root ']'
++ export PATH
++ unset ROOTPATH
++ '[' -n '4.4.12(1)-release' ']'
++ '[' -f /etc/bash/bashrc ']'
++ . /etc/bash/bashrc
+++ [[ hxB != *i* ]]
+++ return
++ for sh in /etc/profile.d/*.sh
++ '[' -r /etc/profile.d/java-config-2.sh ']'
++ . /etc/profile.d/java-config-2.sh
+++ gentoo_user_vm=/home/simon/.gentoo/java-config-2/current-user-vm
+++ gentoo_system_vm=/etc/java-config-2/current-system-vm
+++ '[' -z 1000 ']'
+++ '[' '' '!=' 0 -a -L /home/simon/.gentoo/java-config-2/current-user-vm ']'
+++ '[' -L /etc/java-config-2/current-system-vm ']'
+++ export JAVA_HOME=/etc/java-config-2/current-system-vm
+++ JAVA_HOME=/etc/java-config-2/current-system-vm
+++ export MANPATH=/etc/java-config-2/current-system-vm/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/man:/usr/lib/llvm/6/share/man:/etc/java-config-2/current-system-vm/man/:/usr/local/share/man:/usr/share/man
+++ MANPATH=/etc/java-config-2/current-system-vm/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/man:/usr/lib/llvm/6/share/man:/etc/java-config-2/current-system-vm/man/:/usr/local/share/man:/usr/share/man
+++ export JDK_HOME=/etc/java-config-2/current-system-vm
+++ JDK_HOME=/etc/java-config-2/current-system-vm
+++ export JAVAC=/etc/java-config-2/current-system-vm/bin/javac
+++ JAVAC=/etc/java-config-2/current-system-vm/bin/javac
+++ unset gentoo_user_vm gentoo_system_vm user_id
++ for sh in /etc/profile.d/*.sh
++ '[' -r /etc/profile.d/vte-2.91.sh ']'
++ . /etc/profile.d/vte-2.91.sh
+++ '[' -n '4.4.12(1)-release' -o -n '' ']'
+++ [[ hxB == *i* ]]
+++ return 0
++ unset sh
+ export 'PS1=(chroot) '
+ PS1='(chroot) '
/usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking whether ln -s works... yes
checking whether to build with mingw32 for a Windows host... checking major version... 0
checking minor version... 95
checking patchlevel... 0
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/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 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/x86_64-pc-linux-gnu/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 command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.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/x86_64-pc-linux-gnu/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 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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-pc-linux-gnu/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/x86_64-pc-linux-gnu/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 ANSI C header files... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for string.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for sys/stat.h... (cached) yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for doxygen... no
configure: WARNING: Doxygen not found, FYI only, not to worry
configure: JACK disabled.
configure: LASH support disabled.
checking for ALSA CFLAGS... 
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... found.
checking for snd_ctl_open in -lasound... yes
rtmidi engine build enabled.
configure: PortMidi build disabled.
checking for _init in -lgtkmm-2.4... yes
checking for main in -lsigc-2.0... yes
checking for gtkmm-2.4 >= 2.4.0... no
configure: error: in `/home/simon/src/forks/sequencer64':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables GTKMM_CFLAGS
and GTKMM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details

The message The pkg-config script could not be found or is too old is incorrect, when I run just ./configure it works fine:

$ ./configure               
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... + mount -t proc proc /mnt/gentoo/proc
mount: only root can use "--types" option
+ mount --rbind /sys /mnt/gentoo/sys
mount: only root can use "--rbind" option
+ mount --make-rslave /mnt/gentoo/sys
mount: only root can use "--make-rslave" option
+ mount --rbind /dev /mnt/gentoo/dev
mount: only root can use "--rbind" option
+ mount --make-rslave /mnt/gentoo/dev
mount: only root can use "--make-rslave" option
+ chroot /mnt/gentoo /bin/bash
chroot: cannot change root directory to '/mnt/gentoo': No such file or directory
+ source /etc/profile
++ '[' -e /etc/profile.env ']'
++ . /etc/profile.env
+++ export ANT_HOME=/usr/share/ant
+++ ANT_HOME=/usr/share/ant
+++ export CONFIG_PROTECT=/usr/share/gnupg/qualified.txt
+++ CONFIG_PROTECT=/usr/share/gnupg/qualified.txt
+++ export 'CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/gconf /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild'
+++ CONFIG_PROTECT_MASK='/etc/sandbox.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/gconf /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild'
+++ export FLTK_DOCDIR=/usr/share/doc/fltk-1.3.3-r3/html
+++ FLTK_DOCDIR=/usr/share/doc/fltk-1.3.3-r3/html
+++ export GCC_SPECS=
+++ GCC_SPECS=
+++ export GSETTINGS_BACKEND=dconf
+++ GSETTINGS_BACKEND=dconf
+++ export INFOPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/info:/usr/share/info
+++ INFOPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/info:/usr/share/info
+++ export LADSPA_PATH=/usr/lib64/ladspa
+++ LADSPA_PATH=/usr/lib64/ladspa
+++ export LANG=en_US.UTF-8
+++ LANG=en_US.UTF-8
+++ export 'LESS=-R -M --shift 5'
+++ LESS='-R -M --shift 5'
+++ export 'LESSOPEN=|lesspipe %s'
+++ LESSOPEN='|lesspipe %s'
+++ export MANPAGER=manpager
+++ MANPAGER=manpager
+++ export MANPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/man:/usr/lib/llvm/6/share/man:/etc/java-config-2/current-system-vm/man/:/usr/local/share/man:/usr/share/man
+++ MANPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/man:/usr/lib/llvm/6/share/man:/etc/java-config-2/current-system-vm/man/:/usr/local/share/man:/usr/share/man
+++ export OPENCL_PROFILE=nvidia
+++ OPENCL_PROFILE=nvidia
+++ export OPENGL_PROFILE=xorg-x11
+++ OPENGL_PROFILE=xorg-x11
+++ export PATH=/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin
+++ PATH=/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin
+++ export QT_GRAPHICSSYSTEM=raster
+++ QT_GRAPHICSSYSTEM=raster
+++ export ROOTPATH=/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin
+++ ROOTPATH=/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin
+++ export XDG_CONFIG_DIRS=/etc/xdg
+++ XDG_CONFIG_DIRS=/etc/xdg
+++ export XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/gdm
+++ XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/gdm
++ export EDITOR=/bin/nano
++ EDITOR=/bin/nano
++ export PAGER=/usr/bin/less
++ PAGER=/usr/bin/less
++ umask 022
++ '[' 1000 = 0 ']'
++ '[' simon = root ']'
++ export PATH
++ unset ROOTPATH
++ '[' -n '4.4.12(1)-release' ']'
++ '[' -f /etc/bash/bashrc ']'
++ . /etc/bash/bashrc
+++ [[ hxB != *i* ]]
+++ return
++ for sh in /etc/profile.d/*.sh
++ '[' -r /etc/profile.d/java-config-2.sh ']'
++ . /etc/profile.d/java-config-2.sh
+++ gentoo_user_vm=/home/simon/.gentoo/java-config-2/current-user-vm
+++ gentoo_system_vm=/etc/java-config-2/current-system-vm
+++ '[' -z 1000 ']'
+++ '[' '' '!=' 0 -a -L /home/simon/.gentoo/java-config-2/current-user-vm ']'
+++ '[' -L /etc/java-config-2/current-system-vm ']'
+++ export JAVA_HOME=/etc/java-config-2/current-system-vm
+++ JAVA_HOME=/etc/java-config-2/current-system-vm
+++ export MANPATH=/etc/java-config-2/current-system-vm/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/man:/usr/lib/llvm/6/share/man:/etc/java-config-2/current-system-vm/man/:/usr/local/share/man:/usr/share/man
+++ MANPATH=/etc/java-config-2/current-system-vm/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/man:/usr/lib/llvm/6/share/man:/etc/java-config-2/current-system-vm/man/:/usr/local/share/man:/usr/share/man
+++ export JDK_HOME=/etc/java-config-2/current-system-vm
+++ JDK_HOME=/etc/java-config-2/current-system-vm
+++ export JAVAC=/etc/java-config-2/current-system-vm/bin/javac
+++ JAVAC=/etc/java-config-2/current-system-vm/bin/javac
+++ unset gentoo_user_vm gentoo_system_vm user_id
++ for sh in /etc/profile.d/*.sh
++ '[' -r /etc/profile.d/vte-2.91.sh ']'
++ . /etc/profile.d/vte-2.91.sh
+++ '[' -n '4.4.12(1)-release' -o -n '' ']'
+++ [[ hxB == *i* ]]
+++ return 0
++ unset sh
+ export 'PS1=(chroot) '
+ PS1='(chroot) '
/usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking whether ln -s works... yes
checking whether to build with mingw32 for a Windows host... checking major version... 0
checking minor version... 95
checking patchlevel... 0
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/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 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/x86_64-pc-linux-gnu/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 command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.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/x86_64-pc-linux-gnu/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 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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-pc-linux-gnu/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/x86_64-pc-linux-gnu/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 ANSI C header files... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for string.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for sys/stat.h... (cached) yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for doxygen... no
configure: WARNING: Doxygen not found, FYI only, not to worry
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for jack >= 0.90.0... yes
checking jack/session.h usability... yes
checking jack/session.h presence... yes
checking for jack/session.h... yes
JACK support enabled.
configure: LASH support disabled.
checking for ALSA CFLAGS... 
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... found.
checking for snd_ctl_open in -lasound... yes
rtmidi engine build enabled.
configure: PortMidi build disabled.
checking for _init in -lgtkmm-2.4... yes
checking for main in -lsigc-2.0... yes
checking for gtkmm-2.4 >= 2.4.0... yes
Highlighting empty sequences enabled.
Event editor enabled.
Pausing sequences and pause-button enabled.
Multiple main windows enabled.
configure: Statistics gathering disabled.
Seq32 JACK support permanently enabled.
Seq32 LFO window support enabled.
Chord generator enabled.
configure: Main patterns-panel scrollbars disabled.
checking whether to enable gcov coverage tests... no
checking whether to enable gprof profiling... no
checking whether to enable gdb debugging... no
configure: Normal pthreads support
checking Running normal PTHREAD test... checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating libseq64/Makefile
config.status: creating libseq64/include/Makefile
config.status: creating libseq64/src/Makefile
config.status: creating seq_alsamidi/Makefile
config.status: creating seq_alsamidi/include/Makefile
config.status: creating seq_alsamidi/src/Makefile
config.status: creating seq_gtkmm2/Makefile
config.status: creating seq_gtkmm2/include/Makefile
config.status: creating seq_gtkmm2/src/Makefile
config.status: creating seq_qt5/Makefile
config.status: creating seq_qt5/include/Makefile
config.status: creating seq_qt5/forms/Makefile
config.status: creating seq_qt5/src/Makefile
config.status: creating seq_portmidi/Makefile
config.status: creating seq_portmidi/include/Makefile
config.status: creating seq_portmidi/src/Makefile
config.status: creating seq_rtmidi/Makefile
config.status: creating seq_rtmidi/include/Makefile
config.status: creating seq_rtmidi/src/Makefile
config.status: creating resources/pixmaps/Makefile
config.status: creating Sequencer64/Makefile
config.status: creating Seq64portmidi/Makefile
config.status: creating Seq64qt5/Makefile
config.status: creating Seq64rtmidi/Makefile
config.status: creating Seq64cli/Makefile
config.status: creating Midiclocker64/Makefile
config.status: creating man/Makefile
config.status: creating data/Makefile
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing include/seq64-config.h commands
config.status: creating include/seq64-config.h - prefix SEQ64 for include/config.h defines
config.status: include/seq64-config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Do 'make' to compile the selected application.  Do 'make install'
as root/sudo to install the selected application.  Some tests can be run
using the separate seq64-tests project.  Do 'make dist', etc. to create gzip
and other archives.  To build the PDF documentation, make sure Doxygen and
TexLive are installed, change to the doc/dox directory, and run './make_dox
reference'.  To clean the documentation, run './make_dox clean'.  'install' and
'uninstall' are other options for make_dox.
simonvanderveldt commented 6 years ago

Could it be there is no MIDI backend when configured like this? I believe rtmidi should be the default, but ./configure --help is a little ambiguous in that it shows

  --enable-rtmidi         Enable rtmidi build, the default engine

I.e. it's an --enable type options yet it's described as being the default engine.

ahlstromcj commented 6 years ago

Well, the ALSA-only (legacy version, deprecated) and PortMidi engines are available as well (and PortMidi is used for the Windows version).

The error you're getting is in regard to Gtkmm (!). I can duplicate that error, and am looking into it, but currently it makes no sense to me.

If you figure it out before me, let me know. A weird one!

To be truthful, I STILL need to work more on the autoconf setup.

-------- Simon van der Veldt 05:28 Fri 14 Sep --------

Could it be there is no MIDI backend when configured like this? I believe rtmidi should be the default, but ./configure --help is a little ambiguous in that it shows

--enable-rtmidi Enable rtmidi build, the default engine

I.e. it's an --enable type options yet it's described as being the default engine.

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

References

Visible links

  1. https://github.com/ahlstromcj/sequencer64/issues/165#issuecomment-421343172
  2. https://github.com/notifications/unsubscribe-auth/AHnVqLfIgq_PFFw-KNswgAC8wnfOY_v3ks5ua6DVgaJpZM4WpLb8

-- There is a 20% chance of tomorrow.

ahlstromcj commented 6 years ago

I was able to get configure to succeed using:

PKG_CONFIG="/usr/bin/pkg-config" ./configure --disable-jack

Not sure why that is needed, though.

But the midi_jack* modules in the seq_rtmidi library will not build. I haven't bothered to support disabling JACK, but if you want to work on the code in a fork, that would be a big help. I'm currently frying other fish in seq64 (sigh).

simonvanderveldt commented 6 years ago

I was able to get configure to succeed using:

PKG_CONFIG="/usr/bin/pkg-config" ./configure --disable-jack

Not sure why that is needed, though.

Hmm, that's odd. I'll see if I can figure out why this is happening

But the midi_jack* modules in the seq_rtmidi library will not build. I haven't bothered to support disabling JACK, but if you want to work on the code in a fork, that would be a big help. I'm currently frying other fish in seq64 (sigh).

When disabling JACK I guess another backend should be used, right? Since the ALSA one is deprecated I guess that should be rtmidi (just looking at Linux here)? Or is the portmidi backend supposed to cover all OSes?

Btw, building without JACK was just something that came up from our tests. I'm totally OK with using JACK and having it enabled :)

simonvanderveldt commented 6 years ago

Just had a look at the ./configure script, which seems to undoable to understand, it's rather unclear which if belongs to which else, etc. Looking at the section around line 19620(!) I'd say it all looks rather incorrect with stuff like this

else
  pkg_failed=yes
fi
 else
    pkg_failed=untried
fi

Anyway, I'm afraid I can't really help with trying to figure it out. The only suggestion I can do is to switch to a usable buildsystem like CMake (which will be a bunch of work, but seems worth it to me vs this). For now I'll just make sure JACK is always enabled.

ahlstromcj commented 6 years ago

I think its an automake bug. I worked around it by add this to the configure.ac:

export PKG_CONFIG=$(which pkg-config)

I think some automake beard got confused about the difference between that variable and PKG_CONFIG_PATH, which refers to where your "pc" files are supposed to go.

Actually, I like automake and find it powerful and usable. I tried to get into cmake years ago, and after a couple days of working with it, it seemed to me just as complex a way to solve dependency issues as automake. And naming the configuration file with a ".txt" extension??? And I've experienced its issue in building Yoshimi, which uses cmake.

I also spent many days trying to get bjam to do everything I needed, and had to give up.

Choice is good!

If I were to convert to another build system, I would use qmake, which seems cleaner than both automake and cmake, though maybe not as powerful. It does the job. In fact, I use it for both the Linux and Windows (still waiting for some Mac guy to try it, I ain't buying a Mac) versions of the Qt gui (though I also have automake building the Qt gui as well). See the INSTALL file.

I build the Windows version on Windows, 7zip the deployment package, copy it to Linux, and run makensis on Linux to build the installation exe.

-------- Simon van der Veldt 07:10 Sat 15 Sep --------

Just had a look at the ./configure script, which seems to undoable to understand, it's rather unclear which if belongs to which else, etc. Looking at the section around line 19620(!) I'd say it all looks rather incorrect with stuff like this

else pkg_failed=yes fi else pkg_failed=untried fi

Anyway, I'm afraid I can't really help with trying to figure it out. The only suggestion I can do is to switch to a usable buildsystem like CMake (which will be a bunch of work, but seems worth it to me vs this).

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

References

Visible links

  1. https://github.com/ahlstromcj/sequencer64/issues/165#issuecomment-421576263
  2. https://github.com/notifications/unsubscribe-auth/AHnVqPY2IyyFBbSATPZXHFSFwJ_wGmqrks5ubQpAgaJpZM4WpLb8

-- "Not Hercules could have knock'd out his brains, for he had none." -- Shakespeare

simonvanderveldt commented 6 years ago

@ahlstromcj Thanks for the fix!

Just tried to compile current master again with --disable-jack, the configure now works correctly, but I get this compilation error. Figured it makes more sense to paste it here than to create a new issue

In file included from midiclocker64.cpp:36:0:
midi_clocker.hpp:38:10: fatal error: jack/jack.h: No such file or directory
 #include <jack/jack.h>
          ^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:595: midiclocker64.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from midi_clocker.cpp:44:0:
midi_clocker.hpp:38:10: fatal error: jack/jack.h: No such file or directory
 #include <jack/jack.h>
          ^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:595: midi_clocker.o] Error 1
ahlstromcj commented 6 years ago

Hmm, thought I fixed it. Will fix after work tonight. Sorry for the slip-up!

On Mon, Sep 17, 2018, 12:55 Simon van der Veldt notifications@github.com wrote:

@ahlstromcj https://github.com/ahlstromcj Thanks for the fix!

Just tried to compile current master again with --disable-jack, the configure now works correctly, but I get this compilation error. Figured it makes more sense to paste it here than to create a new issue

In file included from midiclocker64.cpp:36:0: midi_clocker.hpp:38:10: fatal error: jack/jack.h: No such file or directory

include <jack/jack.h>

      ^~~~~~~~~~~~~

compilation terminated. make[1]: [Makefile:595: midiclocker64.o] Error 1 make[1]: Waiting for unfinished jobs.... In file included from midi_clocker.cpp:44:0: midi_clocker.hpp:38:10: fatal error: jack/jack.h: No such file or directory

include <jack/jack.h>

      ^~~~~~~~~~~~~

compilation terminated. make[1]: *** [Makefile:595: midi_clocker.o] Error 1

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ahlstromcj/sequencer64/issues/165#issuecomment-422090857, or mute the thread https://github.com/notifications/unsubscribe-auth/AHnVqCbT7fUmhTEMQj8PJVej0mqfPXPuks5ub9PugaJpZM4WpLb8 .

ahlstromcj commented 6 years ago

This fix was in master. Without JACK, the Midiclocker64 test application is useless, but it will build without error.