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

noreply@sourceforge.net noreply@sourceforge.net
Fri, 26 Jan 2001 07:25:02 -0800


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

Project: Python
Category: Build
Status: Closed
Resolution: Invalid
Bug Group: Platform-specific
Priority: 5
Submitted by: pj99
Assigned to : fdrake
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)




Follow-Ups:

Date: 2001-Jan-26 07:25
By: fdrake

Comment:
Modules/Makefile.pre will no longer be used starting with 2.1a2, so no
action is needed.  (But thanks for reporting the problem!)
-------------------------------------------------------

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