Not sure if related, but I've just had to cleanup a slackbuild script because of that error.... I hade to change all references of "makefile" to "Makefile" with a capital...cvaughan wrote:When I try running this script for version 1.8.7, I get the following error:
========================= Installation results ===========================
make: makefile.linux: No such file or directory
make: *** No rule to make target `makefile.linux'. Stop.
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
removing downloaded files
It worked fine for version 1.8.6.
Install script for MakeMkV for Linux
Re: Install script for MakeMkV for Linux
Re: Install script for MakeMkV for Linux
I tried making your change in the script. However, it produced the same error. I have been able to compile version 1.8.7 manually. I am running it on Linux Mint 16.
Re: Install script for MakeMkV for Linux
Yeah I had to change a couple things to build out 1.8.7. Everything is working again, just tried it out. Thanks for the input!
-
- Posts: 1
- Joined: Sat Dec 28, 2013 11:42 pm
Re: Install script for MakeMkV for Linux
Hi, all, first post here.
Thanks Mechevar for the script.
However, the script works OK, but when executing, there is no indication that anything is being processed.
It may be because that I am running Xubuntu13.10-xfce4WM, which does things a bit different to other flavours of Linux.
I added a few lines to your script, so that a terminal window opens to confirm execution.
Hope you don't mind me posting it here? I'm pretty new to Linux scripts, so please, let me know if the syntax is incorrect or if any improvements can be made.
Cheers!
8><--------------------------------------------------------------------------------------------------------
#!/bin/bash
## This script is for installing MakeMKV on Xubuntu using xfce4-window-manager and BASH. (tested on Xubuntu-13.10)
## The proceeding command opens a xfce4-terminal window and then invokes BASH (in verbose mode), so we may see what is going on.
xfce4-terminal -x bash -cv '
sudo apt-get install checkinstall build-essential libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev libqt4-dev
cd /tmp/
wget "http://www.makemkv.com/download/"
export curr_version=$(grep -m 1 "MakeMKV v" index.html | sed -e "s/.*MakeMKV v//;s/ (.*//")
echo "Scraped the MakeMKV download page and found the latest version as" ${curr_version}
export bin_zip=makemkv-bin-${curr_version}.tar.gz
export oss_zip=makemkv-oss-${curr_version}.tar.gz
export oss_folder=makemkv-oss-${curr_version}
export bin_folder=makemkv-bin-${curr_version}
wget http://www.makemkv.com/download/$bin_zip
wget http://www.makemkv.com/download/$oss_zip
tar -xzvf $bin_zip
tar -xzvf $oss_zip
cd $oss_folder
./configure
make
sudo checkinstall make install
cd ../$bin_folder
make
sudo checkinstall make install
cd ..
echo removing downloaded files
rm index.html
rm $bin_zip
rm $oss_zip
rm -rf $oss_folder
rm -rf $bin_folder
ls -al
$SHELL' ## Keeps xfce4-terminal window open after execution.
8><-------------------------------------------------------------------------------------------------------
Thanks Mechevar for the script.
However, the script works OK, but when executing, there is no indication that anything is being processed.
It may be because that I am running Xubuntu13.10-xfce4WM, which does things a bit different to other flavours of Linux.
I added a few lines to your script, so that a terminal window opens to confirm execution.
Hope you don't mind me posting it here? I'm pretty new to Linux scripts, so please, let me know if the syntax is incorrect or if any improvements can be made.
Cheers!
8><--------------------------------------------------------------------------------------------------------
#!/bin/bash
## This script is for installing MakeMKV on Xubuntu using xfce4-window-manager and BASH. (tested on Xubuntu-13.10)
## The proceeding command opens a xfce4-terminal window and then invokes BASH (in verbose mode), so we may see what is going on.
xfce4-terminal -x bash -cv '
sudo apt-get install checkinstall build-essential libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev libqt4-dev
cd /tmp/
wget "http://www.makemkv.com/download/"
export curr_version=$(grep -m 1 "MakeMKV v" index.html | sed -e "s/.*MakeMKV v//;s/ (.*//")
echo "Scraped the MakeMKV download page and found the latest version as" ${curr_version}
export bin_zip=makemkv-bin-${curr_version}.tar.gz
export oss_zip=makemkv-oss-${curr_version}.tar.gz
export oss_folder=makemkv-oss-${curr_version}
export bin_folder=makemkv-bin-${curr_version}
wget http://www.makemkv.com/download/$bin_zip
wget http://www.makemkv.com/download/$oss_zip
tar -xzvf $bin_zip
tar -xzvf $oss_zip
cd $oss_folder
./configure
make
sudo checkinstall make install
cd ../$bin_folder
make
sudo checkinstall make install
cd ..
echo removing downloaded files
rm index.html
rm $bin_zip
rm $oss_zip
rm -rf $oss_folder
rm -rf $bin_folder
ls -al
$SHELL' ## Keeps xfce4-terminal window open after execution.
8><-------------------------------------------------------------------------------------------------------
Re: Install script for MakeMkV for Linux
**** EDIT: Thanks to lnxusr for pointing out my mistake. I have updated the script here for any future searches
I updated the script to the following (Ubuntu 13.10)
*** EDIT: removed error output as fixing the script fixed that output
I updated the script to the following (Ubuntu 13.10)
Code: Select all
#!/bin/sh
#sudo apt-get install build-essential libc6-dev libssl-dev libexpat1-dev libgl1-mesa-dev libqt4-dev g++ pkgconf
cd /tmp/
wget "http://www.makemkv.com/download/"
export curr_version=$(grep -m 1 "MakeMKV v" index.html | sed -e "s/.*MakeMKV v//;s/ (.*//")
echo "Scraped the MakeMKV download page and found the latest version as" ${curr_version}
export bin_zip=makemkv-bin-${curr_version}.tar.gz
export oss_zip=makemkv-oss-${curr_version}.tar.gz
export oss_folder=makemkv-oss-${curr_version}
export bin_folder=makemkv-bin-${curr_version}
if [ ! -f $bin_zip ]; then
wget http://www.makemkv.com/download/$bin_zip
fi
if [ ! -f $oss_zip ]; then
wget http://www.makemkv.com/download/$oss_zip
fi
tar -xzvf $bin_zip
tar -xzvf $oss_zip
cd $oss_folder
#make -f makefile.linux
#sudo make -f makefile.linux install
./configure
make
sudo make install
cd ../$bin_folder
#make -f makefile.linux
#sudo make -f makefile.linux install
make
sudo make install
cd ..
echo removing downloaded files
rm index.html
rm $bin_zip
rm $oss_zip
rm -rf $oss_folder
rm -rf $bin_folder
*** EDIT: removed error output as fixing the script fixed that output
Last edited by berky on Thu Mar 12, 2015 12:57 am, edited 1 time in total.
Re: Install script for MakeMkV for Linux
1st, thank you for the script, I am currently running Kubuntu 13.10 on a 64 bit machine. After running the script I entered: makemkvcon and received the following error message:
makemkvcon: error while loading shared libraries: libmakemkv.so.1: cannot open shared object file: No such file or directory
I don't know where to start to resolve this issue, and help would be greatly appreciated. Below is the output from the ./buildmakemkv script:
http://paste.ubuntu.com/6857495/
Thanks in advance for the help.
makemkvcon: error while loading shared libraries: libmakemkv.so.1: cannot open shared object file: No such file or directory
I don't know where to start to resolve this issue, and help would be greatly appreciated. Below is the output from the ./buildmakemkv script:
http://paste.ubuntu.com/6857495/
Thanks in advance for the help.
Re: Install script for MakeMkV for Linux
Looks like something went wrong in the 'configure' step
Kinda odd, but I will look at the output on my end.configure: error: LIBAVCODEC_VERSION_MAJOR is not known at compile time in libavcodec.h
See `config.log' for more details
Re: Install script for MakeMkV for Linux
I ran the script on ubuntu 13.1 and did as instructed and the terminal window closes and nothing happens, there is still no make mkv. Any suggestions?
Re: Install script for MakeMkV for Linux
Did you run the command in a terminal, or click on it through window manager? I am asking because the terminal should not close on its own. By the way, I setup a couple extra VMs in VirtualBox to test. Works on out of the box install of 12.04.4 Lubuntu, 64 bit, 12.04.4 Ubuntu, 64 bit and 13.10 Ubuntu, 64 bit.
Re: Install script for MakeMkV for Linux
The script posted above from berky works perfectly in a fresh install of 14.04 (amd64, but should be the same with i386) with the following changes:
Uncomment line 3 and add pkgconf to the list. You can re-comment it afterwards, or leave it commented out if you've already installed them.
Lines 14 and 15 have the oss_folder and bin_folder directories switched. They should read:
After those changes, the script runs fine and I didn't see any errors.
Thanks mechevar and berky.
Uncomment line 3 and add pkgconf to the list. You can re-comment it afterwards, or leave it commented out if you've already installed them.
Code: Select all
sudo apt-get install build-essential libc6-dev libssl-dev libexpat1-dev libgl1-mesa-dev libqt4-dev g++ pkgconf
Code: Select all
export oss_folder=makemkv-oss-${curr_version}
export bin_folder=makemkv-bin-${curr_version}
Thanks mechevar and berky.
Re: Install script for MakeMkV for Linux
I'll keep the script up for anyone that wants to use it, but I switched over to the hosted ppa (didn't know it was out there!) for my system.
https://launchpad.net/~heyarje/+archive/makemkv-beta
https://launchpad.net/~heyarje/+archive/makemkv-beta
Re: Install script for MakeMkV for Linux
Doesn't seem to work on Ubuntu 14.04. Same issue as when I try and install it manuallymechevar wrote:I'll keep the script up for anyone that wants to use it, but I switched over to the hosted ppa (didn't know it was out there!) for my system.
https://launchpad.net/~heyarje/+archive/makemkv-beta
Error 'Scsi error - ILLEGAL REQUEST:COPY PROTECTION KEY EXCHANGE FAILURE - KEY NOT ESTABLISHED' occurred while issuing SCSI command AD010..0800024C0 to device 'SG:dev_11:0'
Re: Install script for MakeMkV for Linux
The error about key exchange is caused by a number of things, one of which is the operating system not allowing MakeMKV to directly access the drive. Since the operating system doesn't have the key that the drive wants, the exchange fails.
MakeMKV Frequently Asked Questions
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
Re: Install script for MakeMkV for Linux
Are you aware of a way of telling the operating system to allow this?Woodstock wrote:The error about key exchange is caused by a number of things, one of which is the operating system not allowing MakeMKV to directly access the drive. Since the operating system doesn't have the key that the drive wants, the exchange fails.
Re: Install script for MakeMkV for Linux
cool thank youmechevar wrote:I'll keep the script up for anyone that wants to use it, but I switched over to the hosted ppa (didn't know it was out there!) for my system.
https://launchpad.net/~heyarje/+archive/makemkv-beta