[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA: Problem compiling gerbv-1.0.1
Hi gerbv users/developers --
I just tried compiling gerbv-1.0.1, but compilation barfed:
gcc -Wall -g -O2 -o gerbv amacro.o batch.o color.o draw.o draw_amacro.o drill.o dynload.o
exportimage.o gerb_file.o gerb_image.o gerber.o gerbv.o log.o project.o scheme.o setup.o tooltable.o -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lgdk_pixbuf -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule
-lglib -ldl -lXi -lXext -lX11 -lm
exportimage.o(.text+0x395): In function `pixbuf_to_file_as_png':
/home/sdb/geda-sources-20050313/gerbv/gerbv-1.0.1/src/exportimage.c:181: undefined reference
to `png_create_write_struct'
exportimage.o(.text+0x3b5):/home/sdb/geda-sources-20050313/gerbv/gerbv-1.0.1/src/exportimage.c:187: undefined reference to `png_create_info_struct'
etc.
Interestingly, during configure, I got the following warning:
checking for GDK_PIXBUF - version >= 0.2.5... yes
./configure: line 1: libpng-config: command not found
./configure: line 1: libpng-config: command not found
So it looks like I don't have the correct png stuff on my system, but
configure went ahead and tried using it anyway. Right?
Has anybody else seen this? Is it a problem with configure?
Stuart