LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 05-18-2005, 11:23 AM   #1
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
compiling mplayer from source attempt


I thought I would try to do this. But I've got stuck very early on. I've downloaded 4 tar.bz2 files from mplayer, the player, codecs, fonts and a skin. I've untarred the player and the codecs. All were downloaded to my home directory. The problem is when I try ./configure it just says bash: no such file etc. The files are coloured blue in my home directory, I was wondering if that meant anything.
 
Old 05-18-2005, 11:40 AM   #2
ArbiterOne
LQ Newbie
 
Registered: Oct 2004
Location: Munich, Germany
Distribution: Slackware 10.1
Posts: 18

Rep: Reputation: 0
Blue-colored 'files' are actually directories. You have to cd into them first.
Oh, and don't forget to do ./configure --enable-gui, otherwise you'll have to recompile.
 
Old 05-18-2005, 11:55 AM   #3
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Original Poster
Rep: Reputation: 30
[simon@localhost ~]$ cd /usr/local/src
[simon@localhost src]$ ls
essential-20050412/
[simon@localhost src]$ cd /essential-20050412
bash: cd: /essential-20050412: No such file or directory
[simon@localhost src]$ cd /essential-20050412/
bash: cd: /essential-20050412/: No such file or directory
[simon@localhost src]$ cd essential-20050412/
[simon@localhost essential-20050412]$ ./configure
bash: ./configure: No such file or directory
[simon@localhost essential-20050412]$

So here I've eventually managed to cd into the essentials directory located in /usr/local/src/essential-20050412/ and get bash. What am I doing wrong?
 
Old 05-18-2005, 12:45 PM   #4
Croaker
Member
 
Registered: Sep 2004
Location: Oklahoma City, OK
Distribution: Slackware 12.1
Posts: 41

Rep: Reputation: 15
You don't do anything to the essentials package. All you need to do is mv or cp the codecs to the appropriate directory. Before you do anything else, cd into the mplayer directory where you unzipped everything and read the README file that's in there. That tells you what you need to do. There are also help files in .html that has lots of info on it. Easiest way to view those is open your browser and type / in the address bar. Then click the folder icons until you get to the .html files. And don't forget about mplayer.com. The help files are posted there as well I believe.
 
Old 05-18-2005, 01:57 PM   #5
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Original Poster
Rep: Reputation: 30
Yes I'd read those fairly thoroughly. Anyway, I got it to configure, before making I just wanted to check a few things. I opted for GUI but it failed due to lack of GTK devel tools. I installed all the development stuff when I installed Mandriva and I'm not too sure what I'm looking for in RPMDrake install. It would be nice but not essential to have a GUI. Somethings missing anyway. Also quite a few things aren't enabled but I'm not going to go into that.
 
Old 05-18-2005, 02:02 PM   #6
ArbiterOne
LQ Newbie
 
Registered: Oct 2004
Location: Munich, Germany
Distribution: Slackware 10.1
Posts: 18

Rep: Reputation: 0
I really would suggest installing the GTK dev tools. It might take a while, but it's required for a lot of things besides mplayer.
 
Old 05-18-2005, 02:13 PM   #7
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Original Poster
Rep: Reputation: 30
Do you happen to know what the files are called. I did a search and nothing called GTK devel or similar came up. There was one called kdevelop. Thanks.

Edit. GTKwave-devel is all I can find. Perhaps it doesn't come with the mandrake disk but I'd be surprised.

Last edited by simcox1; 05-18-2005 at 02:19 PM.
 
Old 05-18-2005, 02:20 PM   #8
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 47
Quote:

[simon@localhost src]$ cd /essential-20050412
bash: cd: /essential-20050412: No such file or directory
you miss the relative vs full pathname
if you want to change to essential-20050412 from /usr/local/src you do
Code:
cd   ./essential-20050412
not cd /essential-20050412
you machine has no record of a folder
/essential-20050412
but it does have a record of /usr/local/src/essential-20050412
so no matter where you are you can always
cd /usr/local/src/essential-20050412

compiling -- something as complex as mplayer sometimes requires commonly used patches and requires a pretty advanced knowledge of the package and how it works.

i think you need to consult "Beyond Linux from Scratch" current cvs compiling instructions for mplayer
 
Old 05-18-2005, 03:10 PM   #9
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Original Poster
Rep: Reputation: 30
It's working now without gui. Thanks for your help.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling apt from source - where's the source? stynhx9000 Ubuntu 2 12-01-2005 07:32 AM
Mplayer crashes in an attempt to play most mpgs and DVDs goofyheadedpunk Slackware 5 11-18-2004 11:53 AM
compiling software from source...how do i delete the folder w/ source? webazoid Linux - Software 2 07-01-2004 09:09 PM
compiling mplayer dibblethewrecke Linux - Newbie 4 12-01-2003 04:14 PM
MPlayer source Tinkster Linux - Software 6 08-19-2002 06:11 AM


All times are GMT -5. The time now is 12:39 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration