Re: [Monetdb-developers] [Monetdb-checkins] buildtools/autogen README, MonetDB_1-20, 1.5, 1.5.8.1
On 13-12-2007 15:22:43 +0000, Stefan Manegold wrote:
Update of /cvsroot/monetdb/buildtools/autogen In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12301/autogen
Modified Files: Tag: MonetDB_1-20 README Log Message:
documenting a Mac-peculiarity we recently encountered
Keep in mind that Apple builds their Python, Perl, etc. etc. in very strange non-standard ways which break in many ways for other applications. (And it indeed changes inbetween major releases of the OS.) I agree with the noting of this difference, but would like to note that I think we should encourage people to use non-Apple built versions of software when developing on MonetDB. The amount of patches that Apple applies (and rejected upstream) is not good for our bugfixabilities, though easily solvable by using the respective non-changed versions via any of the widely known providers of "Unix" software for Mac OS X.
Index: README =================================================================== RCS file: /cvsroot/monetdb/buildtools/autogen/README,v retrieving revision 1.5 retrieving revision 1.5.8.1 diff -u -d -r1.5 -r1.5.8.1 --- README 17 Oct 2006 08:59:45 -0000 1.5 +++ README 13 Dec 2007 15:22:41 -0000 1.5.8.1 @@ -14,6 +14,16 @@ <python-version> is the version of Python used (e.g. 2.4). You can automatically get the respective directory via "<install-dir-prefix>/`python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(0,0,"")'`". +( +In case your are using Apple-built Python 2.5.1 on Mac OS X 10.5.1 (Darwin 9.1.0), +it can be that the above command yields +"<install-dir-prefix>/Library/Python/2.5/site-packages", +while Python's distutils.core.setup() actually installs the python modules into +"<install-dir-prefix>/lib/python2.5/site-packages". +In that case, replacing the above command by +"<install-dir-prefix>/`python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(0,1,"")'`/site-packages" +might help to overcome this inconsistency. +)
On Windows, to follow these instructions, Python must of course be found in your PATH. The default location where autogen.py is
participants (1)
-
Fabian Groffen