Subject: Error compiling povray on OS X
To: None <pkgsrc-users@NetBSD.org>
From: Philipp Riegger <lists@anderedomain.de>
List: pkgsrc-users
Date: 04/24/2006 12:23:54
Hi.

When i try to compile povray on OS X i get the following error:

g++  -pipe -Wno-multichar -s -mcpu=7450 -O2 -pipe -maltivec - 
mabi=altivec -mpowerpc-gfxopt -I/usr/pkg/include -I/usr/X11R6/include  
-Wall -I/usr/include  -L/usr/X11R6/lib -L/usr/pkg/lib -L/usr/X11R6/ 
lib -L/usr/lib  -o povray  svga.o unix.o xwin.o ../source/ 
libpovray.a  ../source/base/libbase.a  ../source/frontend/ 
libfrontend.a -ltiff -ljpeg -lpng12 -lz -lXpm   -lSM -lICE -lX11 -lm
/usr/bin/ld: Undefined symbols:
_png_write_finish_row
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /tmp/pkgsrc/graphics/povray/work/povray-3.6.1/unix
*** Error code 1

Stop.
bmake: stopped in /tmp/pkgsrc/graphics/povray/work/povray-3.6.1
*** Error code 1

Stop.
bmake: stopped in /tmp/pkgsrc/graphics/povray/work/povray-3.6.1
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/povray
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /tmp/pkgsrc/graphics/povray/work/.work.log
===>
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/povray


Any idea what i can do?

Thanks,
	Philipp Riegger