[Pythonmac-SIG] Problems compiling Python 2.2a4 (unix) on X.1

Mark Day mday@mac.com
Sun, 30 Sep 2001 19:01:24 -0700


on 9/29/01 1:42 PM, Ryan Wilcox at ryanwilcox@mac.com wrote:

> [successful build stuff... no patches patched, just ./configure; make]
> 
> cc  -u __dummy -u _PyMac_Error -framework System -framework Carbon -framework
> Foundation -o python \
> Modules/python.o \
> libpython2.2.a -lpthread
> /usr/bin/ld: can't create output file: python (Is a directory, errno = 21)

You're building on an HFS or HFS Plus volume, which is case insensitive.
The build wants to put the "python" executable in the same directory as the
"Python" directory.  You need to use the --with-suffix option to configure:

./configure --with-suffix=.exe

-Mark