[MacPorts] #20235: libsdl does not build under Snow Leopard

MacPorts noreply at macports.org
Tue Sep 1 20:24:26 PDT 2009


#20235: libsdl does not build under Snow Leopard
------------------------------+---------------------------------------------
 Reporter:  hussein@…         |       Owner:  nox@…           
     Type:  defect            |      Status:  new             
 Priority:  Normal            |   Milestone:                  
Component:  ports             |     Version:  1.8.0           
 Keywords:  snowleopard       |        Port:  libsdl          
------------------------------+---------------------------------------------

Comment(by kirdatt.jai@…):

 I tried this command

 sudo port install libsdl -d patch libsdl.patch

 and I got this error

 -->  Computing dependencies for libsdl
 --->  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:737: error:
 'UsrActivity' undeclared (first use in this function)
 ./src/video/quartz/SDL_QuartzEvents.m:737: error: (Each undeclared
 identifier is reported only once
 ./src/video/quartz/SDL_QuartzEvents.m:737: error: for each function it
 appears in.)
 ./src/video/quartz/SDL_QuartzEvents.m:787: error: 'struct
 SDL_PrivateVideoData' has no member named 'expect_mouse_up'
 ./src/video/quartz/SDL_QuartzEvents.m:789: error: 'struct
 SDL_PrivateVideoData' has no member named 'current_mods'
 ./src/video/quartz/SDL_QuartzEvents.m:790: error: 'struct
 SDL_PrivateVideoData' has no member named 'last_virtual_button'
 ./src/video/quartz/SDL_QuartzEvents.m:791: error: 'struct
 SDL_PrivateVideoData' has no member named 'expect_mouse_up'
 ./src/video/quartz/SDL_QuartzEvents.m:793: error: 'struct
 SDL_PrivateVideoData' has no member named 'current_mods'
 ./src/video/quartz/SDL_QuartzEvents.m:794: error: 'struct
 SDL_PrivateVideoData' has no member named 'last_virtual_button'
 ./src/video/quartz/SDL_QuartzEvents.m:795: error: 'struct
 SDL_PrivateVideoData' has no member named 'expect_mouse_up'
 ./src/video/quartz/SDL_QuartzEvents.m:798: error: 'struct
 SDL_PrivateVideoData' has no member named 'expect_mouse_up'
 ./src/video/quartz/SDL_QuartzEvents.m:804: error: 'struct
 SDL_PrivateVideoData' has no member named 'last_virtual_button'
 ./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:805: error: 'struct
 SDL_PrivateVideoData' has no member named 'last_virtual_button'
 ./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_QuartzGL.lo] Error 1
 make: *** Waiting for unfinished jobs....
 make: *** [build/SDL_QuartzEvents.lo] Error 1

 Just thought I let everyone know what I did

 Thanks for the help

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


More information about the macports-tickets mailing list