LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   xine installation help (from source) (https://www.linuxquestions.org/questions/linux-general-1/xine-installation-help-from-source-11242/)

WindozBytes 01-06-2002 03:28 PM

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 ***

bluecadet 01-06-2002 05:05 PM

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.

WindozBytes 01-06-2002 06:32 PM

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.

Aussie 01-06-2002 07:33 PM

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

anoop_chandran 01-06-2002 10:37 PM

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

bluecadet 01-07-2002 03:19 AM

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

parapente 01-07-2002 05:28 PM

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).


All times are GMT -5. The time now is 06:56 PM.