On 8/2/10 6:19 PM, Richard Miles wrote:
> I tried your firefox4.info and firefox4.patch and the build failed.
>
> g++-4.2 -o GLContextProviderGLX.o -c  -fvisibility=hidden
> -DIMPL_THEBES -DWOFF_MOZILLA_CLIENT -DMOZILLA_INTERNAL_API
> -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX
> -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES
> -DZLIB_INTERNAL -DOSTYPE=\"Darwin\" -DOSARCH=Darwin
> -I/sw/src/fink.build/firefox4-4.0-0.b1.1/mozilla-central/gfx/thebes
> -I. -I../../dist/include -I../../dist/include/nsprpub
> -I/sw/src/fink.build/firefox4-4.0-0.b1.1/mozilla-central/obj-x86_64-apple-darwin10.4.0/dist/include/nspr
>-I/sw/src/fink.build/firefox4-4.0-0.b1.1/mozilla-central/obj-x86_64-apple-darwin10.4.0/dist/include/nss
> -I/sw/include      -fPIC -I/sw/lib/fontconfig2/include -I/sw/include
>  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wpointer-arith
>  -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
> -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof
> -Wno-variadic-macros -Werror=return-type -isysroot
> /Developer/SDKs/MacOSX10.5.sdk -fno-strict-aliasing -fno-common
> -fshort-wchar -pthread  -DNDEBUG -DTRIMMED -O3 
-I/sw/src/fink.build/firefox4-4.0-0.b1.1/mozilla-central/obj-x86_64-apple-darwin10.4.0/dist/include/cairo
-I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0
-I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include -I/sw/include/freetype2 -I/sw/include
-I/sw/include/gtk-unix-print-2.0 -I/usr/X11R6/include -I/usr/X11/include
-I/sw/include/pango-1.0 -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include -I/sw/include/freetype2 -I/sw/include
-I/usr/X11/include  -I/sw/lib/fontconfig2/include -I/sw/include
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h
-Wp,-MD,.deps/GLContextProviderGLX.pp
/sw/src/fink.build/firefox4-4.0-0.b1.1/mozilla-central/gfx/thebes/GLContextProviderGLX.cpp
> In file included from /usr/X11R6/include/GL/gl.h:1993, from
> /usr/X11R6/include/GL/glx.h:45, from
> /sw/src/fink.build/firefox4-4.0-0.b1.1/mozilla-central/gfx/thebes/GLXLibrary.h:40,
>  from
/sw/src/fink.build/firefox4-4.0-0.b1.1/mozilla-central/gfx/thebes/GLContextProviderGLX.cpp:55:
> /usr/X11R6/include/GL/glext.h:4020: error: conflicting declaration
> 'typedef void (* PFNGLTEXIMAGE3DPROC)(GLenum, GLint, GLint, GLsizei,
>  GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid*)'
> /usr/X11R6/include/GL/gl.h:1746: error: 'PFNGLTEXIMAGE3DPROC' has a
> previous declaration as 'typedef void (* PFNGLTEXIMAGE3DPROC)(GLenum,
> GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum,
> const GLvoid*)' /usr/X11R6/include/GL/glext.h:4178: error:
> conflicting declaration 'typedef void (*
> PFNGLMULTIDRAWARRAYSPROC)(GLenum, GLint*, GLsizei*, GLsizei)'
> /usr/X11R6/include/GL/gl.h:1856: error: 'PFNGLMULTIDRAWARRAYSPROC'
> has a previous declaration as 'typedef void (*
> PFNGLMULTIDRAWARRAYSPROC)(GLenum, const GLint*, const GLsizei*,
> GLsizei)'

Dang.  I had forgotten that on 10.5, firefox4 needs xquartz2.5 to work
(which is one of the reasons why firefox4 hasn't been moved to unstable
yet).  Apparently that's also true for 10.6 and its X11.  The issue is
that Fink doesn't support Xquartz, esp on 10.6.  And I'm not sure there 
will be an official solution unless Apple upgrades X11. (sorry about 
forgetting this bit and making you go through the effort of downloading, 
etc)

Hanspeter


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to