LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-29-2006, 05:11 PM   #1
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Rep: Reputation: 30
What command do I use to fix ./configure problem?


hi all
I've been struggling for days with this problem, and before you ask yes I've searched everywhere for a solution!!

I'm trying to install Xine to play my DVDs but am having problems following the instructions at http://www.xinehq.de/index.php/faq.

I've downoaded and unpacked the xine-lib tarball as instructed and then issueed the commands:

./configure
make install

This all seemed to work Ok and a search shows Xine-lib to be installed at:
/usr/src/packages/BUILD/xine-lib-1.1.1 on my system (Suse 10.0)

OK, then I unpacked and tried to instal the Xine frontend, xine-ui but when I issued the command ./configure i had lines and lines of installation messages, followed by the final error message shown below:




Quote:
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for xine-config... no
checking for XINE-LIB version >= 1.0.0... no
*** The xine-config script installed by XINE could not be found
*** If XINE was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XINE_CONFIG environment variable to the
*** full path to xine-config.
configure: error: *** You should install xine-lib first ***
AHBlaptop:/home/adrian/Desktop/xine-ui-0.99.4 #

I'm still a newbie, but the message is clear and the helpline at Xine's homepage warns of this problem and says that:


Quote:
If you have installed xine-lib to a non-standard prefix, make sure that you have $prefix/bin in your PATH and that your linker finds libs in $prefix/lib - otherwise trying to build modules that rely on xine-lib will fail with configure complaining about not finding certain parts of libxine. Using bash you can do something like:

export PATH="$prefix/bin:$PATH"
export LD_LIBRARY_PATH="$prefix/lib:$LD_LIBRARY_PATH"

to make sure libxine can be found by the frontend(s).

This is the bit I don't understand - what exactly do i use in the prefix command?

I tried

./configure --prefix=/usr/src/packages/BUILD/xine-lib-1.1.1/bin

and

./configure --prefix=/usr/src/packages/BUILD/xine-lib-1.1.1/misc

and various other commands, but still get the same error message. My xine-config file can be found at /usr/src/packages/BUILD/xine-lib-1.1.1/misc/xine-config


I'm sure that i'm nearly there, but i just can't work out exactly what to do. I'd appreciate some CLEAR instructions if anyone can help.

Incidentally, I've tried using YAST to install Xine but keep getting messages that i must download win32 codecs firstb which Yast then fails to do. (I've installed thes manually)
 
Old 06-29-2006, 05:34 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Get the xine rpms from here.
 
Old 06-29-2006, 05:40 PM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
This all seemed to work Ok and a search shows Xine-lib to be installed at:
/usr/src/packages/BUILD/xine-lib-1.1.1 on my system (Suse 10.0)
I guess this is the place you used to built the library. If you ran just ./configure (without --prefix=/some/dir) it should be installed in /usr/local
If that's the case then $prefix=/usr/local and you have to follow the instructions given, i.e. run:
Code:
export PATH="/usr/local/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
before running ./configure for xine-ui.

Anyway it's better to use the rpms, from the link provided by reddazz

Last edited by bathory; 06-29-2006 at 05:42 PM.
 
Old 06-30-2006, 01:27 PM   #4
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Original Poster
Rep: Reputation: 30
Thanks for the offered help.

Redezz - I have tried the RPm's but it always fails to install. yast tells me that I haven't got win32 codecs, and then cant find "win32codec-all-20060611-0.pm" on the update server. However, I do have the win32 codecs installed as Mplayer uses them to play DVDs! If i search Google for the file win32codec-all-20060611-0.pm then no webpages are found? I just don't understand this....

I have more codecs than know what to do with! I have codecs at:
/usr/lib/codecs
/usr/local/lib/codecs

Also at /usr/lib/codecs are other directories with the names codecs;4498721e and nine similar directories with slightly different numbers.


Bathory, you write:
Quote:
I guess this is the place you used to built the library. If you ran just ./configure (without --prefix=/some/dir) it should be installed in /usr/local
I did just use ./configure but this didn't install Xine-lib in /usr/local Shall I copy the directory and put a copy there?

Still very confused........
 
Old 06-30-2006, 02:06 PM   #5
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Original Poster
Rep: Reputation: 30
I searched again and found an rpm for the missing codec:

win32codec-all-20060611-0.pm.rpm

I tried to install this with Yast and got the following error message:


Quote:
ERROR(InstTarget:E_RpmDB_subprocess_failed)
---
error: unpacking of archive failed on file /usr/lib/codecs: cpio: rename failed - Is a directory

2006-06-30 19:55:03 w32codec-all.rpm install failed
rpm output:
error: unpacking of archive failed on file /usr/lib/codecs: cpio: rename failed - Is a directory

2006-06-30 20:02:04 w32codec-all.rpm install failed
rpm output:
error: unpacking of archive failed on file /usr/lib/codecs: cpio: rename failed - Is a directory

What does the error message mean at the end? I've tried this several times with other win32 codec rpms and I'm pretty sure that that is why i have so many differently numbered codec directories at
/usr/lib/codecs

I'm very very puzzled...... Anyone?
 
Old 06-30-2006, 02:18 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If you are having problems installing via YAST, why not do it from the command line (#rpm -Uvh somepackage.rpm). The rpms from the xine nightly builds site do not require win32 codecs, so I don't think they are the ones you tried to install. I am guessing, you tried the ones from the packman repo. If you need win32 codecs you can also download them from a packman site and install them manually.
 
Old 06-30-2006, 02:27 PM   #7
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Original Poster
Rep: Reputation: 30
Thanks for the quick reply

I tried installing as you suggest and get the same error message:

Quote:
AHBlaptop:/home/adrian/Desktop # rpm -Uvh w32codec-all-20060611-0.pm.0.i586.rpm
warning: w32codec-all-20060611-0.pm.0.i586.rpm: V3 DSA signature: NOKEY, key ID 5277a2fa
Preparing... ########################################### [100%]
1:w32codec-all ########################################### [100%]
error: unpacking of archive failed on file /usr/lib/codecs: cpio: rename failed - Is a directory
AHBlaptop:/home/adrian/Desktop #
What exactly needs renaming here?

Regarding your other suggestion, I'm pretty sure that that IS where I got the Xine rpms from.
 
Old 06-30-2006, 04:14 PM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Your package could be corrupt. Try downloading it again from here.

Last edited by reddazz; 06-30-2006 at 04:15 PM.
 
Old 07-02-2006, 04:11 AM   #9
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Original Poster
Rep: Reputation: 30
Thanks. Tried that... Exactly the same error message!

Mplayer is fine for DVDs, but I would like to find out what I'm doing wrong, or whats going wrong. This rather annoying problem is certainly helping me to understand Linux more, and thats why I'm so keen to find a solution.
 
  


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
all attempts to fix the problem failed... can someone help me fix partition space? foreverdita Linux - Enterprise 2 05-11-2005 09:02 AM
problem when use command [./configure] vanhelsing Linux - Software 3 06-14-2004 04:44 PM
Hai i still have the problem with configure command invinciblemk Linux - Newbie 2 02-04-2004 11:13 AM
problem with the configure command landshark753 Linux - General 6 01-31-2002 09:55 AM
problem with ./configure command rdaves@earthlink.net Linux - General 5 05-28-2001 01:25 PM

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

All times are GMT -5. The time now is 12:45 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