Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
./configure doesn't give errors but when i make i get this:
In file included from /usr/include/asm/thread_info.h:13,
from /usr/include/linux/thread_info.h:21,
from ../osdep/kerneltwosix.h:4,
from vo_fbdev.c:21:
/usr/include/asm/processor.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:68: error: requested alignment is not a constant
make[1]: *** [vo_fbdev.o] Error 1
make[1]: Leaving directory `/home/foust/dwnlds/mplayer/MPlayer-20040904/libvo'
make: *** [libvo/libvo.a] Error 2
those are the last few lines of make before it terminated. i don't know if i'm going to have to edit source code for this or not. if i do i'll need help. anyway, i'm using kernel 2.6.0-15 and gcc version 3.3.1. my distro is turbolinux 10f. this mplayer file i downloaded is the latest cvs snapshot : Mplayer-1.Opre5.tar.bz2. if anyone knows what to do for this problem please let me know. thanks.
This just looks like some sort of version mismatch, in which case editing source code would only make matters worse. Can you upgrade to a more recent kernel? Maybe try 2.6.7? Plenty of people must have compiled the latest Mplayer with that.
If it's Turbo Linux then make sure your using an official "paid for" version and not the promo. The promo lacks various common libraries and tools for compiling such programs.
i was thinking there is a version problem with something
Based on the output from make i thought this may be a version issue with something. i can't really tell though, because i'm not really getting a specific kernel error or an internel gcc error or anything. it just looks like buggy code more than anything else. if it's not a bug, then maybe there is a switch i should be using or something. when i used make i did:
make --prefix=/usr/local --enable-gui --enable-largefiles --enable-runtime-cpudetection
i'm not sure what i really needed with the switches, i just tried them based on the make output i posted above.
Re: i was thinking there is a version problem with something
Quote:
Originally posted by foustware Based on the output from make i thought this may be a version issue with something. i can't really tell though, because i'm not really getting a specific kernel error or an internel gcc error or anything. it just looks like buggy code more than anything else. if it's not a bug, then maybe there is a switch i should be using or something. when i used make i did:
make --prefix=/usr/local --enable-gui --enable-largefiles --enable-runtime-cpudetection
i'm not sure what i really needed with the switches, i just tried them based on the make output i posted above.
All of this you put in with "make" is suppose to go with ./configure
But I don't know why your passing all of these arguments, I do believe they are already enabled except for the GUI portion... Try this when compiling mplayer:
./configure --enable-gui
You'll notice its also two dashes in front when throwing options at it. For a full list of configuration options just do a ./configure --help
After it configures do:
make
su or sudo make install
Blam, your done. mplayer is one of the easiest media players to install, usually you don't have to do much else. The only downside is when you want more codecs and such, you have to install them and then reconfigure mplayer again so it detects them.
thanks a lot for all your input but i tried everything. i always got the same result. now get this, i downloaded the previous version of mplayer and it installed fine! now i know something was up with that code whether it was a bug or my system because the previous version installed fine. now i have to figure out what is going on when i try to run mplayer or gmplayer. if i run mplayer from the commandline i get this:
MPlayer 0.93-3.3.1 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/foust/.mplayer/config
[cfg] read config file: /home/foust/.mplayer/gui.conf
Reading config file /home/foust/.mplayer/gui.conf: No such file or directory
mplayer: relocation error: mplayer: undefined symbol: XF86VidModeGetModeLine
if i run gmplayer i get the same thing. don't get me wrong the obvious problem is i'm missing config files and there is a problem with XF86VidModeGetModeLine. but does anyone no how to fix that? do i need to do ./configure again with a different switch? and how do i get the config files created?
Originally posted by foustware thanks a lot for all your input but i tried everything. i always got the same result. now get this, i downloaded the previous version of mplayer and it installed fine! now i know something was up with that code whether it was a bug or my system because the previous version installed fine. now i have to figure out what is going on when i try to run mplayer or gmplayer. if i run mplayer from the commandline i get this:
MPlayer 0.93-3.3.1 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/foust/.mplayer/config
[cfg] read config file: /home/foust/.mplayer/gui.conf
Reading config file /home/foust/.mplayer/gui.conf: No such file or directory
mplayer: relocation error: mplayer: undefined symbol: XF86VidModeGetModeLine
if i run gmplayer i get the same thing. don't get me wrong the obvious problem is i'm missing config files and there is a problem with XF86VidModeGetModeLine. but does anyone no how to fix that? do i need to do ./configure again with a different switch? and how do i get the config files created?
I really did not look at your errors that extensively until now. The times I have installed any Turbo Linux, especially the promos, the first thing I did was upgrade my version of Xfree86 to current. It's real easy to do even from the command line just wget the Xinstall script and run it. It will check to see what binary version you should get. After that just download all the files you need. The install won't proceed until all the files are in the current directory, but then it will install the latest version then run you can xf86config.
Judging from your first post, it looks like some problem with frame buffer or something else explicitly related to X. Upgrading might help unless your already at the latest version. The Install how-to on their site is pretty self explanotory.
I find it best to copy the config files out of the source directory you installed from into your proper directories on your system, where its looking for these files. They will be in the etc directory:
Example:
cd ~/MPlayer-0.93/etc
cp * ~/.mplayer/
mv ~/.mplayer/example.conf ~/.mplayer/config
Then edit the ~/.mplayer/config file to your system specifics, etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.