Re: Re: [suse-amd64] AMD 64 and MPlayer
On 23.2 2005 23:36, Joel Wiramu Pauling wrote:
mplayer does not support libsuffix option...
You are right, my mistake.
You need to do the following (nasty) hack.
Yes, it is a nasty hack. Don't --with-x11libdir=/usr/X11/lib64 work either? It is supported by the configure script. Btw, KMPlayer is a nice gui for mplayer (and with that one I had to use the libsuffix option ;-)
mv /usr/X11/lib /usr/X11/lib32 ln -s /usr/X11/lib64 /usr/X11/lib
configure and make.
unlink /usr/X11/lib ln -s /usr/X11/lib32 /usr/X11/lib
This works for a number of programs that are not aware of dual library layouts... It's ugly but generally works fine.
On Wed, 2005-02-23 at 22:34 +0200, Arne wrote:
Maybe using configure with --enable-libsuffix=64 might work
/Arne
On 21.2 2005 00:11, David Gillis wrote:
I am trying to compile MPlayer using the --enable-gui on an HP Pavillion with an AMD 64 processor. When I do ./configure --enable-gui the configure fails with
Checking for GUI ... yes
Error: X11 support required for GUI compilation.
I do have the devel rpms installed I think. Below is the part of my log file that shows the no. What am I missing. MPlayer compiles and works fine without the gui.
David
##########################################
============ Checking for X11 headers presence ============ Result is: yes (using /usr/X11/include) ##########################################
============ Checking for X11 libs presence ============ Result is: yes (using /usr/X11R6/lib) ##########################################
============ Checking for X11 ============
#include <X11/Xlib.h> #include <X11/Xutil.h> int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return 0; }
cc /tmp/mplayer-conf-25663-32290.c -o /tmp/mplayer-conf-4934-32290.o -I/usr/X11/include -L/usr/X11R6/lib -lXext -lX11 -lnsl
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld :
skipping incompatible /usr/X11R6/lib/libXext.so when searching for -lXext
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld :
skipping incompatible /usr/X11R6/lib/libXext.a when searching for -lXext
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld :
cannot find -lXext collect2: ld returned 1 exit status
ldd /tmp/mplayer-conf-4934-32290.o ldd: /tmp/mplayer-conf-4934-32290.o: No such file or directory
Result is: no ##########################################
-- Check the List-Unsubscribe header to unsubscribe For additional commands, email: suse-amd64-help@suse.com
------------------------------------------------------------------ Gratis svenskpråkig e-post och förmånliga textmeddelanden http://webmail.surfnet.fi ------------------------------------------------------------------ -- Check the List-Unsubscribe header to unsubscribe For additional commands, email: suse-amd64-help@suse.com
------------------------------------------------------------------ Gratis svenskpråkig e-post och förmånliga textmeddelanden http://webmail.surfnet.fi ------------------------------------------------------------------
Thanks for the input Arne. I used the --with-x11libdir=/usr/X11/lib64 switch and MPlayer compiled and worked just fine. I agree on KMplayer. I have tried a couple of time to compile it and have not gotten anywhere. Is this the way you are suggesting I try? ./configure --enable-libsuffix=64 I gave that a go and the configure worked fine. When I tried make I got these results. ========================================================= /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include/kio -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o kmplayerconfig.lo `test -f 'kmplayerconfig.cpp' || echo './'`kmplayerconfig.cpp In file included from kmplayersource.h:28, from kmplayerconfig.cpp:45: kmplayerplaylist.h:143: warning: `inline' is not at beginning of declaration In file included from kmplayerpartbase.h:33, from kmplayerconfig.cpp:47: kmplayerprocess.h:158: warning: `visibility' attribute does not apply to types kmplayerconfig.cpp:87: error: visibility arg must be one of "default", "hidden", "protected" or "internal" make[2]: *** [kmplayerconfig.lo] Error 1 make[2]: Leaving directory `/home/david/program-files/kmplayer-0.8.4a/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/david/program-files/kmplayer-0.8.4a' make: *** [all] Error 2 ========================================================== I believe I have everything I need but nogo. Any tips? I won't be able to do much until the weekend so any advice will be appreciated. I am kind of new to SuSE only a few months experience. If I use this suggestion, mv /usr/X11/lib /usr/X11/lib32 ln -s /usr/X11/lib64 /usr/X11/lib configure and make. unlink /usr/X11/lib ln -s /usr/X11/lib32 /usr/X11/lib Will there be any future issues when I try to compile things? David Arne wrote:
On 23.2 2005 23:36, Joel Wiramu Pauling wrote:
mplayer does not support libsuffix option...
You are right, my mistake.
You need to do the following (nasty) hack.
Yes, it is a nasty hack. Don't --with-x11libdir=/usr/X11/lib64 work either? It is supported by the configure script.
Btw, KMPlayer is a nice gui for mplayer (and with that one I had to use the libsuffix option ;-)
mv /usr/X11/lib /usr/X11/lib32 ln -s /usr/X11/lib64 /usr/X11/lib
configure and make.
unlink /usr/X11/lib ln -s /usr/X11/lib32 /usr/X11/lib
This works for a number of programs that are not aware of dual library layouts... It's ugly but generally works fine.
On Wed, 2005-02-23 at 22:34 +0200, Arne wrote:
Maybe using configure with --enable-libsuffix=64 might work
/Arne
On 21.2 2005 00:11, David Gillis wrote:
I am trying to compile MPlayer using the --enable-gui on an HP Pavillion with an AMD 64 processor. When I do ./configure --enable-gui the configure fails with
Checking for GUI ... yes
Error: X11 support required for GUI compilation.
I do have the devel rpms installed I think. Below is the part of my log file that shows the no. What am I missing. MPlayer compiles and works fine without the gui.
David
##########################################
============ Checking for X11 headers presence ============ Result is: yes (using /usr/X11/include) ##########################################
============ Checking for X11 libs presence ============ Result is: yes (using /usr/X11R6/lib) ##########################################
============ Checking for X11 ============
#include <X11/Xlib.h> #include <X11/Xutil.h> int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return 0; }
cc /tmp/mplayer-conf-25663-32290.c -o /tmp/mplayer-conf-4934-32290.o -I/usr/X11/include -L/usr/X11R6/lib -lXext -lX11 -lnsl
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld
:
skipping incompatible /usr/X11R6/lib/libXext.so when searching for -lXext
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld
:
skipping incompatible /usr/X11R6/lib/libXext.a when searching for -lXext
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld
:
cannot find -lXext collect2: ld returned 1 exit status
ldd /tmp/mplayer-conf-4934-32290.o ldd: /tmp/mplayer-conf-4934-32290.o: No such file or directory
Result is: no ##########################################
-- Check the List-Unsubscribe header to unsubscribe For additional commands, email: suse-amd64-help@suse.com
------------------------------------------------------------------ Gratis svenskpråkig e-post och förmånliga textmeddelanden http://webmail.surfnet.fi ------------------------------------------------------------------ -- Check the List-Unsubscribe header to unsubscribe For additional commands, email: suse-amd64-help@suse.com
------------------------------------------------------------------ Gratis svenskpråkig e-post och förmånliga textmeddelanden http://webmail.surfnet.fi ------------------------------------------------------------------
participants (2)
-
Arne
-
David