ubuntu 9.10 help

The place to discuss linux version of MakeMKV
kevlar93
Posts: 9
Joined: Mon Mar 29, 2010 12:50 am

ubuntu 9.10 help

Post by kevlar93 »

I tried to intsall makemkv and I used the first command to install the tools and libraries. sudo apt-get install build-essential libc6-dev libssl-dev libgl1-mesa-dev libqt4-dev
I then try to use:
make -f makefile.linux
sudo make -f makefile.linux install

and I get:
kevin@kevin-desktop:~$ make -f makefile.linux
make: makefile.linux: No such file or directory
make: *** No rule to make target `makefile.linux'. Stop.
kevin@kevin-desktop:~$ sudo make -f makefile.linux install

I dl both files and extracted them in the download folder with the tar files. What am I doing wrong. I have never compiled anything before.
skittle
Posts: 349
Joined: Thu Jan 14, 2010 4:23 am

Re: ubuntu 9.10 help

Post by skittle »

you need to navigate to the folder(s) first. the makefile.linux is like a script that tells gcc what to compile.

Code: Select all

cd ~/Download/makemkv_v1.5.2_beta_bin
make -f makefile.linux
sudo make -f makefile.linux install

cd ~/Download/makemkv_v1.5.2_beta_oss
make -f makefile.linux
sudo make -f makefile.linux install
after that you may want to create an menu item for makemkv as it doesnt do this by default, i described how to do this here:
http://www.makemkv.com/forum2/viewtopic ... 1170#p4165

otherwise you can just run it from the commandline. makemkv installs its self to '/usr/bin/makemkv'
kevlar93
Posts: 9
Joined: Mon Mar 29, 2010 12:50 am

Re: ubuntu 9.10 help

Post by kevlar93 »

i made the file to add to /usr/share/applications/ and i can find no way to add it in. No copy and paste option and no right click create file. I also tried using the menu editor to create a listing and it creates it but when i open it nothing happens. I also tried "gksu makemkv" and nothing happens either.
skittle
Posts: 349
Joined: Thu Jan 14, 2010 4:23 am

Re: ubuntu 9.10 help

Post by skittle »

You have do be super user to create file in /usr/*

i like nano for editing:

Code: Select all

sudo nano makemkv.desktop
or if you already have the file use:

Code: Select all

 sudo mv makemkv.desktop /usr/share/applications
also please clarify: did makemkv compile successfully?
kevlar93
Posts: 9
Joined: Mon Mar 29, 2010 12:50 am

Re: ubuntu 9.10 help

Post by kevlar93 »

I used the nano command to create the file, and it said it was already created. I guess the gui menu editor already made the same file but i still could not get it to open.

i got this output after the installation:

rm -f /usr/bin/makemkvcon
rm -f /usr/bin/cddump
install -t /usr/bin bin/i386/makemkvcon
skittle
Posts: 349
Joined: Thu Jan 14, 2010 4:23 am

Re: ubuntu 9.10 help

Post by skittle »

is there anything in the .desktop file? do "cat /usr/share/applications/makemkv.desktop" to print the contents to console.
nano is just a text editor, so doing "sudo nano makemkv.desktop" just opens a document. you have to put the commands i listed in the file, then "crtl+o" to write the file, then "crtl+x" to exit nano.

read the nano manual page ( "man nano" ) for more information.
kevlar93
Posts: 9
Joined: Mon Mar 29, 2010 12:50 am

Re: ubuntu 9.10 help

Post by kevlar93 »

i used the cat command and nothing happened. so then i used the nano command. added the commands. wrote it and closed it. and then i use gksu makemkv and on the bottom panel "opening administrative application" but then it closes and nothing happens. Using the sound video menu to open it did nothing. I think i installed it wrong. How do i uninstall so i can reinstall again?
skittle
Posts: 349
Joined: Thu Jan 14, 2010 4:23 am

Re: ubuntu 9.10 help

Post by skittle »

please use

Code: Select all

locate makemkvcon
to find where makemkv is installed to.
makemkv does not require sudo or gksu
kevlar93
Posts: 9
Joined: Mon Mar 29, 2010 12:50 am

Re: ubuntu 9.10 help

Post by kevlar93 »

i got this by running locate makemkvcon:

/home/kevin/.local/share/Trash/files/makemkv_v1.5.2_beta_bin/bin/amd64/makemkvcon
/home/kevin/.local/share/Trash/files/makemkv_v1.5.2_beta_bin/bin/i386/makemkvcon
/home/kevin/Downloads/makemkv_v1.5.2_beta_bin/bin/amd64/makemkvcon
/home/kevin/Downloads/makemkv_v1.5.2_beta_bin/bin/i386/makemkvcon
/usr/bin/makemkvcon


what do you mean i do not need sudo or gksu to run makemkv from the CL? How do you do that?
skittle
Posts: 349
Joined: Thu Jan 14, 2010 4:23 am

Re: ubuntu 9.10 help

Post by skittle »

just run "makemkv" from the command line.

Code: Select all

$ makemkv
this is where makemkv is installed to:

Code: Select all

/usr/bin/makemkvcon
/usr/bin should be in your system path, so all you should need to type is "makemkv"
it does not need sudo/gksu because makemkv does not need super user privileges.
kevlar93
Posts: 9
Joined: Mon Mar 29, 2010 12:50 am

Re: ubuntu 9.10 help

Post by kevlar93 »

i tried just makemkv:
makemkv: command not found
I also tried the /usr/bin/makemkvcon:
/usr/bin/makemkvcon: error while loading shared libraries: libmakemkv.so.1: cannot open shared object file: No such file or directory
skittle
Posts: 349
Joined: Thu Jan 14, 2010 4:23 am

Re: ubuntu 9.10 help

Post by skittle »

is makemkv/makemkvcon in the /usr/bin/ folder?

btw sorry your having such difficult problems getting this installed!
kevlar93
Posts: 9
Joined: Mon Mar 29, 2010 12:50 am

Re: ubuntu 9.10 help

Post by kevlar93 »

makemkvcon is in the /usr/bin/ folder.

When is the expected release date of the official linux release? Or maybe a deb file could be made of the beta. =)
skittle
Posts: 349
Joined: Thu Jan 14, 2010 4:23 am

Re: ubuntu 9.10 help

Post by skittle »

did you make sure to compile and install the makemkv_v1.5.2_beta_oss folder as well? it doesnt look like you did.

you can confirm this by doing "ls /usr/lib | grep libmakemkv"
libmakemkv.so.1 will be installed in /usr/lib if you did commands for _oss folder.

do this for both BIN and OSS folders!!!

Code: Select all

cd ~/Download/makemkv_v1.5.2_beta_oss
make -f makefile.linux
sudo make -f makefile.linux install
kevlar93
Posts: 9
Joined: Mon Mar 29, 2010 12:50 am

Re: ubuntu 9.10 help

Post by kevlar93 »

ok i managed to install it the beta_oss folder. i got this output:
rm -f /usr/lib/libdriveio.so.0
rm -f /usr/lib/libmakemkv.so.1
rm -f /usr/bin/makemkv
install -t /usr/lib out/libdriveio.so.0 out/libmakemkv.so.1
ldconfig
install -t /usr/bin out/makemkv
Post Reply