[MacPorts] #21022: erlang port fails under snow leopard
#21022: erlang port fails under snow leopard ---------------------------------------+------------------------------------ Reporter: morne.lamprecht@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: erlang ---------------------------------------+------------------------------------ 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> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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: snowleopard | Port: erlang ---------------------------------------+------------------------------------ Changes (by snc@…): * keywords: => snowleopard -- Ticket URL: <http://trac.macports.org/ticket/21022#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: snowleopard | Port: erlang libsdl ---------------------------------------+------------------------------------ Changes (by snc@…): * port: erlang => erlang libsdl Comment: This is because of libsdl not building on Snow Leopard (#20235). If the portfiles allow for other substitutions, you can try installing libsdl- devel as it does compile. -- Ticket URL: <http://trac.macports.org/ticket/21022#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: snowleopard | Port: erlang libsdl ---------------------------------------+------------------------------------ Comment(by morne.lamprecht@…): Replying to [comment:3 snc@…]:
This is because of libsdl not building on Snow Leopard (#20235). If the portfiles allow for other substitutions, you can try installing libsdl- devel as it does compile.
I'm new to macports - how do i check allowed substitutions for a portfile ? (i'm assuming it is not the same as variants) -- Ticket URL: <http://trac.macports.org/ticket/21022#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21022: erlang port fails under snow leopard ----------------------------------------+----------------------------------- Reporter: morne.lamprecht@… | Owner: bfulgham@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: duplicate | Keywords: snowleopard Port: libsdl | ----------------------------------------+----------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => duplicate * port: erlang libsdl => libsdl Comment: Just install libsdl-devel and try installing erlang again. -- Ticket URL: <http://trac.macports.org/ticket/21022#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21022: erlang port fails under snow leopard ----------------------------------------+----------------------------------- Reporter: morne.lamprecht@… | Owner: bfulgham@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: duplicate | Keywords: snowleopard Port: libsdl | ----------------------------------------+----------------------------------- Comment(by trevorturk@…): Replying to [comment:5 macsforever2000@…]:
Just install libsdl-devel and try installing erlang again.
I just wanted to note that this didn't solve the problem for me. I'm following along with this ticket for now: http://trac.macports.org/ticket/20235 -- Ticket URL: <http://trac.macports.org/ticket/21022#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts