Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page CentOS -- problem installing dvipng -- error: cannot find/use libpng
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 03-28-2007   #1 (permalink)
glasby
Just Joined!
 
Join Date: Mar 2007
Posts: 2
CentOS -- problem installing dvipng -- error: cannot find/use libpng

I just installed tetex, from which I got latex and a bunch of other stuff. My ultimate goal is to enable latex functionality on various websites. In order to do that, however, I first need the dvipng program. Dvipng converts dvi files to png's.

My problem is that when I run ./configure on the dvipng-1.9 source I downloaded from sourceforge (it's not in the repositories set for my web hosting's package manager, up2date), I get the following error (also, note that I tried downloading the package from savannah.gnu.org and got the same error):

Code:
[root@vps dvipng-1.9]# ./configure
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gs... gs
checking whether gs has the pngalpha device... no
checking whether gs has the png16m device... yes
configure: WARNING: Your EPS inclusions will be cropped to the
             boundingbox, and rendered on an opaque background.
             Upgrade GhostScript to avoid this.
checking for pow in -lm... yes
checking for deflate in -lz... no
checking for basename in -lgen... no
checking for png_read_image in -lpng... no
configure: error: cannot find/use libpng
Yet I clearly DO have libpng, because when I try to install it through my package manager, I get this output:

Code:
[root@vps dvipng-1.9]# up2date -i libpng
Fetching Obsoletes list for channel: centos-3-base...
Fetching Obsoletes list for channel: centos-3-addons...
Fetching Obsoletes list for channel: centos-3-updates...
Fetching Obsoletes list for channel: centos-3-extras...
Fetching rpm headers...
########################################
Name                                    Version        Rel     
----------------------------------------------------------
The following packages you requested are already updated:
libpng
So what's up with this, why can't dvipng's configure find/use libpng when I clearly have it? If you don't know the answer, can you direct me to where I can find the answer?
glasby is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 01:32 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0