Re: Visual Python, OS X source build, Homebrew dependencies

Martin Costabel <[email protected]> Tue, 14 Aug 2012 16:27:58 +0200
Newsgroups gmane.comp.python.visualpython.user
Message-ID <[email protected]>
On 13/08/12 17:21, Guilherme Brondani Torri wrote:
[]
> Need to edit or patch a Makefile which is hardcoded to Fink. Remove
> hardcoded path, switch to dynamic boost-python, switch to multi-threaded
> boost-signal
>
> [edit | patch] src/Makefile.in
> 203  -    $(GTHREAD_LIBS) /sw/lib/libboost_python-mt.a -lboost_thread-mt
> -lboost_signals)
> 203  +    $(GTHREAD_LIBS) -lboost_python-mt -lboost_thread-mt
> -lboost_signals-mt)
> [end edit]

In fact, for the Fink package I am patching this line, too. Fink doesn't 
necessarily live in /sw, so hardcoding this isn't as helpful for Fink as 
one could assume.

For Fink on OSX 10.7/10.8, I haven't yet made a visualpython package. I 
am running into compilation errors of the type

./core/util/gl_extensions.cpp:50:17: error: assigning to 
'PFNGLTEXIMAGE3DEXTPROC' (aka 'void (*)(GLenum, GLint, GLenum, GLsizei, 
GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)') from 
incompatible type 'void (GLenum, GLint, GLint, GLsizei, GLsizei, 
GLsizei, GLint, GLenum, GLenum, const GLvoid *)': type mismatch at 3rd 
parameter ('GLenum' (aka 'unsigned int') vs 'GLint' (aka 'int'))
                         glTexImage3D = ::glTexImage3D;
                                      ^ ~~~~~~~~~~~~~~

There are lots of header files that might be responsible for such 
incompatibilities, and I am not willing to spend hours chasing down such 
errors.

-- 
Martin





------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/