LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-30-2005, 10:31 AM   #1
jallingt
LQ Newbie
 
Registered: Jun 2005
Location: Princeton NJ
Distribution: Fedora Core 4
Posts: 10

Rep: Reputation: 0
Unhappy Tried to install Xine now Totem won't work


After trying unsuccessfully to install Xine tarballs, I open Totem to this warning:
(totem:2916): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

(totem:2916): GLib-GObject-WARNING **: gsignal.c:1719: signal `got-redirect' is invalid for instance `0x8f74dc8'

Do I need to uninstall and reinstall Totem? If so please offer me tried and true instructions.
Thanks for any help
Fedora Core 4 kernel 2.6.11.1369
IBM ThinkPad 600x
512MB ram
 
Old 06-30-2005, 02:54 PM   #2
craigor
LQ Newbie
 
Registered: Jun 2005
Distribution: Gentoo2005.0 / Slack 10.1
Posts: 19

Rep: Reputation: 0
during your failed attempt to install Xine, you've probably screwed up some of the libraries that Totem was using.
What exact Xine package(s) were you installing? xine-ui? libxine?

I can't say for sure... but your best bet would be to find FC4 rpms for the xine packages you were trying to install. FC4's pretty new, so I don't know if they're available yet, I try to stay away from Fedora
 
Old 06-30-2005, 10:04 PM   #3
jallingt
LQ Newbie
 
Registered: Jun 2005
Location: Princeton NJ
Distribution: Fedora Core 4
Posts: 10

Original Poster
Rep: Reputation: 0
I tried installing tarballs xine-lib-1.0.1 and xine-ui-0.99.3,
for the lib configure I got this warning:
xine-lib will be installed to /usr/local/lib
This path is not mentioned among the linker search paths in your
/etc/ld.so.conf. This means it is possible that xine-lib will
not be found when you try to compile or run a program using it.
If this happens, you should add /usr/local/lib to
the environment variable LD_LIBRARY_PATH like that:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

Alternatively you can add a line "/usr/local/lib"
to your /etc/ld.so.conf.

for make I got this error:

color.c: In function 'vscale_chroma_line':
color.c:498: error: invalid lvalue in increment
color.c:499: error: invalid lvalue in increment
make[3]: *** [color.lo] Error 1
make[3]: Leaving directory `/usr/local/xine-lib-1.0.1/src/xine-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/xine-lib-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/xine-lib-1.0.1'
make: *** [all] Error 2

during make install I got the same error

during gui config I got this error:

*** Could not run XINE test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means XINE was incorrectly installed
*** or that you have moved XINE since it was installed. In the latter case, you
*** may want to edit the xine-config script: /usr/local/bin/xine-config
configure: error: *** You should install xine-lib first ***

my xine-config file shows this:
#!/bin/csh
#
#

prefix=/usr/local
exec_prefix=${prefix}
exec_prefix_set=no

usage()
{
cat <<EOF
Usage: xine-config [OPTIONS] [LIBRARIES]
Options:
[--prefix[=DIR] ]
[--exec-prefix[=DIR] ]
[--version]
[--libs]
[--acflags]
[--cflags]
[--plugindir]
[--datadir]
[--scriptdir]
[--localedir]
[--objcflags]
EOF
exit $1
}
if test $# -eq 0; then
usage 1 1>&2
fi

while test $# -gt 0; do
case "$1" in
-*=*) optarg= `echo "$1" | sed 's/ [-_a-zA-Z0-9]*=//'` ; ;
*) optarg= ;;
esac
case $1 in
--prefix=*)
prefix=$optarg
if test $exec_prefix_set = no ; then
exec_prefix=$optarg
fi
; ;
--prefix)
echo_prefix=yes
; ;
--exec-prefix=*)
exec_prefix=$optarg
exec_prefix_set=yes
; ;
--exec-prefix)
echo_exec_prefix=yes
; ;
--version
echo 1.0.1
; ;
--acflags)
echo_acflags=yes
; ;
--cflags)
echo_cflags=yes
; ;
--libs)
echo_libs=yes
; ;
--plugindir)
echo_plugindir=yes
; ;
--datadir)
echo_datadir=yes
; ;
--scriptdir)
echo_scriptdir=yes
; ;
--localedir)
echo_localedir=yes
; ;
--objcflags)
echo_objcflags=yes
; ;
*)
usage 1 1>&2
; ;
esac
shift
done

if test "$echo_prefix" = "yes"; then
echo $prefix
fi
if test "$echo_exec_prefix" = "yes"; then
echo $exec_prefix
fi
if test "$echo_acflags" = "yes" ; then
echo " -I ${prefix} /share/aclocal"
fi
if test "$echo_cflags" = "yes" ; then
echo -I${prefix} /include
fi
if test "$echo_libs" = "yes" ; then
echo -L$ {exec_prefix} / lib -lxine -lz -lnsl -lpthread -lrt
fi
if test "$echo_plugindir" = "yes" ; then
echo "/usr/local/lib/xine/plugins/1.0.1"
fi
if test "$echo_datadir" = "yes" ; then
echo "/usr/local/shre/xine"
fi
if test "$echo_scriptdir" = "yes" ; then
echo "/usr/local/share/xine/scripts"
fi
if test "$echo_localedir" = "yes" ; then
echo "/usr/local/share/locale"
fi
if test "$echo_objcflags" = "yes" ; then
echo " "
fi

I fyou can find anything in all this that strikes you as screwed up don't hesitate to explain how to fix it.
Thanks for your response
 
Old 07-03-2005, 11:43 AM   #4
coolingtower
Member
 
Registered: Jul 2004
Location: AnPing, Tainan, Taiwan
Distribution: Ubuntu 11.04
Posts: 42

Rep: Reputation: 15
Jallingt,

I was having the same goofy problem that you are having [on FC3]. The error message suggested editing the /etc/ld.so.conf file to add the line:
/usr/local/lib
I tried that and it didn't work. The other suggestion of issuing the command:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
solved my problem and I have done [for the user interface] make and make check and make install--all with no problem.

I REALLY hope that I don't have to issue this command every time I reboot, in order to make Xine work. If so, I'll figure it out and be back with the answer.

Happy compiling.
 
Old 07-03-2005, 07:52 PM   #5
jallingt
LQ Newbie
 
Registered: Jun 2005
Location: Princeton NJ
Distribution: Fedora Core 4
Posts: 10

Original Poster
Rep: Reputation: 0
coolingtower,
Thanks for your reply. issuing the command line
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
cleared up one error in the library install but I'm afraid the error for the gui remains. It appears somehow not to be able to find the library and I suspect it is because of the remaining error.
Now I'm trying to figure how to get yum to install the binaries with out much luck.
Thanks anyway
 
Old 07-03-2005, 08:00 PM   #6
jallingt
LQ Newbie
 
Registered: Jun 2005
Location: Princeton NJ
Distribution: Fedora Core 4
Posts: 10

Original Poster
Rep: Reputation: 0
One quick question.
Installing instructions says to install xine from /usr/local/ has anyone install this app froma different directory with sucess?
 
Old 07-04-2005, 11:09 AM   #7
coolingtower
Member
 
Registered: Jul 2004
Location: AnPing, Tainan, Taiwan
Distribution: Ubuntu 11.04
Posts: 42

Rep: Reputation: 15
Jallingt,

My install directories were:
/home/me/xine/xine-lib-1.0.1 and
/home/me/xine/xine-ui-0.99.3

"make install" copies the things created by "make" into the proper directories within the system. That's why you need to be "root" to do make install. I'm sure it wouldn't hurt if you installed it into /usr/local. Sounds a bit scary to do a "make clean" afterwords, even though it probably wouldn't hurt anything.
 
Old 07-04-2005, 12:34 PM   #8
jallingt
LQ Newbie
 
Registered: Jun 2005
Location: Princeton NJ
Distribution: Fedora Core 4
Posts: 10

Original Poster
Rep: Reputation: 0
OK I finally got xine installed with rpms. I had to find a number of lib files to make this work. I would suggest installing these files first:
libdvdcss
libdvdnav
libdvdplay
libdvddread
libXvMCW
aalib
#aalib can found at:http://dag.wieers.com/packages/aalib/
libfame
libxvidcore
libpostproc
libmp3lame
faad
faac
a52dec
libimlib2
#all others can be found here:
http://stentz.freshrpms.net/list.html
Then install:
ffmpeg which will give you the libavcodec file.
After that xine and xine-ui install without any problems.
Thanks for bearing with me on this.
 
Old 07-04-2005, 12:46 PM   #9
Simon_6162
Member
 
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141

Rep: Reputation: 16
Hi

I see you have it sorted now but just thought i'd mention that if you compile libxine then in order to compile xine-ui you need to add /usr/local/lib to /etc/ld.so.conf file and run ldconfig so that it finds the new librarys.

The error you got, I assume came from the standard source package link on the site which has some bugs in it which gcc4 doesn't like, this is solved in the cvs snapshot.

Still rpm's are allot less hassle!
 
Old 07-04-2005, 01:14 PM   #10
jallingt
LQ Newbie
 
Registered: Jun 2005
Location: Princeton NJ
Distribution: Fedora Core 4
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks Simon_6162,
I'll keep that in mind if I have a similar problem with future installs.
 
Old 07-05-2005, 05:53 PM   #11
jallingt
LQ Newbie
 
Registered: Jun 2005
Location: Princeton NJ
Distribution: Fedora Core 4
Posts: 10

Original Poster
Rep: Reputation: 0
An addendum to my install file list:
install libdvddread before libdvdplay
libmp3lame comes with the lame install
libpostproc comes with the mplayer install
and libimlib2 can be found on the Dag Wieers rpm website from my earlier post.
 
  


Reply



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
Totem, Xine, ... no audio D-Vine Linux - Software 3 09-20-2005 01:03 PM
XMMS, Xine, MPlayer and Totem don't work in KDE 3.2 sdr_ar Mandriva 6 12-30-2004 07:51 AM
Totem/ Totem-xine regorbro Linux - Software 1 12-11-2004 10:32 PM
totem and xine problems d1l2w3 Linux - Software 2 09-16-2004 09:34 AM
ALSA - 5.1 doesn't work with Xine / Totem viluve Mandriva 1 04-26-2004 09:39 AM

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

All times are GMT -5. The time now is 12:47 AM.

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