Hi Lei,
On Thu, Mar 8, 2012 at 7:11 AM, Lei Wen <adrian.wenl(a)gmail.com> wrote:
Seem I get no luck to build out the pykdump...
....
Makefile:24: slocal.mk: No such file or directory
make: *** No rule to make target `slocal.mk'. Stop.
Any idea?
It's true the build mechanisms of pykdump leave a lot to be desired.
You have to tell the thing where to find the python build tree, too,
because the process involves rolling up a largish subset of python
into the .so file. After configuring there should be *three* .mk files.
I've attached a file showing how mine got set up for my platform
with my layout, meaning you won't be able to use it (directly), but
you'll see more-or-less what you need. You'll find the pykdump guy
helpful 'cuz he helped me through exactly the same problems. Weeks
ago now, so I've forgotten what exactly I had to do.... :)
Good luck. Cheers - Bruce
$ ls -l $(find * -name '*.so')
-rwxrwxrwx 1 bruce staff 6302242 Feb 8 15:54 Extension/mpykdump.so
-rwxrwxrwx 1 bruce staff 5896299 Feb 8 12:41 Extension/pykdump_c.so