Dear Andrew Rohl, Dear Members of the Fink Users List, Having tried to compile povray with Xquartz on Mac OS Lion10.7 I got an error as in the P.S.. That error can be resolved by forcing povray into usage of its own libpng rather than the XQuartz libpng
i.e. using ../libraries/png/libpng.a instead of libpng and
--- povray-3.6.1.orig/source/png_pov.cpp 2014-05-13 11:44:29.000000000
+0200
+++ povray-3.6.1/source/png_pov.cpp 2014-05-13 12:56:26.000000000 +0200
-#include "png.h"
+#include "../libraries/png/png.h"
+//#include "png.h"
However I have failed to apply my fix so that it will be incorporated after a
./configure into the Makefiles
See my attached patches.
It would be really nice to have a povray working with XQuartz.
Perhaps you can complete my fix.
Elmar
g++ -pipe -Wno-multichar -O3 -march=k8 -mtune=k8 -L/sw/lib -L/usr/X11R6/lib
-o povray svga.o unix.o xwin.o ../source/libpovray.a ../source/base/libbase.a
../source/frontend/libfrontend.a -ltiff -ljpeg -lpng -lz -lXpm -lm -lSM
-lICE -lX11
Undefined symbols for architecture x86_64:
"_png_write_finish_row", referenced from:
pov::PNG_Image::~PNG_Image() in libpovray.a(png_pov.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [povray] Error 1
make[2]: Leaving directory
`/Volumes/Users/elm/sources/finkbuild.build/povray-3.61-1004/povray-3.6.1/unix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/Volumes/Users/elm/sources/finkbuild.build/povray-3.61-1004/povray-3.6.1'
make: *** [all] Error 2
### execution of make failed, exit code 2
### execution of /tmp/fink.BFHMD failed, exit code 2
povray.tar
Description: Unix tar archive
povray2.tar
Description: Unix tar archive
------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs
_______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
