Building in Snow Leopard

16 views
Skip to first unread message

Ero Carrera

unread,
Apr 26, 2010, 12:15:50 PM4/26/10
to idapython

Hi everybody,

I seem to be facing endless troubles trying to get IDAPython to build
& run in Snow Leopard. Getting it built is not that much of an issue
but getting it to actually work is. IDA fails to load it complaining
about a mismatch in the architectures in the python code and
IDAPython.

I have a fairly standard OSX setup, with macports and the macports
python install. Python is really difficult to get to build as
universal binaries (although I think I've managed). Even so, IDAPython
fails to run.

My general question before starting to drown the mailing list with
details and error messages would be, has anybody got IDA + IDAPython
to run well in the latest OSX releases? I used to have a test
environment running on OSX that was really convenient but I'm starting
to move it to a Linux VM just to bypass all the trouble. Did anyone
face similar issues?

Thanks,
--
Ero

--
You received this message because you are subscribed to the Google Groups "idapython" group.
To post to this group, send email to idap...@googlegroups.com.
To unsubscribe from this group, send email to idapython+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/idapython?hl=en.

Gergely Erdelyi

unread,
Apr 26, 2010, 2:59:28 PM4/26/10
to idap...@googlegroups.com
Hello,

On Mon, Apr 26, 2010 at 7:15 PM, Ero Carrera <ero.c...@gmail.com> wrote:
> I seem to be facing endless troubles trying to get IDAPython to build
> & run in Snow Leopard. Getting it built is not that much of an issue
> but getting it to actually work is. IDA fails to load it complaining
> about a mismatch in the architectures in the python code and
> IDAPython.
>
> I have a fairly standard OSX setup, with macports and the macports
> python install. Python is really difficult to get to build as
> universal binaries (although I think I've managed). Even so, IDAPython
> fails to run.

It should compile and work just fine with the system installation of
Python out of the box.

> My general question before starting to drown the mailing list with
> details and error messages would be, has anybody got IDA + IDAPython
> to run well in the latest OSX releases? I used to have a test
> environment running on OSX that was really convenient but I'm starting
> to move it to a Linux VM just to bypass all the trouble. Did anyone
> face similar issues?

As said above, it works fine for me on both 10.5 and 10.6. There is no
magic you have to cast on the thing, just make sure you invoke the
build script with the Python that you want to use in IDA as well. I really
recommend using the default system Python for that purpose. I guess
it could be possible to hack it to work with the macports version also, but
unless you have a really good reason just stick to the default one.


Cheers,

Gergo

Ero Carrera

unread,
Apr 27, 2010, 8:33:17 AM4/27/10
to idapython


Just went back to Apple's bundled Python with "python_select python26-
apple"
and got IDAPython to build without any trouble, it loads in IDA
without the
slightest complaint.
I don't know why but I though that it should work just as well with
the
macports Python. Big mistake.

Thanks!
--
Ero


On Apr 26, 8:59 pm, Gergely Erdelyi <gergely.erde...@gmail.com> wrote:
> Hello,
>
Reply all
Reply to author
Forward
0 new messages