[Python-bugs-list] [ python-Bugs-414228 ] Wrong PYTHONPATH in Makefile
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 06 Apr 2001 00:12:54 -0700
Bugs item #414228, was updated on 2001-04-06 00:12
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=414228&group_id=5470
Category: Build
Group: None
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wrong PYTHONPATH in Makefile
Initial Comment:
The build process stopped with error in target
sharemods
PYTHONPATH= ./python ./setup.py build
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "./setup.py", line 9, in ?
import sys, os, getopt
ImportError: No module named os
*** Error code 1
make: Fatal error: Command failed for target
`sharedmods'
This is cured with changing the Makefile (inserting
./Lib)
# Build the shared modules
sharedmods: $(PYTHON)
PYTHONPATH=./Lib ./$(PYTHON)
$(srcdir)/setup.py build
Python: Python-2.1b2a
System: SunOS 5.7 Generic sun4u sparc SUNW,Ultra-60
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=414228&group_id=5470