On 9/11/12 10:57:22, Chris Withers wrote: > Hi All, > > I wanted to run the unit tests before checking in the patch for > http://bugs.python.org/issue16441, even though it's a trivial change, so > I was trying to follow the instructions at: > > http://docs.python.org/devguide/ > > I'm on MacOS, so following the "unix" instructions did: > > ./configure --with-pydebug && make -j2 > > This appears to have worked, given the end of the output: > > Python build finished, but the necessary bits to build these modules > were not found: > _bsddb dl gdbm > imageop linuxaudiodev ossaudiodev > readline spwd sunaudiodev > To find the necessary bits, look in setup.py in detect_modules() for the > module's name. > > running build_scripts > creating build/scripts-2.7 > copying and adjusting /Users/chris/LocalHG/cpython/Tools/scripts/pydoc > -> build/scripts-2.7 > copying and adjusting /Users/chris/LocalHG/cpython/Tools/scripts/idle -> > build/scripts-2.7 > copying and adjusting /Users/chris/LocalHG/cpython/Tools/scripts/2to3 -> > build/scripts-2.7 > copying and adjusting /Users/chris/LocalHG/cpython/Lib/smtpd.py -> > build/scripts-2.7 > changing mode of build/scripts-2.7/pydoc from 644 to 755 > changing mode of build/scripts-2.7/idle from 644 to 755 > changing mode of build/scripts-2.7/2to3 from 644 to 755 > changing mode of build/scripts-2.7/smtpd.py from 644 to 755 > [65930 refs] > > However, I can't find the python it's built...
On my system, it's in the current directory. It's called "python.exe", to avoid a name clash with the "Python" subdirectory. > I thought I'd be clever and try: > > buzzkill:cpython chris$ cat build/scripts-2.7/2to3 > #!/usr/local/bin/python2.7 > ... Presumable, it would be installed in /usr/local/bin if I'd tried "make install". > There is a python there, but it's a symlink put in place around a year ago. Same here. > So, where should I look for the built python? In the current directory: $ ./python.exe Python 2.7.3+ (2.7:8b181c75792f, Nov 9 2012, 11:26:59) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> Hope this helps, -- HansM _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com