This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nobody
Recipients
Date 2001-04-06.07:12:52
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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


History
Date User Action Args
2007-08-23 13:53:49adminlinkissue414228 messages
2007-08-23 13:53:49admincreate