LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trouble innstalling xine-ui (https://www.linuxquestions.org/questions/linux-software-2/trouble-innstalling-xine-ui-154965/)

gummimann 03-08-2004 09:14 AM

Trouble innstalling xine-ui
 
When I run ./configure it get this output (I didn't post the whole thing because it's so long).

checking for pkg-config... /usr/bin/pkg-config
checking for png_read_info in -lpng... yes
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking libpng/png.h usability... no
checking libpng/png.h presence... no
checking for libpng/png.h... no
configure: error: *** libpng is needed (PNG header file not found) - try to use --with-png-prefix option ***
I got RH9 installed, and have tryed all.

This is my /etc/ld.so.conf file:
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/sane
/usr/lib/qt-3.1/lib
/usr/local/lib/xine/plugins
/usr/local/lib

I've run ldconfig

When I run locate I get this output:
[root@HENRIK5 xine-ui-0.9.23]# locate libpng.so
/usr/lib/libpng.so.3
/usr/lib/libpng.so.3.1.2.2
/usr/lib/libpng.so.2.1.0.13
/usr/lib/libpng.so.2
/usr/lib/libpng.so
/usr/X11R6/lib/libpng.so.2.1.0.3
/usr/X11R6/lib/libpng.so.2

I have installed a new version og libpng as you see, but I couldn't uninstall the old one because dependensies.

When I run rpm -qa I get this output:
[root@HENRIK5 xine-ui-0.9.23]# rpm -qa | grep -i libpng
libpng-1.2.2-16
libpng10-1.0.13-8
libpng-2.1.0.3-1


I also installed xine-lib without problems.

Can anyone help me. Please!!!!


quatsch 03-08-2004 10:06 AM

you need to install libpng-devel. You often need the devel packages to get things compiled.

gummimann 03-08-2004 10:25 AM

Thank you so much.

Worked as a charme :D

Finally!!!


All times are GMT -5. The time now is 01:06 AM.