LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2015, 04:28 AM   #1
gentless gent
LQ Newbie
 
Registered: Mar 2015
Posts: 14

Rep: Reputation: Disabled
mplayer install gc error


I've just installed Ubuntu 14.04 LTS on my virtual machine,(it's a little bit too slow but this is not my main problem), I want to install mplayer on it, I've downoaded mplayer source code with binary codecs (essentials) from the official website, I read carefully the install and readme docs, but once I type "./onfigure --enable-gui"
I got a message like : "gc error, cc could not excute ...." is there any help ?

NB : I don't have internet access
 
Old 04-08-2015, 06:41 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
Mplayer :

$ sudo apt-get install mplayer
... You will get version "1.1+dfsg1" with Ubuntu 14.04 :
http://packages.ubuntu.com/trusty/mplayer
( The 'universe' repository must be enabled.)


Building from source : Install the build prerequisites for mplayer :
$ sudo apt-get install g++
$ sudo apt-get build-dep mplayer


-
 
Old 04-08-2015, 07:01 AM   #3
gentless gent
LQ Newbie
 
Registered: Mar 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Mplayer :

$ sudo apt-get install mplayer
... You will get version "1.1+dfsg1" with Ubuntu 14.04 :
http://packages.ubuntu.com/trusty/mplayer
( The 'universe' repository must be enabled.)


Building from source : Install the build prerequisites for mplayer :
$ sudo apt-get install g++
$ sudo apt-get build-dep mplayer

-
I tried sudo apt-get install mplayer, the result was something like this " unable to find tha package" (fyi,I don't have aess to internet)
 
Old 04-08-2015, 07:07 AM   #4
gentless gent
LQ Newbie
 
Registered: Mar 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
I tried sudo apt-get install mplayer, the result was something like this " unable to find tha package" (fyi,I don't have aess to internet
 
Old 04-08-2015, 07:09 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
Re #3

No Internet ? How will you then get the 65 build prerequisites ?
http://packages.ubuntu.com/source/trusty/mplayer
 
Old 04-08-2015, 07:31 AM   #6
gentless gent
LQ Newbie
 
Registered: Mar 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
thanks for your quick replay, but, should I go through all this just to watch my movies, it's a huge amount of files that I have to download manually, isn't there any easiet way ? (like this is not bad enough, ubuntu for each file, it send you through 3 links )
 
Old 04-08-2015, 07:34 AM   #7
gentless gent
LQ Newbie
 
Registered: Mar 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
Just for your information, I've already downloaded the essentials (binary codecs) and unpacked them into /usr/local/lib/codecs.
 
Old 04-08-2015, 08:12 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
Re #6, #7.

Not just the 65 build prerequisites, they also have dependencies.
I get "104" packages, with $ sudo apt-get build-dep mplayer
... and I already have a lot of <packages>-dev installed from some previous "build from source"

The list is attached, apt-get__build-dep__mplayer.txt
-
Attached Files
File Type: txt apt-get__build-dep__mplayer.txt (1.9 KB, 11 views)
 
Old 04-08-2015, 08:22 AM   #9
gentless gent
LQ Newbie
 
Registered: Mar 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
To download them one by one it's extremly hard if not impossible, isn't there a one package to download which includes them all, or other method to wath movies and play mp3 on my guest ubuntu ? thanks for your patient
 
Old 04-08-2015, 09:02 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
Re #9.

The other choices of "players" are using the same dependencies.

Downloading the 100 packages requires some patience. A second each package .
Just get the packages from a fast direct link.
Like the Swedish se.archive.ubuntu.com/ubuntu

Why not go for the binary package
http://packages.ubuntu.com/trusty/mplayer
... which doesn't have that many dependencies.
A stock Ubuntu 14.04 probably have the most installed already,
see the attached file.
-
Attached Files
File Type: txt apt-get_install_mplayer.txt (133 Bytes, 7 views)

Last edited by knudfl; 04-08-2015 at 09:04 AM.
 
Old 04-08-2015, 09:08 AM   #11
dolphin_oracle
Member
 
Registered: Dec 2013
Posts: 340

Rep: Reputation: Disabled
doesn't ubuntu already have a video player? would it not be easier, given your limited net access, to download the required codecs (if any) and simply use, totem? I think its called.
 
1 members found this post helpful.
Old 04-08-2015, 09:26 AM   #12
gentless gent
LQ Newbie
 
Registered: Mar 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
since it's almost impossible to enable internet access on my Guest OS (ubuntu 14.04), I think it's impossible to watch movies on my guest.
anyway, thank you guys for your replies
 
Old 04-08-2015, 09:30 AM   #13
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,133

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
depending on where you live, have you considered linux-mint which is based on ubuntu and they are allowed to include copyrighted codecs by default because they are not located in the usa ?
 
1 members found this post helpful.
Old 04-08-2015, 09:56 AM   #14
gentless gent
LQ Newbie
 
Registered: Mar 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
This is exactly what Im going to do, I read some docs about it and found it just what the doctor ordered (as least for me ) thank you schneidz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error in install mplayer puya_ms Linux - Software 1 02-26-2009 09:30 AM
why do i install the mplayer error? vietmusicteam Linux - Newbie 1 12-22-2006 08:49 PM
mplayer install error hraposo Linux - Software 2 10-19-2004 11:58 AM
MPlayer 1.0pre5 Install Error Shoal Linux - Software 3 08-13-2004 06:47 PM
Mplayer install error rooman Linux - Software 6 03-10-2004 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration