LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 01-19-2009, 11:33 PM   #1
A_Struggler
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
Question Xine and Xine-ui installation problems


Hi,

Xine lib installed no problem, did the ldconfig, fine. Changed the /etc/ld.so.conf to include the directory /usr/local/lib.

default location for xine-ui is /usr/local

install xine-ui with

./configure PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"

ok

make install ok

xine-check returns;

[ good ] you're using Linux, doing specific tests
[ good ] looks like you have a /proc filesystem mounted.
[ good ] You seem to have a reasonable kernel version (2.6.18-92.1.22.el5)
[ good ] intel compatible processor, checking MTRR support
[ hint ] you have MTRR support but it's unused.
It seems like your X server didn't set any MTRR ranges for the
graphics card. Maybe upgrading your X server helps...
You don't have a PCI graphics card, do you? AFAIK, MTRR only
helps with AGP cards.
press <enter> to continue...

[ good ] unable to find 'xine' binary in usual places
[OUCH!!] There is no 'xine' executable in your PATH
Maybe you don't have xine-ui installed?
If xine-ui is installed, it would probably be a good idea to add
it's binary directory to your PATH...
press <enter> to continue...

[ good ] found /usr/local/bin/xine-config in your PATH
[ good ] plugin directory /usr/local/lib/xine/plugins/1.24 exists.
[ good ] found input plugins
[ good ] found demux plugins
[ good ] found decoder plugins
[ good ] found video_out plugins
[ good ] found audio_out plugins
[ good ] skin directory /usr/local/share/skins exists.
[ good ] found logo in /usr/local/share/skins
[ good ] I even found some skins.
[ good ] /dev/cdrom points to /dev/hda
[ good ] /dev/dvd points to /dev/hda
[ good ] DMA is enabled for your DVD drive
[ good ] found xvinfo: X-Video Extension version 2.2
[ good ] your Xv extension supports YV12 overlays (improves MPEG performance)
[ good ] your Xv extension supports YUY2 overlays
[ good ] Xv ports: YUY2 YV12 UYVY I420

a locate for xine returns only the 'xine' directories in

/usr/local/lib/xine
/usr/local/share/xine
/usr/local/include/xine

there is no xine in the bin folders, $PATH returns

/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin

# xine at the prompt returns;

bash: xine: command not found

xine-check, xine-bugreport, xine-config, xine-list-1.1 are all installed but how come xine didn't ?


besides the MTRR problem, where is the xine executable ??? So I can add it to the PATH ??

If you know how to fix the MTRR problem, would be handy too !! Currently running Nvidia 9400 GT Force card with dual monitors (wasn't that a drama to get going..."

I am running Scientific Linux 5.2 (red hat 5.1.19.6 ), kernel version (2.6.18-92.1.22.el5)

or should I scrap it and try to add some sort of support for divx, WMA, avi, mpeg etc for Totem movie player 2.16.7 using Gstreamer 0.10.9 and GNOME that is installed and working. (well plays mp3's al least, but not video.)

Any help would be appreciated, and keep it stupid simple, absolute newbie. Took me a few hours to realise {prefix} is {prefix} and not to add my directory tree...... Have access to root privileges, but feeling all but 'rooted' by this ordeal (light humor)

thanks.
 
Old 01-20-2009, 01:07 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Hmm instead of locate have you tried, as root:

# find / -name xine

?

AFAIK locate will only locate files that has been indexed by it, but "find" will find the file anywhere on the disk.
 
Old 01-20-2009, 03:23 AM   #3
A_Struggler
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Question RE: find / -name xine

Thanks, yes I did a

# find / -name xine

and checked all 436 results, the closest I got was a xine.h and a few others, but no xine. Strange, all the other xine-check, xine-config, xine-bugreport and others from the xinelib and xine-ui install are all together in the /usr/local/bin ... mmmmm..

this mtrr needs work too, i have a nvidia 9400 gt card with 512 mb mem, and kernel 2.6.18-92.1.22.el5 supports mtrr. having drama finding the mem address and the corresponding hex number for 512 mb memory.

Any help appreciated.
 
Old 01-21-2009, 12:31 AM   #4
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Strange, I successfully compiled xine under much the same kernel on Fedora Core 6, I got much the same results from xine-check - only my xine executable was in /usr/bin and it does work.... No idea why yours seems missing...

You did do

./configure
make
make install (as root)

with all the relevant tarballs?

Or did you try to install from packages?

IMO MTRR is way overrated, and as as far as I know it only offers an advantage on an old AGP slot - I've used xine successfully without MTRR support on an AGP slot card as well, with no appreciable problems with the framerate.

Here's my notes I made for myself when compiling xine:

Code:
1. Compile libdvdcss.
2. Compile libdvdread.
3. Compile libdvdnav.
4. Compile xine-lib.
5. Make sure /etc/ld.so.conf contains /usr/local/lib and
/usr/local/lib/xine/plugins. Run /sbin/ldconfig. 
6. Make sure .bashrc sets up

LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/xine/plugins
LD_RUN_PATH=/usr/local/lib:/usr/local/lib/xine/plugins

7. Compile xine-ui (gxine)
8. Switch to /dev and do ln -s /dev/hdc /dev/dvd
9. Also in /dev do ln -s /dev/hdc /dev/cdaudio
The tarballs I used are

Code:
-rwxrwxrwx 1 root root  1322811 May  5  2006 gxine-0.4.5.tar.gz
-rwxrwxrwx 1 root root   272989 May  5  2006 libdvdcss-1.2.8.tar.bz2
-rwxrwxrwx 1 root root   170679 May  5  2006 libdvdread-0.9.3.tar.bz2
-rwxrwxrwx 1 root root  7774954 May  5  2006 xine-lib-1.0.1.tar.gz
Hope this helps...

Last edited by rylan76; 01-21-2009 at 12:39 AM.
 
Old 01-21-2009, 11:26 PM   #5
A_Struggler
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Smile trying your way, and another way, and something else.....

Thanks Stefan,

1. Compile libdvdcss.
2. Compile libdvdread.
3. Compile libdvdnav.

do i need these ?

I used,

xine-lib-1.1.15.tar.bz2

xine-ui-0.99.5.tar.gz

Compiled as root, etc, exactly as the process said, with ldconfig and all that....

I saw you used gxine, so I tried gxine-0.5.903.tar.bz2 and got the following on ./configure


checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
configure: looking for the Spidermonkey Javascript library in various places.
configure: trying mozjs via pkgconfig xulrunner-js
checking for JS... no
configure: trying mozjs via pkgconfig mozilla-js
checking for JS... no
configure: trying mozjs via pkgconfig firefox-js
checking for JS... no
configure: trying mozjs via pkgconfig seamonkey-js
checking for JS... no
configure: trying mozjs, includes in /usr/include/mozilla/js
checking for mozilla/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/firefox/js
checking for firefox/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/firefox-1.5/js
checking for firefox-1.5/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/seamonkey/js
checking for seamonkey/js/jsapi.h... no
configure: error: libjs not found

I have no idea about Spidermonkey / sea monkey etc... I'll stop now.


I'll look for the 1. Compile libdvdcss. 2. Compile libdvdread. 3. Compile libdvdnav.and try like yours with gxine.

How do you remove / uncompile the existing xine that i have installed ?

If that fails, I'll try VLC v0.9.8a player from;

http://www.afterdawn.com/software/vi...layers/vlc.cfm

and see what happens, I suppose it may be 'meant to be' that I shouldn't have a movie player at work anyway !!

Fingers crossed !!

Thanks,

martin
 
Old 01-22-2009, 02:36 AM   #6
A_Struggler
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up Its all working now, solution below;

trying to get all the dependencies and checking code etc for a newbie was doing my head in.

Solution; goto add/remove software under application on the menu bar and REMOVE everything that I did, bye, bye, xine, gxine, libraries, xine-ui etc.

Add more repositories to search via edit --> add repository,

Search for xine,

tick the most up to date one to install

Apply, it works out all the extra dependancies (libdvdcss. libdvdread.libdvdnav. where there and others Rylan76 !!)

click apply to install.

It does all the compiling and make , make install.

And BINGO, click a video file and xine works perfectly and away we go !!!!

Done and Done.

Thanks all

(esp. Rylan76 who hinted there was another way....)
 
Old 01-22-2009, 06:46 AM   #7
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Cool! Glad you got it fixed.

I usually use Xine only to view DVDs, any other video files I play with MPlayer. Each one does what it does best - Xine for viewing DVDs, MPlayer for viewing any other video files where you do not need DVD menu support. Both can do both, but MPlayer does not do DVD menus (last time I checked), and Xine (at least the old outdated one I have) does not seem to play all the file types MPlayer is capable of playing with Mplayer's own full codec pack installed.

Yeah... repositories help, but I hate 'em. I have had too many bad experiences with .rpms and heard too many horror stories of failed upgrades that break dependencies and such, version mismatches (especially between kernel and video drivers, for example) to feel safe using packages. Too much like Windows - little black boxes you cannot open but are supposed to only "plug in" - and then pray they work.

Compiling things yourself is the One True Way to enlightenment!

Anyway, glad you are up and running.

Regards,
 
  


Reply

Tags
deb, dvd, gxine, install, installation, installed, package, repository, rpm, video, xine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no xine executable after installing xine-lib and xine-ui schneidz Linux - Software 2 01-08-2009 11:52 AM
Removed Totem and installed (Xine, Kaffeine,Xinetd,Xine-ui & libdvdcss) Balarabay1 SUSE / openSUSE 2 03-19-2006 08:31 PM
xine - how can xine embed firefox to play media b:z Linux - Software 11 07-23-2005 07:14 PM
Strange Xine problem - Xine running fine only in Xnest xgreen Slackware 3 01-24-2005 09:00 AM
xine.de is under construction - how to install - xine-lib-1-rc3a.tar.gz sanjaya Linux - Software 1 02-13-2004 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration