LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-06-2002, 03:28 PM   #1
WindozBytes
Member
 
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105

Rep: Reputation: 15
xine installation help (from source)


following these steps:

download xine-lib-0.9.7 & xine-ui-0.9.7
untar, configure, make, install xine-lib with the attached results.

My questions:

1. Is the installation of xine-lib successful, or at least successful enough to enable the installation of xine-ui?
2. Why does xine-ui (seemingly) not recognize the installation of xine-lib?
3. What do I need to do to get xine working?


- - - - - - - - - - - - - - - - - - - - -
Results of ./configure (xine-lib):
- no errors reported -

Results of make (xine-lib):

audio_out.c: In function `ao_loop':
audio_out.c:240: warning: unused variable `data'
osd.c:30:18: zlib.h: No such file or directory
osd.c:421: parse error before `*'
osd.c: In function `gzread_i16':
osd.c:423: warning: implicit declaration of function `gzgetc'
osd.c:423: `fp' undeclared (first use in this function)
osd.c:423: (Each undeclared identifier is reported only once
osd.c:423: for each function it appears in.)
osd.c: In function `osd_renderer_load_font':
osd.c:434: `gzFile' undeclared (first use in this function)
osd.c:434: `fp' undeclared (first use in this function)
osd.c:434: warning: statement with no effect
osd.c:435: parse error before `*'
osd.c:446: warning: implicit declaration of function `gzopen'
osd.c:448: `font' undeclared (first use in this function)
osd.c:450: warning: implicit declaration of function `gzread'
osd.c:460: `i' undeclared (first use in this function)
osd.c:471: `ret' undeclared (first use in this function)
osd.c:493: warning: implicit declaration of function `gzclose'
make[2]: *** [osd.lo] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1

Results of make install (xine-lib):

osd.c:30:18: zlib.h: No such file or directory
osd.c:421: parse error before `*'
osd.c: In function `gzread_i16':
osd.c:423: warning: implicit declaration of function `gzgetc'
osd.c:423: `fp' undeclared (first use in this function)
osd.c:423: (Each undeclared identifier is reported only once
osd.c:423: for each function it appears in.)
osd.c: In function `osd_renderer_load_font':
osd.c:434: `gzFile' undeclared (first use in this function)
osd.c:434: `fp' undeclared (first use in this function)
osd.c:434: warning: statement with no effect
osd.c:435: parse error before `*'
osd.c:446: warning: implicit declaration of function `gzopen'
osd.c:448: `font' undeclared (first use in this function)
osd.c:450: warning: implicit declaration of function `gzread'
osd.c:460: `i' undeclared (first use in this function)
osd.c:471: `ret' undeclared (first use in this function)
osd.c:493: warning: implicit declaration of function `gzclose'
make[2]: *** [osd.lo] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

At this point, there are 4 additional files in /usr/local/lib:
libxineutils-0.9.7.so.0
libxineutils-0.9.7.so.0.0.0
libxineutils.la
libxineutils.so

Results of ./configure (xine-ui):

checking for XINE-LIB version >= 0.9.4... no
*** 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 ***
 
Old 01-06-2002, 05:05 PM   #2
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
the error messages are there for a reason... you got an error compiling the lib, it never finished compiling. That really should've been pretty clear i would have thought.

you wanna find out where zlib comes from and make sure it's installed.

i'd recommend you try using mplayer instead, much nicer i think.
 
Old 01-06-2002, 06:32 PM   #3
WindozBytes
Member
 
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105

Original Poster
Rep: Reputation: 15
Sorry we're not all as technically proficient as you, bluecadet, but warning messages don't always mean that a compile/installation has failed, or perhaps you haven't worked on enough different systems to know that.

We're all just trying to learn here and posting responses with such a superior tone really aren't helpful.
 
Old 01-06-2002, 07:33 PM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Generally when you get an error message when you compile from source it means that the build failed, usually because of a missing dependancy and (rarely) because of a bug in the code. Have a look ot the config.log file in ~/xine* and see if it mentions anything about missing files. You might also want to check what version of gcc was installed by RH7.2, good ones are 2.95.3 and 3.0.2 in between those there are several buggy versions that wont compile some code.

[edit] speelng

Last edited by Aussie; 01-06-2002 at 07:37 PM.
 
Old 01-06-2002, 10:37 PM   #5
anoop_chandran
Member
 
Registered: Nov 2001
Distribution: Redhat 7.0 ,mandrake 8.0 ,Redhat 7.2
Posts: 99

Rep: Reputation: 15
hi
i used gcc 2.96 and there was no problem installing. somewhere in xine's README it says u should run ldconfig or set the library's path to a variable.did u do that?

bye
 
Old 01-07-2002, 03:19 AM   #6
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
Quote:
Originally posted by WindozBytes
Sorry we're not all as technically proficient as you, bluecadet, but warning messages don't always mean that a compile/installation has failed, or perhaps you haven't worked on enough different systems to know that.

We're all just trying to learn here and posting responses with such a superior tone really aren't helpful.
sorry, i didn't mean to sound offensive or superior, but when something ends with "error, error, error" you should be able to guess somethings wrong, surely.

but i still say look at mplayer as well anyway
 
Old 01-07-2002, 05:28 PM   #7
parapente
Member
 
Registered: Sep 2001
Location: Greece
Distribution: Gentoo
Posts: 39

Rep: Reputation: 15
Check if you have zlib installed. I think it is installed in almost every system nowadays but you never know! If it is indeed installed then you should check whether zlib.h exists (just do a 'locate zlib.h' of 'find / -name "zlib.h" '). You can easily check whether zlib is installed if you have an rpm based system with 'rpm -qa |grep zlib'. Hope that helps a bit. Xine compiles just fine in my system (Mandrake 8.1).
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building xine from source XaViaR Linux - Software 3 06-24-2005 09:38 AM
Where can I download xine source patched for vdr?? jimdaworm Linux - Software 3 08-16-2004 01:48 PM
Installing xine from source linux123456 Linux - Software 8 04-19-2004 03:58 PM
Xine can't read source (DVD) sgfweatherguy Linux - Software 15 10-02-2003 11:47 PM
xine installation ok but still... tyiooo Linux - Software 3 07-11-2003 01:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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