home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Linux and Unix
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1696
Discussions: 186,638, Posts: 2,227,429, Members: 230,268
Free Scan: Update Your PC's Outdated Drivers to Optimize Performance
Old April 5th, 2003, 01:41 PM   Digg it!   #1 (permalink)
Ultimate Member
 
Join Date: Oct 2001
Posts: 1,412
Question
What to do with source code?

I downloaded the source code for MPlayer. I know I have to compile it to use it but how do I go about doing that?

Thanks

Chiguy is offline   Reply With Quote
TechIMO.com Ads - Login or register for less ads.
How many errors does your computer have?

You no longer need to guess! This free stability scan and registry cleaner download will give you a complete diagnosis of your Windows registry, identifying errors and conflicts.

FREE instant scan


Guest, Register Free! to remove this ad and get your tech support questions answered in minutes!
Old April 5th, 2003, 01:56 PM     #2 (permalink)
Ultimate Member
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 3,221
Send a message via AIM to nukes Send a message via Yahoo to nukes
If you have a mainstream distro like RH or Mandrake, you would do better getting a RPM of it as the GUI can be a real bugger to compile.
the basic steps for compiling software in linux is to change to the directory you unpacked it in, (either a home directory or /usr/src normally)
and run
Code:
./configure
make
make install
If you are running from /usr/src, you will have to do it all as root, otherwise (if you're building in your home dir for example - or somewhere else you have the permissions for) then you only need to do make install as root.
I think to enable the GUI you need to add --enable-gui to the configure line, so it looks like:
./configure --enable-gui
but don't quote me on that. The chances are that if you are a newbie and have installed a mainstream distro that not all of the headers/libraries you need will be installed. So whereas it might work, it might simply fail to build.
I think the command for the GUI is gmplayer, whereas mplayer just runs on a fbd does it?
I will have a look around for my tar.bz2 of the MPlayer source so I can tell you more, in the meantime, there should be a README or INSTALL or something in the untarred directory.
Also, if you are a complete newbie, do you know how to untar things?
Change to the directory you want to extract it to in a shell, and type this:
tar xjvf /path/to/source.tar.bz2
(I think MPlayer comes as a .tar.bz2, if not, just replace the j with z for gzip)
then cd into the new directory that was created.
If any of that went over your head, or you still aren't sure, try and catch me on AIM or MSN later on and I will have a go at talking you through it.
__________________
_____
NuKeS

nukes is offline   Reply With Quote
Old April 8th, 2003, 04:42 AM     #3 (permalink)
Ultimate Member
 
Join Date: Oct 2001
Posts: 1,412
Thanks for your help I haven't gotten around to trying it yet but I will soon.

Chiguy is offline   Reply With Quote
Old April 8th, 2003, 04:24 PM     #4 (permalink)
dword to your moms
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 3,195
Send a message via AIM to krohnjw
Chiguy, for any source you download there will at least be a README with install instructions, and/or an INSTALL with install instructions. You should get in the habit of reading both of those as they list common bugs // platform/distro issues and fixes // and install instructions.
krohnjw is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Most Active Discussions
Is It Just Me? (581)
Putting together my wish list (14)
First Time PC Builder (14)
Back to the Workouts (835)
Motherboard compatibiltiy for 9600 .. (5)
RAID 0 External Drive Slow/Failing .. (12)
Supply Side vs. Demand Side economi.. (11)
Folderchat: The Holiday thread (149)
heatsink issue (17)
Recent Discussions
Contest: Logo and Banner design.. (7)
Looking for some help (0)
soulstrom russian version (0)
SSD's, RAID, and External Backu.. (8)
virtual memory (0)
Putting together my wish list (14)
Giga Pocket Junk (0)
Folderchat: The Holiday thread (149)
First Time PC Builder (14)
Magellan RoadMate 1412 GPS Perf.. (2)
FS: Dell 6000 laptop, modded 36.. (2)
Apple iPod touch 16 GB $200 (4)


All times are GMT -4. The time now is 02:08 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28