Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-18-2007
slowfood slowfood is offline
Registered User
 
Name: Peter Broadwell
Organization: wink.com
Project: search infrastructure
 
Join Date: Jul 2007
Posts: 1
Wink missing Ice.pth in IcePy under gentoo

Seems the default installation of IcePy under gentoo
has problems importing the Ice module:
% python -c 'import Ice; print "success"'
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/lib64/python2.4/site-packages/Ice.py", line 30, in ?
import IcePy
ImportError: No module named IcePy
%
Digging deeper, the problem is it can't locate /usr/lib/libIce.so
as /usr/lib is not in the default search path.
Adding /usr/lib fixes things:
% PYTHONPATH='/usr/lib:$PYTHONPATH' !!
PYTHONPATH='/usr/lib:$PYTHONPATH' python -c 'import Ice; print "success"'
success
%
but an easier way to effect this is with a Ice.pth file at the same
location as the Ice.py module top level:
% echo '/usr/lib' >> /usr/lib/python2.4/site-packages/Ice.pth
% python -c 'import Ice; print "success"'
success
%
Any chance of getting this in at your end for future ebuilds?

Thanks -
Reply With Quote
  #2 (permalink)  
Old 07-18-2007
ctennis ctennis is offline
Registered User
 
Name: Caleb Tennis
Organization: AEI
Project: Project GINA
 
Join Date: Mar 2006
Posts: 120
ZeroC doesn't support Ice for Gentoo - I just happen to maintain the ebuilds for Gentoo.

If you can open a new bug at bugs.gentoo.org, assign it to me (caleb@gentoo.org) and attach a patch I'll be happy to put it in for you. As well, if you would like to submit an ebuild for Ice-3.2.0 I'd be more than happy to add it to portage.
__________________
Caleb Tennis
Analytical Engineering, Inc.
http://www.aei-tech.com
Project: Our facility infrastructure heavily utilizes Ice

Gentoo ebuild maintainer for Ice, IceRuby, etc.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
gentoo icephp 3.2.0 & dev-lang/php-5.1.6-r8 mutschaedi Comments 0 06-04-2007 09:05 AM
Problem when import IcePy in Ice 3.1.1 rc_hz Help Center 14 04-11-2007 07:22 AM
Something missing in Ice 3.1.0 manual rc_hz Comments 3 10-05-2006 04:07 AM
Ice 3.0.0 and Gentoo ebuild kovacm Help Center 4 12-30-2005 10:16 AM
Ice gentoo ebuild xdm Help Center 3 03-09-2005 06:15 PM


All times are GMT -4. The time now is 01:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.