D
Daniel Rentz
Hello,
I've downloaded the 3.2 source tarball from python.org and tried to
compile Python from scratch in a Cygwin 1.7.7 environment. Configure
works as expected. Make fails with the following message:
make: *** No rule to make target `libpython3.2m.dll.a', needed by
`python.exe'. Stop.
There is a suspicious line in Makefile.pre.in, line 509:
$(DLLLIBRARY) libpython$(VERSION).dll.a: $(LIBRARY_OBJS)
Changing that line to
$(DLLLIBRARY) $(LDLIBRARY): $(LIBRARY_OBJS)
lets make finish, but gives a bunch of other errors and warnings, such as:
<cite>
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
cannot find -lpython3.2
collect2: ld returned 1 exit status
Python build finished, but the necessary bits to build these modules
were not found:
_tkinter nis ossaudiodev
spwd
To find the necessary bits, look in setup.py in detect_modules() for the
module's name.
Failed to build these modules:
_bisect _codecs_cn _codecs_hk
_codecs_iso2022 _codecs_jp _codecs_kr
_codecs_tw _csv _ctypes
_ctypes_test _curses _curses_panel
_datetime _elementtree _gdbm
_hashlib _heapq _json
_lsprof _multibytecodec _multiprocessing
_pickle _posixsubprocess _random
_socket _sqlite3 _ssl
_struct _testcapi array
atexit audioop binascii
bz2 cmath crypt
fcntl grp math
mmap parser pyexpat
readline resource select
syslog termios time
unicodedata zlib
</cite>
Is there something obvious I am missing here?
Regards
Daniel
I've downloaded the 3.2 source tarball from python.org and tried to
compile Python from scratch in a Cygwin 1.7.7 environment. Configure
works as expected. Make fails with the following message:
make: *** No rule to make target `libpython3.2m.dll.a', needed by
`python.exe'. Stop.
There is a suspicious line in Makefile.pre.in, line 509:
$(DLLLIBRARY) libpython$(VERSION).dll.a: $(LIBRARY_OBJS)
Changing that line to
$(DLLLIBRARY) $(LDLIBRARY): $(LIBRARY_OBJS)
lets make finish, but gives a bunch of other errors and warnings, such as:
<cite>
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
cannot find -lpython3.2
collect2: ld returned 1 exit status
Python build finished, but the necessary bits to build these modules
were not found:
_tkinter nis ossaudiodev
spwd
To find the necessary bits, look in setup.py in detect_modules() for the
module's name.
Failed to build these modules:
_bisect _codecs_cn _codecs_hk
_codecs_iso2022 _codecs_jp _codecs_kr
_codecs_tw _csv _ctypes
_ctypes_test _curses _curses_panel
_datetime _elementtree _gdbm
_hashlib _heapq _json
_lsprof _multibytecodec _multiprocessing
_pickle _posixsubprocess _random
_socket _sqlite3 _ssl
_struct _testcapi array
atexit audioop binascii
bz2 cmath crypt
fcntl grp math
mmap parser pyexpat
readline resource select
syslog termios time
unicodedata zlib
</cite>
Is there something obvious I am missing here?
Regards
Daniel