monipol wrote: > Intel OS 10.5.8, 32- and 64-bit Fink, Xcode 3.1.4, case-sensitive > filesystem. > > $ fink -m --build-as-nobody rebuild pil-py25 > (...) > building '_imagingmath' extension > gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall > -Wstrict-prototypes -IlibImaging -I/sw/include/freetype2 -I/sw/include > -I/usr/include -I/sw/include/python2.5 -c _imagingmath.c -o build/ > temp.macosx-10.5-i386-2.5/_imagingmath.o > gcc -L/sw/lib -bundle -undefined dynamic_lookup -L/sw/lib build/ > temp.macosx-10.5-i386-2.5/_imagingmath.o -L/sw/lib -L/usr/lib -o build/ > lib.macosx-10.5-i386-2.5/_imagingmath.so > (...) > changing mode of build/scripts-2.5/pilprint.py from 644 to 755 > sudo -u fink-bld [ENV] sh -c/var/tmp/tmp.5.ucAQri > /sw/bin/python2.5 selftest.py || exit 2 > Traceback (most recent call last): > File "selftest.py", line 11, in <module> > import ImageMath > File "PIL/ImageMath.py", line 19, in <module> > import _imagingmath > ImportError: No module named _imagingmath
The PIL guys seem to assume that everyone has the PIL directory in their PYTHONHOME path or that this test is run with the PIL directory as $CWD. I think they should use "from PIL import _imagingmath" instead of "import _imagingmath" or an appropriate cd command beforehand. -- Martin ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel