MikeWang000000/spek-X

The requested wxWidgets build couldn't be found.

Closed this issue · 3 comments

git version

checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 3.1.7... ./configure: line 18077: test: 3.1: integer expression expected
./configure: line 18080: test: 3.1: integer expression expected
no (version 3.2.2.1 is not new enough)
configure: error: 
    The requested wxWidgets build couldn't be found.
    

    If you still get this error, then check that 'wx-config' is
    in path, the directory where wxWidgets libraries are installed
    (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
    or equivalent variable and wxWidgets version is 3.1.7 or above.

Sorry, I cannot reproduce this issue.
Btw, are you compiling alexkay/spek instead of Spek-X?
Spek-X's requirement for wxWidgets is currently set >= 3.0.0 instead of 3.1.7

~ $ sudo cat /tmp/portage/media-sound/spek-X-9999/temp/build.log
Password: 
 * Package:    media-sound/spek-X-9999:0
 * Repository: pg_overlay
 * Maintainer: xmw@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 * Repository id: MikeWang000000_spek-X.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_MIKEWANG000000_SPEK_X
 *   EGIT_OVERRIDE_BRANCH_MIKEWANG000000_SPEK_X
 *   EGIT_OVERRIDE_COMMIT_MIKEWANG000000_SPEK_X
 *   EGIT_OVERRIDE_COMMIT_DATE_MIKEWANG000000_SPEK_X
 * 
 * Fetching https://github.com/MikeWang000000/spek-X.git ...
git fetch https://github.com/MikeWang000000/spek-X.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/media-sound/spek-X/0/__main__ refs/git-r3/HEAD
 * Checking out https://github.com/MikeWang000000/spek-X.git to /tmp/portage/media-sound/spek-X-9999/work/spek-X-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
   repository:               https://github.com/MikeWang000000/spek-X.git
   at the commit:            362dd16fb39e83cf95c5ab1af2d63135e1ad220a
>>> Source unpacked in /tmp/portage/media-sound/spek-X-9999/work
>>> Preparing source in /tmp/portage/media-sound/spek-X-9999/work/spek-X-9999 ...
 * Running eautoreconf in '/tmp/portage/media-sound/spek-X-9999/work/spek-X-9999' ...
 * Running 'autopoint --force' ...
 [ ok ]
 * Running 'intltoolize --automake --copy --force' ...
 [ ok ]
 * Running 'libtoolize --install --copy --force --automake' ...
 [ ok ]
 * Running 'aclocal --system-acdir=/tmp/portage/media-sound/spek-X-9999/temp/aclocal' ...
 [ ok ]
 * Running 'autoconf --force' ...
 [ ok ]
 * Running 'autoheader' ...
 [ ok ]
 * Running 'automake --add-missing --copy --foreign --force-missing' ...
 [ ok ]
 * Running elibtoolize in: spek-X-9999/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /tmp/portage/media-sound/spek-X-9999/work/spek-X-9999 ...
 * 
 * Requested wxWidgets:        3.2-gtk3
 * Using wxWidgets:            gtk3-unicode-3.2-gtk3
 * 
 * econf: updating spek-X-9999/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating spek-X-9999/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/spek-X-9999 --htmldir=/usr/share/doc/spek-X-9999/html --with-sysroot=/ --libdir=/usr/lib64
checking for a BSD-compatible install... install-xattr: setxattr() failed: Operation not permitted
/usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make LIBTOOL=rlibtool sets $(MAKE)... yes
checking whether make LIBTOOL=rlibtool supports nested variables... yes
checking whether make LIBTOOL=rlibtool supports nested variables... (cached) yes
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
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 x86_64-pc-linux-gnu-g++ accepts -g... yes
checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... none needed
checking whether make LIBTOOL=rlibtool supports the include directive... yes (GNU style)
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
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 x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the compiler supports GNU C... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc... none
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 x86_64-pc-linux-gnu-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)... gcc-nm
checking the name lister (gcc-nm) 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/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-file... no
checking for file... file
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... gcc-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... gcc-ranlib
checking command to parse gcc-nm output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... /
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : 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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... yes
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-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... no
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-ranlib... (cached) gcc-ranlib
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.36.0
checking for XML::Parser... ok
checking the OS... UNIX
checking for valgrind... no
checking for log10 in -lm... yes
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for AVFORMAT... yes
checking for AVCODEC... yes
checking for AVUTIL... yes
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 3.0.0... ./configure: line 18444: test: 3.1: integer expression expected
./configure: line 18447: test: 3.1: integer expression expected
no (version 3.2.2.1 is not new enough)
configure: error: 
    The requested wxWidgets build couldn't be found.
    

    If you still get this error, then check that 'wx-config' is
    in path, the directory where wxWidgets libraries are installed
    (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
    or equivalent variable and wxWidgets version is 3.0.0 or above

wxWidgets/wxWidgets#23289
Please try to build with wxWidgets 3.2.1 instead.