www.makemkv.com

MakeMKV support forum
It is currently Tue Jul 17, 2018 7:50 am

All times are UTC




Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: Sat Dec 14, 2013 8:48 pm 
Offline

Joined: Tue Apr 23, 2013 9:00 pm
Posts: 13
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.


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...


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 14, 2013 11:54 pm 
Offline

Joined: Fri Dec 13, 2013 6:31 am
Posts: 2
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.


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 17, 2013 12:14 am 
Offline

Joined: Fri Feb 11, 2011 1:47 am
Posts: 16
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!


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 29, 2013 12:05 am 
Offline

Joined: Sat Dec 28, 2013 11:42 pm
Posts: 1
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><-------------------------------------------------------------------------------------------------------


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 10, 2014 6:18 pm 
Offline

Joined: Fri Jan 10, 2014 6:13 pm
Posts: 1
**** 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)

Code:
#!/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.

Top
 Profile  
Reply with quote  
PostPosted: Sat Feb 01, 2014 9:08 pm 
Offline

Joined: Sat Feb 01, 2014 8:43 pm
Posts: 1
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.


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 05, 2014 8:25 pm 
Offline

Joined: Fri Feb 11, 2011 1:47 am
Posts: 16
Looks like something went wrong in the 'configure' step

Quote:
configure: error: LIBAVCODEC_VERSION_MAJOR is not known at compile time in libavcodec.h
See `config.log' for more details


Kinda odd, but I will look at the output on my end.


Top
 Profile  
Reply with quote  
PostPosted: Sat Mar 01, 2014 6:44 pm 
Offline

Joined: Fri Jan 17, 2014 5:26 pm
Posts: 1
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?


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 13, 2014 1:37 pm 
Offline

Joined: Fri Feb 11, 2011 1:47 am
Posts: 16
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.


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 20, 2014 5:24 pm 
Offline

Joined: Thu Mar 10, 2011 1:14 am
Posts: 4
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.

Code:
sudo apt-get install build-essential libc6-dev libssl-dev libexpat1-dev libgl1-mesa-dev libqt4-dev g++ pkgconf


Lines 14 and 15 have the oss_folder and bin_folder directories switched. They should read:

Code:
export oss_folder=makemkv-oss-${curr_version}
export bin_folder=makemkv-bin-${curr_version}


After those changes, the script runs fine and I didn't see any errors.

Thanks mechevar and berky.


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 19, 2014 10:57 pm 
Offline

Joined: Fri Feb 11, 2011 1:47 am
Posts: 16
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


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 06, 2014 8:38 am 
Offline

Joined: Fri May 16, 2014 7:58 pm
Posts: 30
mechevar 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


Doesn't seem to work on Ubuntu 14.04. Same issue as when I try and install it manually :(

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'


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 08, 2014 2:09 pm 
Offline

Joined: Sun Jul 24, 2011 11:21 pm
Posts: 5195
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.

_________________
How to aid in finding the answer to your problem: http://www.makemkv.com/faq/item/8


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 09, 2014 10:01 am 
Offline

Joined: Fri May 16, 2014 7:58 pm
Posts: 30
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.


Are you aware of a way of telling the operating system to allow this?


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 24, 2017 2:24 am 
Offline

Joined: Mon Apr 24, 2017 1:17 am
Posts: 4
mechevar 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


cool thank you


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group