[ python-Bugs-1230161 ] Build failure
SourceForge.net
noreply at sourceforge.net
Wed Jul 6 07:20:44 CEST 2005
Bugs item #1230161, was opened at 2005-06-30 08:27
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1230161&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: L.M (ceramond)
Assigned to: Nobody/Anonymous (nobody)
Summary: Build failure
Initial Comment:
./configure + make fails with various errors
on FreeBSD 4.11-RELEASE
case $MAKEFLAGS in *-s*) CC='gcc -pthread'
LDSHARED='gcc -shared'
OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes'
./python -E ./setup.py -q
build;; *) CC='gcc -pthread' LDSHARED='gcc -shared'
OPT='-DNDEBUG -g -O3
-Wall -Wstrict-prototypes' ./python -E ./setup.py
build;; esac
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "./setup.py", line 6, in ?
import sys, os, getopt, imp, re
ImportError: No module named os
*** Error code 1
If I run "make" again, it stops with this, instead,
I found it strange because "pwd.so" isn't ready yet.
case $MAKEFLAGS in *-s*) CC='gcc -pthread'
LDSHARED='gcc -shared'
OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes'
./python -E ./setup.py -q
build;; *) CC='gcc -pthread' LDSHARED='gcc -shared'
OPT='-DNDEBUG -g -O3
-Wall -Wstrict-prototypes' ./python -E ./setup.py
build;; esac
Traceback (most recent call last):
File "./setup.py", line 1184, in ?
main()
File "./setup.py", line 1178, in main
scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
File
"/home/mondo/Python-2.4.1/Lib/distutils/core.py", line
123, in setup
dist.parse_config_files()
File
"/home/mondo/Python-2.4.1/Lib/distutils/dist.py", line
339, in
parse_config_files
filenames = self.find_config_files()
File
"/home/mondo/Python-2.4.1/Lib/distutils/dist.py", line
302, in
find_config_files
check_environ()
File
"/home/mondo/Python-2.4.1/Lib/distutils/util.py", line
155, in
check_environ
import pwd
ImportError: No module named pwd
*** Error code 1
I've tried "make clean" + retry,
giving --prefix=so-and-so to ./configure,
and some other things without success.
I have already built exactly same Python source
on this server several weeks ago (in a different
directory),
and do not understand why it's failing, now.
(Possibly, admin updated something causing build
process to fail...)
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2005-07-06 07:20
Message:
Logged In: YES
user_id=21627
The pwd module is only used if HOME isn't set. Why is HOME
not set on your system?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1230161&group_id=5470
More information about the Python-bugs-list
mailing list