Issue 4 in tokyo-python: Problems building on mac

8 views
Skip to first unread message

tokyo-...@googlecode.com

unread,
Aug 11, 2010, 10:50:08 AM8/11/10
to tokyo-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 4 by ryan.thomas: Problems building on mac
http://code.google.com/p/tokyo-python/issues/detail?id=4

What steps will reproduce the problem?
1. Attempt to build tokyo-python on Mac OSX

What is the expected output? What do you see instead?

The build fails because mac lacks librt. This is a common problem
associated with porting UNIX modules to the mac.

What version of the product are you using? On what operating system?

Tried this using version 0.7.0 on Snow Leopard.

Please provide any additional information below.

If the link flags for librt are removed from the setup, the module compiles
fine and seems to work fine as well. The only issue is having the linking
to librt hard-wired in the setup.py.


tokyo-...@googlecode.com

unread,
Aug 13, 2010, 5:33:30 AM8/13/10
to tokyo-...@googlegroups.com
Updates:
Status: Started
Owner: lekmalek

Comment #1 on issue 4 by lekmalek: Problems building on mac
http://code.google.com/p/tokyo-python/issues/detail?id=4

is it only librt that is missing on mac os x?

anyway, there's a quick fix in trunk, can you test and report?

thanks for your help

malek

tokyo-...@googlecode.com

unread,
Aug 13, 2010, 10:33:32 AM8/13/10
to tokyo-...@googlegroups.com

Comment #2 on issue 4 by ken.basye: Problems building on mac
http://code.google.com/p/tokyo-python/issues/detail?id=4

Hi Malek,
It is only librt that is missing and I have verified that the trunk now
builds correctly on OSX 10.6. I'm not sure, but it seems likely that some
of the other library flags (nsl, resolv), could also be removed. But
having them there isn't causing any problems, either.
Thanks!

tokyo-...@googlecode.com

unread,
Aug 13, 2010, 2:22:39 PM8/13/10
to tokyo-...@googlegroups.com

Comment #3 on issue 4 by ryan.thomas: Problems building on mac

tokyo-...@googlecode.com

unread,
Aug 14, 2010, 6:45:22 AM8/14/10
to tokyo-...@googlegroups.com
Updates:
Status: Verified

Comment #4 on issue 4 by lekmalek: Problems building on mac
http://code.google.com/p/tokyo-python/issues/detail?id=4

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages