![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
How to compile POV-Ray 3.1g for Apple's Intel Macs running Mac OSX 10.6 Snow Leopard # Mac OS X compiler flags
CFLAGS = -O3 -c -ansi $(SRCINC) $(LIBPNGINC) $(ZLIBINC)
Save the file when you are done. CFLAGS = -I$(ZLIBINC) -O3 -c -ansi
Now we need to change another file, go back to the Source-directory and into the zlib-directory. There is another makefile here that we need to make changes to. Open it and change line 17 into: CFLAGS = -O3 -c -ansi
Save this file too and now open up the Terminal application. Enter the following commands and each time wait till they have finished, which means that you'll get a blinking cursor again. cd /usr
Now check if there is a local directory there, if not then use: sudo mkdir local
Otherwise continue here: cd local
sudo mkdir include
Now check if there is a lib directory there, if not then use: sudo mkdir lib
Otherwise continue here: sudo chmod 777 include
sudo chmod 777 lib cd ~/desktop/povray31/source/zlib make install cd ../libpng make libpng.a cd ../unix make newunix sudo cp povray /usr/sbin
You should now have a working POV-Ray 3.1g for Mac OSX running native on Apple's new Intel Macs or on previous PowerPC machines, fully command line operational and XGrid-worthy! |