build problems on Mac OS X

13 views
Skip to first unread message

Jeremy

unread,
Nov 29, 2010, 11:18:28 PM11/29/10
to tokyo-python
Hello All,

I can get 0.7.0 and trunk to build cleanly on the latest Ubuntu, but
unfortunately, I hit a brick wall while trying to build on OSX.

You can see an excerpt below.

I admit I'm reaching the extent of my knowledge concerning building c
extensions for Python on OSX, so it could be something quite simple.

I have compiled and installed tokyocabinet-1.4.46 and it lives in /usr/
local/lib and /usr/local/include.

If anyone has encountered this, I'd appreciate any help in getting
past it and getting this installed. It'd be great to be able to do
development locally.

Thanks,
Jeremy


--------------------------------------
claypot:tokyo-python-0.7.0$ python setup.py build
running build
running build_py
creating build
creating build/lib.macosx-10.3-fat-2.6
creating build/lib.macosx-10.3-fat-2.6/tokyo
copying tokyo/__init__.py -> build/lib.macosx-10.3-fat-2.6/tokyo
copying tokyo/dbm.py -> build/lib.macosx-10.3-fat-2.6/tokyo
running build_ext
error: None


claypot:tokyo-python-0.7.0$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5664~38/src/configure --disable-
checking --enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/
$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-
prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-
apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5664)

lekma

unread,
Nov 30, 2010, 9:30:35 AM11/30/10
to tokyo-python
try the trunk

Jeremy Kelley

unread,
Nov 30, 2010, 9:42:07 PM11/30/10
to tokyo-...@googlegroups.com
This is a checkout of trunk just now (Nov 30 8:40PM CST) and is r64.

Here's what I get.

-j

---------------------------------
claypot:tokyo-python$ python setup.py build


running build
running build_py
creating build
creating build/lib.macosx-10.3-fat-2.6
creating build/lib.macosx-10.3-fat-2.6/tokyo
copying tokyo/__init__.py -> build/lib.macosx-10.3-fat-2.6/tokyo
copying tokyo/dbm.py -> build/lib.macosx-10.3-fat-2.6/tokyo
running build_ext
error: None

---------------------------------

--
The Christian ideal has not been tried and found wanting;
it has been found difficult and left untried – G. K. Chesterton

Reply all
Reply to author
Forward
0 new messages