[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] Problem installing latest sip snapshot
From: Detlev Offenbach <detlev () die-offenbachs ! de>
Date: 2006-06-04 13:11:18
Message-ID: 200606041511.18157.detlev () die-offenbachs ! de
[Download RAW message or body]
Hi,
in order to install the latest sip snapshot, I had to give it the give it the
python site and library directories explicitly. I am using a 64 bit system,
where python is located in /usr/lib64/python. The problem is the hardcoded
string in sip's configure.py. In the method "set_platform_directories" you
should use sys.lib instead of the hardcoded value of "lib".
---------------
vers = "%d.%d" % ((py_version >> 16) & 0xff, (py_version >> 8) & 0xff)
plat_py_site_dir = sys.prefix + "/" + sys.lib + "/python" + vers
if py_version >= 0x020000:
plat_py_site_dir = plat_py_site_dir + "/site-packages"
plat_py_inc_dir = sys.prefix + "/include/python" + vers
plat_py_conf_inc_dir = sys.exec_prefix + "/include/python" + vers
plat_py_lib_dir = sys.prefix + "/" + sys.lib + "/python" + vers +
"/config"
plat_bin_dir = sys.exec_prefix + "/bin"
plat_sip_dir = sys.prefix + "/share/sip"
---------------
Regards,
Detlev
--
Detlev Offenbach
detlev@die-offenbachs.de
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic