[MacPorts] #21022: erlang port fails under snow leopard

MacPorts noreply at macports.org
Wed Sep 2 07:03:04 PDT 2009


#21022: erlang port fails under snow leopard
---------------------------------------+------------------------------------
 Reporter:  morne.lamprecht@…          |       Owner:  bfulgham@…           
     Type:  defect                     |      Status:  new                  
 Priority:  Normal                     |   Milestone:                       
Component:  ports                      |     Version:  1.8.0                
 Keywords:                             |        Port:  erlang               
---------------------------------------+------------------------------------
Changes (by snc@…):

  * owner:  macports-tickets@… => bfulgham@…


Old description:

> Hi
>
> I get the following build error when trying to install the erlang port
> under snow leopard:
>
> --->  Building libsdl
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/SDL-1.2.13"
> && /usr/bin/make -j2 all " returned error 2
> Command output: ./src/video/quartz/SDL_QuartzEvents.m:805: error: 'struct
> SDL_PrivateVideoData' has no member named 'expect_mouse_up'
> ./src/video/quartz/SDL_QuartzEvents.m:805: error: 'struct
> SDL_PrivateVideoData' has no member named 'last_virtual_button'
> ./src/video/quartz/SDL_QuartzEvents.m:806: error: 'struct
> SDL_PrivateVideoData' has no member named 'last_virtual_button'
> ./src/video/quartz/SDL_QuartzEvents.m:809: error: 'struct
> SDL_PrivateVideoData' has no member named 'expect_mouse_up'
> ./src/video/quartz/SDL_QuartzEvents.m:809: error: 'struct
> SDL_PrivateVideoData' has no member named 'expect_mouse_up'
> ./src/video/quartz/SDL_QuartzEvents.m:816: error: 'struct
> SDL_PrivateVideoData' has no member named 'expect_mouse_up'
> ./src/video/quartz/SDL_QuartzEvents.m:822: error: 'struct
> SDL_PrivateVideoData' has no member named 'expect_mouse_up'
> ./src/video/quartz/SDL_QuartzEvents.m:822: error: 'struct
> SDL_PrivateVideoData' has no member named 'expect_mouse_up'
> ./src/video/quartz/SDL_QuartzEvents.m:837: error: 'struct
> SDL_PrivateVideoData' has no member named 'grab_state'
> ./src/video/quartz/SDL_QuartzEvents.m:872: error: 'struct
> SDL_PrivateVideoData' has no member named 'grab_state'
> ./src/video/quartz/SDL_QuartzEvents.m:896: error: 'struct
> SDL_PrivateVideoData' has no member named 'grab_state'
> ./src/video/quartz/SDL_QuartzEvents.m:921: error: 'struct
> SDL_PrivateVideoData' has no member named 'grab_state'
> make: *** [build/SDL_QuartzEvents.lo] Error 1
> make: *** Waiting for unfinished jobs....
> In file included from ./src/video/quartz/SDL_QuartzGL.m:24:
> ./src/video/quartz/SDL_QuartzVideo.h:96: error: expected specifier-
> qualifier-list before 'NSQuickDrawView'
> ./src/video/quartz/SDL_QuartzGL.m: In function 'QZ_SetupOpenGL':
> ./src/video/quartz/SDL_QuartzGL.m:147: warning: passing argument 1 of
> 'setValues:forParameter:' from incompatible pointer type
> ./src/video/quartz/SDL_QuartzGL.m:169: warning: passing argument 3 of
> 'CGLSetParameter' from incompatible pointer type
> ./src/video/quartz/SDL_QuartzGL.m:170: warning: passing argument 3 of
> 'CGLSetParameter' from incompatible pointer type
> ./src/video/quartz/SDL_QuartzGL.m: In function 'QZ_GL_LoadLibrary':
> ./src/video/quartz/SDL_QuartzGL.m:196: error: 'struct
> SDL_PrivateVideoData' has no member named 'opengl_library'
> ./src/video/quartz/SDL_QuartzGL.m:197: error: 'struct
> SDL_PrivateVideoData' has no member named 'opengl_library'
> ./src/video/quartz/SDL_QuartzGL.m:202: error: 'struct
> SDL_PrivateVideoData' has no member named 'opengl_library'
> ./src/video/quartz/SDL_QuartzGL.m:203: error: 'struct
> SDL_PrivateVideoData' has no member named 'opengl_library'
> ./src/video/quartz/SDL_QuartzGL.m: In function 'QZ_GL_GetProcAddress':
> ./src/video/quartz/SDL_QuartzGL.m:213: error: 'struct
> SDL_PrivateVideoData' has no member named 'opengl_library'
> ./src/video/quartz/SDL_QuartzGL.m: In function 'QZ_GL_GetAttribute':
> ./src/video/quartz/SDL_QuartzGL.m:264: warning: passing argument 1 of
> 'getValues:forParameter:' from incompatible pointer type
> make: *** [build/SDL_QuartzGL.lo] Error 1
>
> Error: The following dependencies failed to build: wxWidgets libsdl
> libsdl_mixer libogg libvorbis smpeg tiff
> Error: Status 1 encountered during processing.

