Bugs item #1613934, was opened at 2006-12-12 14:06 Message generated for change (Comment added) made by sjoerd You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1613934&group_id=56967
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Mapi Group: (zombie: MonetDB4 4.14) >Status: Closed >Resolution: Wont Fix Priority: 5 Private: No Submitted By: Ronald Oussoren (ronaldoussoren) Assigned to: Nobody/Anonymous (nobody) Summary: Python extensions building Initial Comment: (Tested with a 4.14 snapshot downloaded on december 12, 2006 on a SLES9 Linux system that's up-to-date w.r.t. patches). The _MapiLib extension is build using automake/libtool instead of distutils. There are two problems with this: 1) The extension is build as _MapiLib.so.1.0.0 in a subdirectory, which means you have to move files around to make the extension available to the python interpreter 2) Python extensions aren't shared libraries on all Python platforms. The MachO file format used on Mac OS X has a seperate format for loadable bundles and that format is used for python extensions. IMHO the build procedure for the python exensions should use distutils instead of the current mechanism. cd $PREFIX; find ./lib/python2.4 says: ./lib/python2.4/site-packages ./lib/python2.4/site-packages/MonetSQLdb ./lib/python2.4/site-packages/MonetSQLdb/__init__.py ./lib/python2.4/site-packages/MonetSQLdb/converters.py ./lib/python2.4/site-packages/MonetSQLdb/cursors.py ./lib/python2.4/site-packages/MonetSQLdb/monetexceptions.py ./lib/python2.4/site-packages/MonetSQLdb/times.py ./lib/python2.4/site-packages/MapiLib.py ./lib/python2.4/site-packages/CMapi.py ./lib/python2.4/site-packages/lib ./lib/python2.4/site-packages/lib/_MapiLib.so.0.0.0 ./lib/python2.4/site-packages/lib/_MapiLib.so.0 ./lib/python2.4/site-packages/lib/_MapiLib.so ./lib/python2.4/site-packages/lib/_MapiLib.la This shows that the _MapiLib extensions is installed in a subdirectory and with the wrong (although there is a symlink with the right name). My current workaround is moving lib/python2.4/site-packagdes/lib/* one level up in the directory tree. ---------------------------------------------------------------------- >Comment By: Sjoerd Mullender (sjoerd) Date: 2007-02-19 14:12 Message: Logged In: YES user_id=43607 Originator: NO You are right that the extension should be built using distutils, but we're unlikely to make that happen. I understand that you are working on a new implementation that presumably won't have this problem. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1613934&group_id=56967 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Monetdb-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
