Bug 17487 - Attempt to access "3rd party apps" hangs or breaks Squeezeplay
: Attempt to access "3rd party apps" hangs or breaks Squeezeplay
Status: RESOLVED FIXED
Product: SqueezePlay
Classification: Unclassified
Component: App Gallery
: unspecified
: Macintosh MacOS X 10.5
: P3 normal (vote)
: 7.6.x
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-22 09:22 UTC by Martin Williams
Modified: 2011-08-29 01:18 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Williams 2011-08-22 09:22:35 UTC
Cause appears to be build problem with luamd5 components lib/lua/5.1/md5.so & lib/lua/5.1/sha1.so, which should be built as OSX bundles.

Refer README & http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/install.html.

Additional link flag '-bundle' solves issue (XCode 3.14 - OSX 10.5).

Relevant lines in Makefile.osx become:

luamd5:
	cd luamd5; make LUA=${PREFIX} MYNAME=sha1 MYLDFLAGS="-bundle -undefined dynamic_lookup" CC="${CC}"
	cd luamd5; make LUA=${PREFIX} MYNAME=md5 MYLDFLAGS="-bundle -undefined dynamic_lookup" CC="${CC}"
	cp luamd5/md5.so ${PREFIX}/lib/lua/5.1/md5.so
	cp luamd5/sha1.so ${PREFIX}/lib/lua/5.1/sha1.so
Comment 1 Ben Klaas 2011-08-25 07:35:24 UTC
Michael, I can confirm this bug. Desktop SP and 3rd party apps do not play well together.

Thanks for the makefile pointer Martin, I'll try that soon and report back on how it went.
Comment 2 Martin Williams 2011-08-26 07:37:12 UTC
(In reply to comment #1)
> Thanks for the makefile pointer Martin, I'll try that soon and report back on
> how it went.

Thanks. It does the trick locally.
Comment 3 SVN Bot 2011-08-26 08:10:05 UTC
 == Auto-comment from SVN commit #9490 to the jive repo by mherger ==
 == http://svn.slimdevices.com/jive?view=revision&revision=9490 ==

Bug: 17487
Description: luamd5 must be built as a bundle on OSX
Comment 4 Martin Williams 2011-08-27 11:52:18 UTC
That commit fixes it for me. Thanks.