LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2005, 06:24 AM   #1
dark_prancer
Member
 
Registered: Feb 2005
Location: qld aus
Distribution: Fedora Core 4
Posts: 43

Rep: Reputation: 15
failed to install xine on fc3...


hi guys.. be gentle.. it's my first time!

i've just tried to install xine on fc3. i downloaded xine-lib and xine-ui. then i unpacked the lib file... 'configure'... 'make install'. no problems. then i unpacked xine-ui... 'configure'... but it gave me n error message and wouldn't 'make install'.
i did a search and found someone who had a similar error message and it turned out to be a missing lib.
i'd closed the terminal so in an attempt to recreate the error message (so i could look closely for the problem) i tried redoing the whole procedure. now when i do xine-ui/configure it says it's already configured and i have to '"make distclean" there first'. i assume that undoes the prev config but i don't know how to do it!!
this is really frustrating me as i now have an ALMOST completely installed application on the system and im worried I won't be able to undo all the stuff i've done.

pls help!! i'm very new at this whole linux thing....
 
Old 03-20-2005, 06:27 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you need to post the error configure is giving you

also, don't get rid of those source directories yet.....
 
Old 03-20-2005, 07:01 AM   #3
dark_prancer
Member
 
Registered: Feb 2005
Location: qld aus
Distribution: Fedora Core 4
Posts: 43

Original Poster
Rep: Reputation: 15
thank you for your quick response...
this is what i get when i try to configure xine-ui :-

[root@arsenic ~]# xine-ui-0.99.3/configure
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: error: source directory already configured; run "make distclean" there first
 
Old 03-20-2005, 07:14 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you have two options, instead of "./configure" run "make distclean" to completely clean out the source tree or remove the source directory and extract the tarball again to create a clean source directory. try configure again and see if that helps. also, depending on how you are installing this, you could run into problems ( with the typical ./configure, make, make install). by the way, xine ( the engine, not the user interface) uses the shell script method ( it creates an executable shell script called xine-config) to pass parameters back to the compiler, make sure xine-config is in your PATH to build a xine user interface ( xine_ui, gxine, kaffiene, totem, etc...).
 
Old 03-20-2005, 07:32 AM   #5
dark_prancer
Member
 
Registered: Feb 2005
Location: qld aus
Distribution: Fedora Core 4
Posts: 43

Original Poster
Rep: Reputation: 15
ok... sorry __J but I don't think you realise just how inept I am with Linux. What you said seems to make a lot of sense except I'm not sure how to run "make distclean". could you please give me the command?
 
Old 03-20-2005, 07:55 AM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
don't worry, it all comes with time and trial and error.

cd into the xine_ui source directory and do:

make distclean

this is what the configure script is asking you to do.

There are different "targets" that the program make can make and they are define in the Makefile in the source directory of whatever you are attempting to compile. Most of the time, the targets you will use will consist of "all", "install" and "clean". for example, when you first enter a source directory you normall run:

./configure <options>

to configure your build. then:

make

the above command calls the program make which will make the target "all" since it was not told specifically to make a different target.

make install

this target is the one that actually installs the program and it's accompanying files onto your hardrive.

make clean

this one removes all of the object files and executables from the source directory ( make distclean is a variation of this, and not all source directories have it. it generally cleans more thouroghly than a regular "make clean").
 
Old 03-20-2005, 09:35 AM   #7
dark_prancer
Member
 
Registered: Feb 2005
Location: qld aus
Distribution: Fedora Core 4
Posts: 43

Original Poster
Rep: Reputation: 15
ok... i ran "make distclean" in the xine-ui src, and then I ran configure and that worked.... but "make install" still failed. not sure how many words you're allowed to post here, so here's the output from the terminal that seems to be where the problem is....
...
Making install in po
make[1]: Entering directory `/root/po'
`if test ! -z ""; then echo ""; else case "xine-ui-0.99.3/mkinstalldirs" in /*) echo "xine-ui-0.99.3/mkinstalldirs" ;; *) echo "../xine-ui-0.99.3/xine-ui-0.99.3/mkinstalldirs" ;; esac; fi` /usr/local/share
/bin/sh: ../xine-ui-0.99.3/xine-ui-0.99.3/mkinstalldirs: No such file or directory
make[1]: *** [install-data-yes] Error 127
make[1]: Leaving directory `/root/po'
make: *** [install-recursive] Error 1
 
Old 03-20-2005, 11:36 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You can try the rpms from the xine nightly builds page. They work fine on Fedora Core 3.
 
  


Reply


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
xine patch failed (vdr plugin) jimdaworm Linux - Software 0 09-05-2004 08:00 AM
xine all video drivers failed Ritchie00 Linux - Software 2 08-11-2004 11:22 AM
Xine - main: all available video drivers failed jgold03 Linux - Software 0 05-14-2004 03:32 PM
xine.de is under construction - how to install - xine-lib-1-rc3a.tar.gz sanjaya Linux - Software 1 02-13-2004 09:36 PM
xine gives all available video drivers failed. nilantha Linux - Software 1 03-28-2003 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration