LinuxQuestions.org
Review your favorite Linux distribution.
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 03-29-2007, 11:43 AM   #1
oakami
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
dvipng configures but it won't compile


I downloaded dvipng-1.9 from sourceforge and am now trying to install it. (My stupid package manager, up2date, doesn't have it in its repositories. And I can't use yum b/c it takes up too much RAM. Damn VPS!)

It does fine when I run ./configure, but it screws up when I do a make. It almost seems as if there's an error in the code because it kills itself after it tries to compile set.c.

Here's the output (including the directory listing, the configure, and the make):

ls:
Code:
[root@vps dvipng-1.9]# ls
COPYING      commands.h     dvipng.1     install.texi   readme.texi
ChangeLog    config.h       dvipng.c     macros.texi    set.c
ChangeLog.0  config.h.in    dvipng.h     miktex.h       sfd.c
INSTALL      config.log     dvipng.o     miktex.mak     special.c
Makefile     config.status  dvipng.texi  misc.c         t1.c
Makefile.in  configure      enc.c        misc.o         test_dvipng.tex
README       configure.ac   font.c       mkinstalldirs  tfm.c
RELEASE      draw.c         font.o       papersiz.c     vf.c
aclocal.m4   draw.o         fontmap.c    pk.c
color.c      dvi.c          ft.c         pk.o
color.o      dvi.o          install-sh   ppagelist.c
configure:
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... yes
checking for basename in -lgen... no
checking for png_read_image in -lpng... yes
checking for gdImageCreate in -lgd... yes
checking for kpse_set_progname in -lkpathsea... yes
checking for T1_InitLib in -lt1... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking kpathsea/kpathsea.h usability... yes
checking kpathsea/kpathsea.h presence... yes
checking for kpathsea/kpathsea.h... yes
checking t1lib.h usability... no
checking t1lib.h presence... no
checking for t1lib.h... no
checking for freetype-config... /opt/lampp/bin/freetype-config
checking for FreeType - version >= 6.1.0... no
*** The FreeType test program failed to run.  If your system uses
*** shared libraries and they are installed outside the normal
*** system library path, make sure the variable LD_LIBRARY_PATH
*** (or whatever is appropiate for your system) is correctly set.
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking for int64_t... yes
checking for uint64_t... yes
checking whether kpse_enc_format is in kpathsea/tex-file.h... no
checking for working alloca.h... yes
checking for alloca... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... no
checking for dup2... yes
checking for memset... yes
checking for munmap... yes
checking for pow... yes
checking for putenv... yes
checking for strchr... yes
checking for strrchr... yes
checking for strtol... yes
checking for strstr... yes
checking for gdImageCreateTrueColor... no
checking for gdImagePngEx... no
checking for gdImageGif... no
checking for FT_Library_Version... yes
checking for makeinfo... :
checking if : understands @acronym{}... yes
checking if : understands @env{}... yes
checking if : understands @option{}... yes
checking for install-info... /sbin/install-info
checking for texmf.cnf... /usr/share/texmf/web2c/texmf.cnf
checking for kpsewhich... /usr/bin/kpsewhich
checking for psfonts.map... /usr/share/texmf/dvips/base/psfonts.map

** Configuration summary for dvipng 1.9:

   The -d (debug) switch is enabled:        yes
   Your gd is new enough (>=2.0) to enable
     the --truecolor switch, full alpha
     transparency, proper rescaling of
     included bitmaps, and jpeg inclusion:  no
   Your gd is new enough (>=2.0.12) to
     enable transparent backgrounds for EPS
     inclusion and the -z (compression)
     switch:                                no
   Your gd is new enough (>=2.0.28) to
     enable gif inclusion and output
     (dvigif):                              no
   FreeType font rendering available:       no
   Support for subfonts (CJK-LaTeX):        no
   T1lib font rendering available:          no

configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: config.h is unchanged
make:
Code:
[andrew@vps dvipng-1.9]$ make
gcc -g -O2 -Wall -I.  -c -o set.o set.c
set.c: In function `WriteImage':
set.c:170: warning: implicit declaration of function `gdImagePngEx'
set.c:170: `compression' undeclared (first use in this function)
set.c:170: (Each undeclared identifier is reported only once
set.c:170: for each function it appears in.)
make: *** [set.o] Error 1
Anyone have any ideas for how to fix this?

Thanks

Last edited by oakami; 03-29-2007 at 05:04 PM.
 
  


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
CentOS -- problem installing dvipng -- error: cannot find/use libpng oakami Linux - Software 1 03-29-2007 10:11 AM
Suse10 configures wireless but not hard wired maxsanders Linux - Newbie 1 02-06-2006 07:05 AM
digikam Configures but does not Make cevjr Linux - Software 3 01-21-2005 01:40 PM
configures cant find X includes davidcousens Linux - Newbie 3 12-26-2004 03:38 PM
Slackware Auto-Configures X! Artimus Slackware 6 03-04-2003 06:50 AM

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

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