Thanks. Available now as
https://github.com/pekkanikander/homebrew/commit/354ce38f3edebdf6cb7cac688efc7ba41e74ce95
I'll send a pull request once I've tested it a little bit to make sure that it really works. Or hopefully we will get away with the patch before pushing this.
--Pekka Nikander
On 2012–05–11, at 18:22 , Fabio Utzig wrote:
> Hi,
>
> I can confirm it works on my system. To fix the python issue you mentioned, add the following line just after the depends_on lines.
>
> skip_clean :all
>
> This disables strip on binaries, which breaks dynamic linking, and sigrok-cli will run without problems.
>
> --
> Fabio Utzig
>
> On Friday, May 11, 2012 at 4:52 AM, Pekka Nikander wrote:
>
>> Attached an initial Homebrew formula for compiling sigrok under Mac OS X Lion. It compiles fine, and I get sigrok-cli at /usr/local/bin. However, when trying to run it, I get the following error message:
>>
>> ==============================================
>> $ sigrok-cli
>> dyld: Symbol not found: _environ
>> Referenced from: /usr/local/lib/libpython3.2m.dylib
>> Expected in: dynamic lookup
>>
>> Trace/BPT trap: 5
>>
>> ==============================================
>>
>> I'm too weak in the proper Pythonic ways to understand why that happens.
>>
>> Googling the following web page is the only one I found that seems to be relevant:
>>
>> http://www.neuron.yale.edu/phpbb/viewtopic.php?f=4&t=2370
>>
>> However, that deals with Python2.7, not Python3.
>>
>> --Pekka Nikander
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> sigrok-devel mailing list
>> sigrok-devel@...
>> https://lists.sourceforge.net/lists/listinfo/sigrok-devel
>>
>> Attachments:
>> - sigrok.rb
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> sigrok-devel mailing list
> sigrok-devel@...
> https://lists.sourceforge.net/lists/listinfo/sigrok-devel
|