New description:

 Hi

 I get the following build error when trying to install the erlang port
 under snow leopard:
 {{{
 --->  Building libsdl
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/SDL-1.2.13"
 && /usr/bin/make -j2 all " returned error 2
 Command output: ./src/video/quartz/SDL_QuartzEvents.m:805: error: 'struct
 SDL_PrivateVideoData' has no member named 'expect_mouse_up'
 ./src/video/quartz/SDL_QuartzEvents.m:805: error: 'struct
 SDL_PrivateVideoData' has no member named 'last_virtual_button'
 ./src/video/quartz/SDL_QuartzEvents.m:806: error: 'struct
 SDL_PrivateVideoData' has no member named 'last_virtual_button'
 ./src/video/quartz/SDL_QuartzEvents.m:809: error: 'struct
 SDL_PrivateVideoData' has no member named 'expect_mouse_up'
 ./src/video/quartz/SDL_QuartzEvents.m:809: error: 'struct
 SDL_PrivateVideoData' has no member named 'expect_mouse_up'
 ./src/video/quartz/SDL_QuartzEvents.m:816: error: 'struct
 SDL_PrivateVideoData' has no member named 'expect_mouse_up'
 ./src/video/quartz/SDL_QuartzEvents.m:822: error: 'struct
 SDL_PrivateVideoData' has no member named 'expect_mouse_up'
 ./src/video/quartz/SDL_QuartzEvents.m:822: error: 'struct
 SDL_PrivateVideoData' has no member named 'expect_mouse_up'
 ./src/video/quartz/SDL_QuartzEvents.m:837: error: 'struct
 SDL_PrivateVideoData' has no member named 'grab_state'
 ./src/video/quartz/SDL_QuartzEvents.m:872: error: 'struct
 SDL_PrivateVideoData' has no member named 'grab_state'
 ./src/video/quartz/SDL_QuartzEvents.m:896: error: 'struct
 SDL_PrivateVideoData' has no member named 'grab_state'
 ./src/video/quartz/SDL_QuartzEvents.m:921: error: 'struct
 SDL_PrivateVideoData' has no member named 'grab_state'
 make: *** [build/SDL_QuartzEvents.lo] Error 1
 make: *** Waiting for unfinished jobs....
 In file included from ./src/video/quartz/SDL_QuartzGL.m:24:
 ./src/video/quartz/SDL_QuartzVideo.h:96: error: expected specifier-
 qualifier-list before 'NSQuickDrawView'
 ./src/video/quartz/SDL_QuartzGL.m: In function 'QZ_SetupOpenGL':
 ./src/video/quartz/SDL_QuartzGL.m:147: warning: passing argument 1 of
 'setValues:forParameter:' from incompatible pointer type
 ./src/video/quartz/SDL_QuartzGL.m:169: warning: passing argument 3 of
 'CGLSetParameter' from incompatible pointer type
 ./src/video/quartz/SDL_QuartzGL.m:170: warning: passing argument 3 of
 'CGLSetParameter' from incompatible pointer type
 ./src/video/quartz/SDL_QuartzGL.m: In function 'QZ_GL_LoadLibrary':
 ./src/video/quartz/SDL_QuartzGL.m:196: error: 'struct
 SDL_PrivateVideoData' has no member named 'opengl_library'
 ./src/video/quartz/SDL_QuartzGL.m:197: error: 'struct
 SDL_PrivateVideoData' has no member named 'opengl_library'
 ./src/video/quartz/SDL_QuartzGL.m:202: error: 'struct
 SDL_PrivateVideoData' has no member named 'opengl_library'
 ./src/video/quartz/SDL_QuartzGL.m:203: error: 'struct
 SDL_PrivateVideoData' has no member named 'opengl_library'
 ./src/video/quartz/SDL_QuartzGL.m: In function 'QZ_GL_GetProcAddress':
 ./src/video/quartz/SDL_QuartzGL.m:213: error: 'struct
 SDL_PrivateVideoData' has no member named 'opengl_library'
 ./src/video/quartz/SDL_QuartzGL.m: In function 'QZ_GL_GetAttribute':
 ./src/video/quartz/SDL_QuartzGL.m:264: warning: passing argument 1 of
 'getValues:forParameter:' from incompatible pointer type
 make: *** [build/SDL_QuartzGL.lo] Error 1

 Error: The following dependencies failed to build: wxWidgets libsdl
 libsdl_mixer libogg libvorbis smpeg tiff
 Error: Status 1 encountered during processing.
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/21022#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list