LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-21-2003, 06:01 AM   #1
kanun
LQ Newbie
 
Registered: Aug 2003
Distribution: Red Hat 9
Posts: 2

Rep: Reputation: 0
Unhappy Xine build probs


First of all hi to everyone

Ok, when I run the configure script for xine-ui i get an error message:
"libpng is needed (PNG library not found) - try to use --with-png-prefix option"
Welli definitely have libpng installed, I can see all the files in /usr/lib. But when i try to run
./configure --with-png-prefix=/usr/lib
i still get the same problem. I've tried running ldconfig but it didn't help.

I dunno why it won't find the frickin libraries. there a bunch of files named libpng* (some are links), surely one of them was what it's looking for? apparently not...

Any help would be hugely appreciated
Cheers
 
Old 08-21-2003, 06:52 AM   #2
cicisbeo
Member
 
Registered: Jul 2003
Distribution: slackware9.0
Posts: 34

Rep: Reputation: 15
If you do:
./configure 2>config.out
and post the contents of 'config.out' it may be helpful.
What distribution are you running?
Have you installed xine-lib-1-rc0.tar.gz' yet ?
What does your /etc/ld.so.conf file look like ?
Some of these questions may help, I hope.
I recently installed xine on slackware9 2.40.20 without much
trouble. I got xine-lib & xine-ui, did the installation (xine-lib 1st)
and now the only trouble is stutter in DVD playback.
Hope this points you in the right direction at least.
~cicisbeo
 
Old 08-21-2003, 05:16 PM   #3
kanun
LQ Newbie
 
Registered: Aug 2003
Distribution: Red Hat 9
Posts: 2

Original Poster
Rep: Reputation: 0
The whole thing would be too long to post here, but here's the last bit of it:

checking for png_read_info in -lpng... no
configure: error: *** libpng is needed (PNG library not found) - try to use --with-png-prefix option ***

Yes, i have installed the xinelibs and that went fine.
contents of ld.so.conf:
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-3.1/lib
/usr/local/lib

Any more ideas?
Cheers
 
Old 08-21-2003, 09:27 PM   #4
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
rpm it
 
Old 08-21-2003, 10:45 PM   #5
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
download the source for libpng and compile it, that solves the problwm when using slack 8.1.. not sure about others.
 
Old 08-22-2003, 03:56 AM   #6
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
this is my experince on xine now its working fine

Compiling and installing xine
The following instructions assume that you are installing from the source archives available from the xine website. You will need at least two packages (named xine-lib.x.y.z.tar.gz and xine-ui.x.y.z.tar.gz). Ensure that both archives correspond to the same version of xine.Firstly it is recommended that you remove any previous instances of xine form your system. You can do this using the following instructions. Here
How to Remove Old version
$PREFIX
is the directory xine is installed in (e.g. if your xine program is
/usr/bin/xine
then
$PREFIX
/usr/bin/
).
$ rm -r $PREFIX/share/xine
$ rm -r $PREFIX/lib/xine
$ rm $PREFIX/bin/xine
$ rm $PREFIX/lib/libxine.*
Downloading and Installation
web site http://xinehq.de/ download lates two packages (named xine-lib.x.y.z.tar.gz and xine-ui.x.y.z.tar.gz)
Download the files to some convenient directory. Open a terminal and change to that directory. For example, if you downloaded the file to the directory /download/xine type the following:
$ cd /download/xine/
The xine-lib file is the xine run-time library which contains the code for the xine engine itself. The xine-ui file contains a number of user interfaces for xine. Currently there is a X-windows based graphical user interface and an experimental text-only interface (which renders video as so-called 'ASCII-art').
Type the following. It will extract the xine library and user interface source archives. Substitute x.y.z for the version of xine that you downloaded.
$ tar xvzf xine-lib.x.y.z.tar.gz
$ tar xvzf xine-ui.x.y.z.tar.gz
The xine-lib archive must be installed first. Change to the xine-lib.x.y.z directory and configure the source code for your machine and compile the code by typing:
$ ./configure
$ make
You may wish to use the ./configure --help command to see if you have to setup any machine specific options. Now, as the user root, enter the following command:
$ make all install
IMPORTANT! Before you can compile xine-ui, you may need to inform your system of the location of the xine libraries, you may need to set the LD_LIBRARY_PATH environment variable to the directory you installed the xine library and/or run the ldconfig program. For example, if you had installed xine-lib to /usr/local, you may need to enter the following command before compiling xine-ui.
$ export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
Once the xine library is installed, you can repeat these steps with the xine-ui.x.y.z directory.
Installing xine in a different directory
To install xine in, for example, the directory /usr/local/xine, use the following option to configure
$ ./configure --prefix=/usr/local/xine
and, as root enter
$ make install
Exta Info
(How can I supply additional flags to the C-compiler?
You can do so by setting the GLOBAL_CFLAGS variable and then run ./configure again.This can be useful to specify additional include paths or library paths to the compiler. For example:
$ export GLOBAL_CFLAGS="-I/usr/include -L/home/guenter/xine_libs" )
now Compile 2nd xine-ui pakege
cd
$ cd /download/xine/
Change to the xine-lib.x.y.z directory and configure the source code for your machine and compile the code by typing:

$ ./configure
$ make
$ make all install
Congatulations Yous xine player is install and ready to use
just type xine
or you can creat short cut on desktop by New lancher (when you right click on desk top) give path by brows and select any icon
for Additional help xine –help
for useges see this site http://dvd.sourceforge.net/xine-howt...o-4.html#ss4.1
How to http://dvd.sourceforge.net/xine-howt...tml/howto.html
Pre-built binaries
If you do not wish to compile xine from source, there are several pre-built `packages' available from the xine web-site. Also there are several packages containing common third-party plugins and patches available at http://cambuca.ldhs.cetuc.puc-rio.br/~jcm/skyblade/.
Note that there are other methods of installing packages, you may wish to use graphical programmes such as kpackage.
Debian packages (.deb)
If you are using the `unstable' branch of Debian, you can install xine by using the following command as root:
$ apt-get install xine-ui
Red-Hat packages (.rpm)
Download the RPMs from the xine web-site and enter the following command as root, substituting in the name of the file you downloaded.
$ rpm -ivh xine-lib.x.x.x.rpm xine-ui.x.x.x.rpm

thanks
 
  


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
RH9 - did 2.6.x kernel build and probs with .config stardotstar Red Hat 5 09-15-2004 06:21 PM
GTK (Get That Killah) 2.4 Build Probs handle2001 Linux - Software 5 04-01-2004 12:08 AM
Big probs installing xine deejayqf Linux - Software 3 01-17-2004 11:04 PM
XINE probs jon_k Linux - Software 1 07-21-2003 03:43 PM
xine probs -where is LD_LIBRARY_PATH rickenbacherus Linux - Software 7 03-11-2003 12:51 PM

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

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