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.
I am trying to install mplayer on 64 bit Fedora Core 4. I could not find a built version so I downloaded the source RPM. When I try to build it I get an error that reads:
Error: X11 support required for GUI compilation
Can someone tell me a worError: X11 support required for GUI compilation.
There are no graphics drivers yet for this machine (ATI Radeon Xpress 200m), so I am running in 1024x768. I am a linux newbie so I apologize if this is something incredibly stupid.
The thing is FC ( x86_64 architecture) has two lib directories /usr/lib and /usr/lib64 and the mplayer source is meant for 32-bit OS and to make it compile on a 64-bit OS u need to do some messing up.
I'm having the same problem. I am also new to linux and was following a guide that told me I needed to add the option "--cc=gcc32" in order to get MPlayer to compile with GCC3.2 instead of GCC4.0. If I type
like you said, without adding the GCC3.2 option, I get a very distinct error message telling me that I must "--disable-gcc-checking". If I use the "--cc=gcc32" option in conjunction with what you suggested above, I am told this:
Detected operating system: Linux
Detected host architecture: x86_64
Checking for gcc32 version ... 3.2.3, ok
Checking for host cc ... gcc32
Checking for assembler support of -pipe option ... yes
Unknown parameter: --extra-libdirs=/usr/lib64
When typed ./configure --help there was a similar option listed, "--with-extralibdir=DIR", so I used it replacing "DIR" with "/usr/lib64" only to recieve the same error message,
Error: X11 support required for GUI compilation
Even if I compile with the "--disable-gcc-checking" option it still gives me that damn message. If you have any more suggestions, I will be extremely grateful. I apologize for my ignorance, but I'm trying so please help me out.
Before I was using the source RPM and didn't know how to add those options with the RPM, so I downloaded the 1.0pre7 tarball of the source. When I was using the config option it was not detecting gcc 4.0 (which I have because I use FC4). I disabled the gcc-checking and used the options you gave me and I still get the "Need X11 support"
Here is the end of the output:
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... yes
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.a when searching for -lXext
I was able to make config finish by adding the option --with_extralibdir=/usr/X11R6/lib64
URCE -c -o libpostproc/postprocess.o libpostproc/postprocess.c
In file included from libpostproc/postprocess.c:655:
libpostproc/postprocess_template.c: In function 'do_a_deblock_MMX2':
libpostproc/postprocess_template.c:2901: error: memory input 4 is not directly addressable
libpostproc/postprocess_template.c: In function 'postProcess_MMX2':
libpostproc/postprocess_template.c:3510: warning: pointer targets in passing argument 6 of 'blockCopy_MMX2' differ in signedness
libpostproc/postprocess_template.c:3656: warning: pointer targets in passing argument 6 of 'blockCopy_MMX2' differ in signedness
libpostproc/postprocess_template.c:3757: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX2' differ in signedness
libpostproc/postprocess_template.c:3781: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX2' differ in signedness
libpostproc/postprocess_template.c:3481: error: memory input 4 is not directly addressable
libpostproc/postprocess_template.c:3481: error: memory input 5 is not directly addressable
libpostproc/postprocess_template.c:3627: error: memory input 4 is not directly addressable
libpostproc/postprocess_template.c:3627: error: memory input 5 is not directly addressable
make[1]: *** [libpostproc/postprocess.o] Error 1
make[1]: Leaving directory `/home/lenny/dl/Mplayer/MPlayer-1.0pre7/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2
I would still like to know how to fix this. Has anybody else sucessfully installed this app on FC4 64? I am not sure what the problem is now. I don't know if it has to do with me having to disable the gcc checking. Any help would be appreciated.
this crap has been bothering me for a week now, I appreciate everyone on here and this superb forum.. I second that "./configure --cc=gcc32 --enable-gui --with-extralibdir=/usr/lib64 --with-extralibdir=/usr/X11R6/lib64" works perfectly, thanks guys.
Distribution: handbuilt (reliable), FC3 (flakey as a piecrust)
Posts: 9
Rep:
Just to add a little spice to this thread: Has anyone been successful in building a 32 bit version of mplayer on an x86_64 platform? The RealAudio codec (amongst others) is 32 bits only, and I was in the habit of using this before upgrading to a 64-bit box.
I have been able to compile both a 64 and 32 bit version of MPlayer on FC4-64. Here are some notes I jotted down when I was complete:
Quote:
MPlayer
-A little tricky to install.
-Lame MP3 issues for mencoder. Had to specifically tell lame to compile using /usr/lib64, which then caused it to put the lame libraries for 64-bit in that same directory. Mplayer would then recognize lame was in
the system.
- The version of GCC that comes with Fedora Mplayer doesn't like, so I have to use the -cc=gcc32 compiler option. Not too big of a deal. This was the same in both 64 and 32 bit versions.
- Has trouble finding the X11 libs. Have to tell it with-x11libdir=/usr/X11R6/lib64 as a configure option for it to compile the GUI.
- Entire 64-bit ./configure string is as follows (I don't know if the codec directory specification was necessary): ./configure --enable-gui --cc=gcc32 --with-x11libdir=/usr/X11R6/lib64 --with-codecsdir=/usr/local/lib/codecs/
- Finally got the 32-bit version to compile, with the latest mplayer source: ./configure --enable-gui --target=athlon_xp --cc="gcc32 -m32"
--as="as --32" --with-extralibdir=/usr/lib
I wasn't able to get 32-bit MPlayer to compile with MPlayer v1.0pre7 source, but later I saw they release MPlayer v1.0pre7try2 source and that one worked for me. I was able to compile both 64 and 32 bit versions, but I don't have both at the same time (I pretty much use 32bit only since the codecs are 32bit)
Distribution: handbuilt (reliable), FC3 (flakey as a piecrust)
Posts: 9
Rep:
That gets pretty close: Thanks. However, I am going to have to (forcibly) install additional 32 bit versions of libgtk+ and no doubt all the dependents it complained about (libz, libpng, libcdda_*, libnsl (hmm...), libsmbclient, ...).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.