Upgrading to 1.15.0 not working

The place to discuss linux version of MakeMKV
Post Reply
Message
Author
everydaydiesel
Posts: 4
Joined: Wed Mar 04, 2020 10:19 pm

Upgrading to 1.15.0 not working

#1 Post by everydaydiesel » Wed Mar 04, 2020 10:35 pm

Hello, Registered user here. I am trying to upgrade to 1.15.0 from 1.14.7 but cannot due to an error.

I am using this guide https://www.makemkv.com/forum/viewtopic.php?t=224
As far as I know I have QT5 installed (I have QT Creator installed and updated)

Code: Select all

$ sudo apt-get install build-essential pkg-config libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev libqt4-dev zlib1g-dev
[sudo] password for user:           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
libc6-dev is already the newest version (2.27-3ubuntu1).
pkg-config is already the newest version (0.29.1-0ubuntu2).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
libqt4-dev is already the newest version (4:4.8.7+dfsg-7ubuntu1).
libexpat1-dev is already the newest version (2.2.5-3ubuntu0.2).
libgl1-mesa-dev is already the newest version (19.2.8-0ubuntu0~18.04.3).
libssl-dev is already the newest version (1.1.1-1ubuntu2.1~18.04.5).
libavcodec-dev is already the newest version (7:3.4.6-0ubuntu0.18.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Code: Select all

makemkv-oss-1.15.0$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-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 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 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/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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-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 mt... mt
checking if mt 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/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 for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
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 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 -objcopy... no
checking for objcopy... objcopy
checking for -ld... /usr/bin/ld -m elf_x86_64
checking for a BSD-compatible install... /usr/bin/install -c
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress2 in -lz... yes
checking openssl/opensslconf.h usability... yes
checking openssl/opensslconf.h presence... yes
checking for openssl/opensslconf.h... yes
checking for AES_encrypt in -lcrypto... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ffmpeg... yes
checking whether LIBAVCODEC_VERSION_MAJOR is declared... yes
checking LIBAVCODEC_VERSION_MAJOR... 57
checking whether avcodec_send_frame is declared... yes
checking for AVFrame.channels... yes
checking for av_log_format_line... yes
checking for enum AVCodecID... yes
checking whether AV_CODEC_ID_NONE is declared... yes
checking for AVCodecParserContext.duration... yes
checking whether AV_CH_TOP_BACK_CENTER is declared... yes
checking for ff_ac3_decoder... no
checking for qt5... no
configure: error: Qt library (version 5) is required to build GUI

Code: Select all

$ apt list qt5*
Listing... Done
qt5-assistant/bionic 5.9.5-0ubuntu1 amd64
qt5-default/bionic-updates,bionic-security 5.9.5+dfsg-0ubuntu2.5 amd64
qt5-doc/bionic,bionic 5.9.5-0ubuntu1 all
qt5-doc-html/bionic,bionic 5.9.5-0ubuntu1 all
qt5-gtk-platformtheme/bionic-updates,bionic-security,now 5.9.5+dfsg-0ubuntu2.5 amd64 [installed]
qt5-image-formats-plugins/bionic 5.9.5-0ubuntu1 amd64
qt5-qmake/bionic-updates,bionic-security 5.9.5+dfsg-0ubuntu2.5 amd64
qt5-qmake-bin/bionic-updates,bionic-security 5.9.5+dfsg-0ubuntu2.5 amd64
qt5-qmltooling-plugins/bionic-updates 5.9.5-0ubuntu1.1 amd64
qt5-style-plugins/bionic,now 5.0.0+git23.g335dbec-2build5 amd64 [installed]
qt5ct/bionic,now 0.34-1build2 amd64 [installed]
qt5dxcb-plugin/bionic 1.1.8.4+ds-1build1 amd64
qt5keychain-dev/bionic 0.7.0-3 amd64
qt5qevercloud-dev/bionic 3.0.3+ds-3 amd64
qt5serialport-examples/bionic 5.9.5-0ubuntu1 amd64

Any Ideas on what could cause this?

mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Upgrading to 1.15.0 not working

#2 Post by mike admin » Wed Mar 04, 2020 11:19 pm

Code: Select all

checking for qt5... no
configure: error: Qt library (version 5) is required to build GUI
Starting with 1.15.0 building with qt4 is no longer supported. You just need to install qt5.

revjasper
Posts: 2
Joined: Thu Mar 05, 2020 12:32 am

Re: Upgrading to 1.15.0 not working

#3 Post by revjasper » Thu Mar 05, 2020 4:33 am

I've freshly installed QT5 Creator, configured gcc, and done all the normal things on this, yet am still getting the error the OP mentioned above. The output still shows me "checking for qt5... no". Is there a particular library that needs to be installed that isn't part of the normal QT5 installation?

Woodstock
Posts: 10332
Joined: Sun Jul 24, 2011 11:21 pm

Re: Upgrading to 1.15.0 not working

#4 Post by Woodstock » Thu Mar 05, 2020 4:44 am

Did you install the QT5 developer files? Just installing the binary libraries does not install the header files to compile against. Those would be in the -dev or -devel packages (depending on your Linux distribution).

lolmer
Posts: 1
Joined: Thu Mar 05, 2020 5:38 am

Re: Upgrading to 1.15.0 not working

#5 Post by lolmer » Thu Mar 05, 2020 5:48 am

I'm having the same issue on Linux Mint 19.3, where MakeMKV 1.14.4 compiled fine, but 1.15 is failing about Qt5 not being installed, though the same libqt5{core5a,dbus5,gui5,widgets5} are still installed.There is no -devel package for these. I have all packages explicitly listed on https://www.makemkv.com/forum/viewtopic.php?f=3&t=224 installed.

After a little digging around, looks like qtbase5-dev is required.

revjasper
Posts: 2
Joined: Thu Mar 05, 2020 12:32 am

Re: Upgrading to 1.15.0 not working

#6 Post by revjasper » Thu Mar 05, 2020 6:40 am

Turns out installing the main QT installer from their website didn't give me what I needed on Ubuntu Mate 19.10. I found a tutorial from 2016 with the following installs. Once performing these installs, I was successful in upgrading to 1.15.0:

sudo apt-get install qtcreator
sudo apt-get install qtdeclarative5-dev
sudo apt-get install g++

So, it looks like once a pretty basic QT5 install is complete, run those commands to get the distribution's extras. Hope this helps someone else out there!

beta-tester
Posts: 7
Joined: Sun Jun 28, 2015 5:51 pm

Re: Upgrading to 1.15.0 not working

#7 Post by beta-tester » Thu Mar 05, 2020 11:38 am

for Ubuntu 19.10, i simply exchanged
libqt4-dev with qtbase5-dev
of the sudo apt install instruction of https://www.makemkv.com/forum/viewtopic.php?f=3&t=224
and everything went fine.

EDIT: changed qtdeclarative5-dev to qtbase5-dev, even this is working already

mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Upgrading to 1.15.0 not working

#8 Post by mike admin » Thu Mar 05, 2020 1:54 pm

beta-tester wrote:
Thu Mar 05, 2020 11:38 am
EDIT: changed qtdeclarative5-dev to qtbase5-dev, even this is working already
Thanks for pointing out! Post fixed.

everydaydiesel
Posts: 4
Joined: Wed Mar 04, 2020 10:19 pm

Re: Upgrading to 1.15.0 not working

#9 Post by everydaydiesel » Thu Mar 05, 2020 2:02 pm

thanks for the help. it now works after doing this

Code: Select all

sudo apt-get install qtbase5-dev

Post Reply