[Python-bugs-list] [Bug #129762] Python 2.1a1 build on Irix - Makefile syntax

noreply@sourceforge.net noreply@sourceforge.net
Mon, 22 Jan 2001 21:03:29 -0800


Bug #129762, was updated on 2001-Jan-22 21:03
Here is a current snapshot of the bug.

Project: Python
Category: Build
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Submitted by: pj99
Assigned to : nobody
Summary: Python 2.1a1 build on Irix - Makefile syntax

Details: A plain "./configure; make" of the new (Thanks!) alpha 1
of Python 2.1 fails on SGI's Irix 6.5.10, with a syntax
error in Modules/Makefile.pre.  The Make variable
DLLLIBRARY is empty, causing the Makefile line:

	$(DLLLIBRARY): $(LIBRARY)

to fail with the message:

  .../Python-2.1a1/Modules
  make: file `Makefile.pre' line 132: Syntax error
  *** Error code 1 (bu21)

>From what I can tell, DLLLIBRARY is only useful on Cygnus.
But I'd guess it would be better to set it to the same
value as in LIBRARY on other platforms, rather than leave
it empty, for those variants of make that don't like an
empty target.

In any case, the following change in Modules/Makefile.pre
seems to workaround this problem and let the make continue,
at least on Irix:

	Change line 108
	from:
		DLLLIBRARY=
	to:
		DLLLIBRARY=     $(LIBRARY)




For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=129762&group_id=5470