Hi,
I was trying to package mplayer on amd64.
I have downloaded all the deps etc, but when i do rpmbuild - bb /usr/src/redhat/specs/mplayer.spec etc.
I get an error of X11 not found.
Is this because I use to have nvidia drivers in and i have removed them??
If it is, is there anyway of repairing this?
Cheers,
Si
On Mon, 06 Dec 2004 21:20:24 +0000, Si Jones si@bananas.hopto.org wrote:
Hi,
I was trying to package mplayer on amd64.
I have downloaded all the deps etc, but when i do rpmbuild - bb /usr/src/redhat/specs/mplayer.spec etc.
I get an error of X11 not found.
Is this because I use to have nvidia drivers in and i have removed them??
Most likely because the X11 devel rpms are not installed.
If it is, is there anyway of repairing this?
Install the X11 devel rpms.
N.Emile...
Is this because I use to have nvidia drivers in and i have removed them??
Most likely because the X11 devel rpms are not installed.
If it is, is there anyway of repairing this?
Install the X11 devel rpms.
Checked, it's not that!
when i check the configure.log it says:
============ Checking for X11 headers presence ============ Result is: yes (using /usr/X11R6/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-7136-12478.c -o /tmp/mplayer-conf-15235-12478.o -I/usr/X11R6/include -L/usr/X11R6/lib -lXext -lX11 -lnsl /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 /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit status
ldd /tmp/mplayer-conf-15235-12478.o ldd: /tmp/mplayer-conf-15235-12478.o: No such file or directory
Result is: no ##########################################
Cheers
Si
Am Mo, den 06.12.2004 schrieb Si Jones um 22:58:
when i check the configure.log it says:
============ Checking for X11 headers presence ============ Result is: yes (using /usr/X11R6/include) ##########################################
============ Checking for X11 libs presence ============ Result is: yes (using /usr/X11R6/lib) ##########################################
I have no x86_64 system, but shouldn't it find the 64bit libs?
============ 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-7136-12478.c -o /tmp/mplayer-conf-15235-12478.o -I/usr/X11R6/include -L/usr/X11R6/lib -lXext -lX11 -lnsl
Shouldn't it be -L/usr/X11R6/lib64?
/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 /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit status
Si
Alexander
On Mon, 2004-12-06 at 23:13 +0100, Alexander Dalloz wrote:
Am Mo, den 06.12.2004 schrieb Si Jones um 22:58:
when i check the configure.log it says:
============ Checking for X11 headers presence ============ Result is: yes (using /usr/X11R6/include) ##########################################
============ Checking for X11 libs presence ============ Result is: yes (using /usr/X11R6/lib) ##########################################
I have no x86_64 system, but shouldn't it find the 64bit libs?
============ 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-7136-12478.c -o /tmp/mplayer-conf-15235-12478.o -I/usr/X11R6/include -L/usr/X11R6/lib -lXext -lX11 -lnsl
Shouldn't it be -L/usr/X11R6/lib64?
/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 /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit status
Which file do i need to change then for this????
When I've build mplayer from source on x86_64, I've recalled using --with-x-libraries=/usr/X11R6/lib64 I believe. My guess is the /usr/X11R6/lib location is being used because 32 bit X libraries are installed as well.
On Mon, 06 Dec 2004 22:19:39 +0000, Si Jones si@bananas.hopto.org wrote:
On Mon, 2004-12-06 at 23:13 +0100, Alexander Dalloz wrote:
Am Mo, den 06.12.2004 schrieb Si Jones um 22:58:
when i check the configure.log it says:
============ Checking for X11 headers presence ============ Result is: yes (using /usr/X11R6/include) ##########################################
============ Checking for X11 libs presence ============ Result is: yes (using /usr/X11R6/lib) ##########################################
I have no x86_64 system, but shouldn't it find the 64bit libs?
============ 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-7136-12478.c -o /tmp/mplayer-conf-15235-12478.o -I/usr/X11R6/include -L/usr/X11R6/lib -lXext -lX11 -lnsl
Shouldn't it be -L/usr/X11R6/lib64?
/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 /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit status
Which file do i need to change then for this????
-- fedora-devel-list mailing list fedora-devel-list@redhat.com http://www.redhat.com/mailman/listinfo/fedora-devel-list
Btw, Matthias Saou's http://www.freshrpms.net yum repo has x86_64 packages as well as Dag Wieer's yum repo. Hopefully I spelled those right. A suggestion though, install mplayer's i386 RPMs on your amd64 so you get all the codecs. There are quite a few codecs not available when mplayer is built in 64 bit mode.
On Tue, 7 Dec 2004 13:13:58 -0500, Nick Bargnesi nbargnesi@gmail.com wrote:
When I've build mplayer from source on x86_64, I've recalled using --with-x-libraries=/usr/X11R6/lib64 I believe. My guess is the /usr/X11R6/lib location is being used because 32 bit X libraries are installed as well.
On Mon, 06 Dec 2004 22:19:39 +0000, Si Jones si@bananas.hopto.org wrote:
On Mon, 2004-12-06 at 23:13 +0100, Alexander Dalloz wrote:
Am Mo, den 06.12.2004 schrieb Si Jones um 22:58:
when i check the configure.log it says:
============ Checking for X11 headers presence ============ Result is: yes (using /usr/X11R6/include) ##########################################
============ Checking for X11 libs presence ============ Result is: yes (using /usr/X11R6/lib) ##########################################
I have no x86_64 system, but shouldn't it find the 64bit libs?
============ 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-7136-12478.c -o /tmp/mplayer-conf-15235-12478.o -I/usr/X11R6/include -L/usr/X11R6/lib -lXext -lX11 -lnsl
Shouldn't it be -L/usr/X11R6/lib64?
/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 /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit status
Which file do i need to change then for this????
-- fedora-devel-list mailing list fedora-devel-list@redhat.com http://www.redhat.com/mailman/listinfo/fedora-devel-list
--
Nick Bargnesi http://www.den-4.com Den 4 Software
pub 1024D/E8BD2FD0 2004-12-02 Nick Bargnesi nbargnesi@gmail.com Key fingerprint = 6F9D 9404 63CD 2B04 DE7A 0F9D A1ED C1B0 E8BD 2FD0 sub 2048g/56C5D45B 2004-12-02