On Tue, Mar 24, 2009 at 04:53:38PM +0100, Jean-Fran?ois Mertens wrote:
> The new pkg wxgtk2.8-py26 has a dep on opengl-py26.
> Checking whether the latter did build, I got:
> 
> > gcc -L/sw/lib -bundle -L/sw/lib/python2.6/config -lpython2.6 -Wl,- 
> > dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/ 
> > Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/ 
> > Versions/A/Libraries/libGL.dylib -L/sw/lib -I/sw/include build/ 
> > temp.macosx-10.4-ppc-2.6/src/interface/GL.ARB.matrix_palette.o -L/ 
> > sw/lib -L/usr/X11R6/lib -Lbuild/temp.macosx-10.4-ppc-2.6 -lGL -lX11  
> > -lXext -lGLU -linterface_util -o build/lib.macosx-10.4-ppc-2.6/ 
> > OpenGL/GL/ARB/matrix_palette.so
> > /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple  
> > definitions of symbol _glPointParameteri
> > /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ 
> > libGL.dylib(gll_api.o) definition of _glPointParameteri
> > /usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of  
> > _glPointParameteri
> > /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple  
> > definitions of symbol _glPointParameteriv
> > /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ 
> > libGL.dylib(gll_api.o) definition of _glPointParameteriv
> > /usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of  
> > _glPointParameteriv
> > /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
> > _glCurrentPaletteMatrixARB
> > _glMatrixIndexPointerARB
> > _glMatrixIndexbvARB
> > _glMatrixIndexdvARB
> > _glMatrixIndexfvARB
> > _glMatrixIndexivARB
> > _glMatrixIndexsvARB
> > _glMatrixIndexubvARB
> > _glMatrixIndexuivARB
> > _glMatrixIndexusvARB
> 
> Indeed, those symbols are to be found nowhere..
> The difference with py25 is that the latter uses "-undefined  
> dynamic_lookup"
> (I guess caused by the python used)
> in this link command _ thus creating a (or _ many ?) broken bundle _ cf
> "nm -m /sw/lib/python2.5/site-packages/OpenGL/GL/ARB/ 
> matrix_palette.so| fgrep _glMatrixIndex"
> 
> So I presume all variants of opengl-py are broken..
> (don't know sufficiently of python and its buildsystem to fix this  
> myself)
> 
> Is this diiference in flags due to python ? and 

I elided the -undefined dynamic_lookup in py26 specifically to catch
this type of problem. A missing symbol is a missing symbol, at least
now it's caught at build-time instead of runtime.

dan

-- 
Daniel Macks
dma...@netspace.org
http://www.netspace.org/~dmacks


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to