[p4python] Building p4python on MacOSX

Robert Cowham robert at vaccaperna.co.uk
Thu Jan 5 05:00:28 PST 2006

Not something I have tried. The Darwin option seems to be the one to go for,
but I wonder if the issues identified by Tony Smith for p4ruby may be


Can you try something similar? (Note that it would appear unnecessary to use
gcc2 as API now uses gcc3).


> Hi, I've been trying to build the P4Python module for use on 
> Mac OS X (10.3).
> The darwin version linked
> but then segfaults when I do an "import p4".
> Has anyone built the module
> for Mac OS successfully? Or have any clues?
> One other thing, on my first
> attempt to build with either API I got the error:
> ld: table of contents
> for archive: p4api/libclient.a is out of date; rerun 
> ranlib(1) (can't load from it)
> So I did as it says and ran ranlib on the libraries and the 
> error went away.
> Cheers,
> Simon Middleton
> ANT Software Limited

More information about the p4python mailing list