Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

bokken: fix build on Yosemite #36052

Closed
wants to merge 2 commits into from
Closed

bokken: fix build on Yosemite #36052

wants to merge 2 commits into from

Conversation

tdsmith
Copy link
Contributor

@tdsmith tdsmith commented Jan 20, 2015

Convinces distorm64 to look for modern Python headers; fixes binding installation locations for radare2.

Closes #32016.

Convince distorm64 to look for modern Python headers.
@MikeMcQuaid
Copy link
Member

Worth submitting an upstream patch for this (if we haven't already)?

@tdsmith
Copy link
Contributor Author

tdsmith commented Jan 20, 2015

The radare makefile issue should be reported; it's a bug that we have to spec those. On further reading, distorm3 is the successor project to distorm64 and seems to be supported by pyew so maybe it's worth switching.

@tdsmith
Copy link
Contributor Author

tdsmith commented Jan 29, 2015

radare2 0.9.8 is out and should be included here

@peasead
Copy link

peasead commented May 6, 2015

==> make
#include python2.5/Python.h
^
1 error generated.
make: *** [../../src/pydistorm.o] Error 1
make: *** Waiting for unfinished jobs....

I know that this has been discussed a few times, but I'm not sure what needs to be done.

I've run 'brew update' but that hasn't resolved the issue. I've also tried 'git pull' in /usr/local/bin for 'brew' but also no luck.

@tdsmith
Copy link
Contributor Author

tdsmith commented May 6, 2015

It needs to be fixed.

@Jo-Con-El
Copy link

Actually even Bokken 1.7 has been released a few days ago...

@tschoonj tschoonj mentioned this pull request May 22, 2015
50 tasks
@bfontaine
Copy link
Contributor

Any update on that?

@xenio
Copy link

xenio commented Jul 22, 2015

This workaround fix the problem with Python but I still cant' install on Yosemite.
http://securityinone.com/tutorial-how-to-install-bokken-on-mac-os-x-10-10/

@kenji21
Copy link

kenji21 commented Aug 4, 2015

Install succeed for me using this patch. But running bokken don't start very well :

Starting bokken, running on:
  Python version:
    2.7.9 (default, Jan  7 2015, 11:49:12)
    [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)]
  GTK version: 2.24.25
  PyGTK version: 2.24.0

Traceback (most recent call last):
  File "/usr/local/Cellar/bokken/1.6/libexec/bokken/bokken.py", line 35, in <module>
    main.main('', '')
  File "/usr/local/Cellar/bokken/1.6/libexec/bokken/ui/main.py", line 411, in main
    MainApp(target, backend)
  File "/usr/local/Cellar/bokken/1.6/libexec/bokken/ui/main.py", line 77, in __init__
    dialog = file_dialog.FileDialog(dependency_check.HAS_PYEW, dependency_check.HAS_RADARE, self.backend, self.target, True)
  File "/usr/local/Cellar/bokken/1.6/libexec/bokken/ui/file_dialog.py", line 41, in __init__
    self.set_icon_from_file(os.path.dirname(__file__)+os.sep+'data'+os.sep+'bokken.svg')
glib.GError: Impossible de reconnaître le format d'image du fichier « /usr/local/Cellar/bokken/1.6/libexec/bokken/ui/data/bokken.svg »

@kenji21
Copy link

kenji21 commented Aug 4, 2015

brew install librsvg

fixed it

@smarek
Copy link
Contributor

smarek commented Aug 9, 2015

This is indeed valid fix, however radare2 formula looks different currently.
Also fixes to radare2 library will resolve the issue inguma/bokken#18

@bfontaine
Copy link
Contributor

This PR needs to be rebased on top of master.

@DomT4
Copy link
Member

DomT4 commented Jan 23, 2016

Presuming dead, but feel free to reopen otherwise Tim!

@DomT4 DomT4 closed this Jan 23, 2016
@tdsmith tdsmith deleted the bokken branch January 24, 2016 03:23
@Homebrew Homebrew locked and limited conversation to collaborators Jul 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bokken failed to build on OSX 10.10 due to Python 2.5 dependency