FIX: Re: [Bf-committers] OSX scons patch broke again

Christian Plessl bf-committers@blender.org
Tue, 23 Mar 2004 09:48:58 +0100


--Apple-Mail-2-792807058
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

On 23.03.2004, at 2:44 Uhr, trip wrote:
> what ever happened it is broken now. The patch was working miracles  
> now it does not . Please fix.
>    
> http://aprilcolo.com/oh/natch/simpleforum.cgi? 
> fid=01&topic_id=1080006097


The issue is related to python beeing linked as a framework vs. the  
linking of python as a shared library.

How to build blender on Mac OS 10.3.3

1) install libpng, libjpeg with fink
2) remove your old config.opts
3) apply the patch which is attached to this email. The patch basically  
sets the directories for the precompiled libs, prevents linking to the  
python shared lib (uses the python framework instead), and adds the  
fink library directory to link path.

Regards,
  Christian



--Apple-Mail-2-792807058
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="config.opts.patch"
Content-Disposition: attachment;
	filename=config.opts.patch

26,27c26,27
< PLATFORM_LIBS = ['stdc++','objc']
< PLATFORM_LIBPATH = ['/System/Library/Frameworks/OpenGL.framework/Libraries','/sw/lib']
---
> PLATFORM_LIBS = ['stdc++']
> PLATFORM_LIBPATH = ['/System/Library/Frameworks/OpenGL.framework/Libraries']
31c31
< PYTHON_LIBRARY = []
---
> PYTHON_LIBRARY = ['python2.3']
34,35c34,35
< SDL_INCLUDE = ['#../lib/darwin-6.1-powerpc/sdl/include']
< SDL_LIBPATH = ['#../lib/darwin-6.1-powerpc/sdl/lib']
---
> SDL_INCLUDE = ['#../lib/darwin-6.8-powerpc/sdl/include']
> SDL_LIBPATH = ['#../lib/darwin-6.8-powerpc/sdl/lib']
68,69c68,69
< FTGL_INCLUDE = ['#../lib/darwin-6.1-powerpc/ftgl/include']
< FTGL_LIBPATH = ['#../lib/darwin-6.1-powerpc/ftgl/lib']
---
> FTGL_INCLUDE = ['#../lib/darwin-6.8-powerpc/ftgl/include']
> FTGL_LIBPATH = ['#../lib/darwin-6.8-powerpc/ftgl/lib']
71,72c71,72
< FREETYPE_INCLUDE = ['#../lib/darwin-6.1-powerpc/freetype/include']
< FREETYPE_LIBPATH = ['#../lib/darwin-6.1-powerpc/freetype/lib']
---
> FREETYPE_INCLUDE = ['#../lib/darwin-6.8-powerpc/freetype/include']
> FREETYPE_LIBPATH = ['#../lib/darwin-6.8-powerpc/freetype/lib']

--Apple-Mail-2-792807058
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed



--Apple-Mail-2-792807058--