Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21022 closed defect (duplicate)

erlang port fails under snow leopard

Reported by: morne.lamprecht@… Owned by: bfulgham@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: snowleopard Cc:
Port: libsdl

Description (last modified by nerdling (Jeremy Lavergne))

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.

Change History (6)

comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)
Owner: changed from macports-tickets@… to bfulgham@…

comment:2 Changed 15 years ago by nerdling (Jeremy Lavergne)

Keywords: snowleopard added

comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)

Port: libsdl added

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.

comment:4 in reply to:  3 Changed 15 years ago by morne.lamprecht@…

Replying to 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)

comment:5 Changed 15 years ago by mf2k (Frank Schima)

Port: erlang removed
Resolution: duplicate
Status: newclosed

Just install libsdl-devel and try installing erlang again.

comment:6 in reply to:  5 Changed 15 years ago by trevorturk@…

Replying to 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

Note: See TracTickets for help on using tickets.