Closed 50eff062-408a-4098-b1b2-8222303b9d0c closed 24 years ago
Jitterbug-Id: 57 Submitted-By: jital@knoggin.com Date: Fri, 20 Aug 1999 04:18:04 -0400 (EDT) Version: py152 OS: BSDI IServer
seems to think it is a NeXT arch or something
$ ./configure --prefix=/usr/home/knoggin/usr/local/
--exec-prefix=/usr/home/knoggin/usr/local/
creating cache ./config.cache
checking MACHDEP... bsdos3
checking CCC...
checking for --without-gcc... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking LINKCC... $(PURIFY) $(CC)
checking LDLIBRARY...
checking for ranlib... ranlib
checking for ar... ar
checking how to run the C preprocessor... gcc -D_HAVE_BSDI -E
checking for AIX... no
checking for minix/config.h... no
checking whether gcc -D_HAVE_BSDI accepts -OPT:Olimit=0... no
checking whether gcc -D_HAVE_BSDI accepts -Olimit 1500... no
checking for C preprocessor type... ansi
checking for ANSI C header files... yes
checking for dlfcn.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for ncurses.h... yes
checking for pthread.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for thread.h... no
checking for unistd.h... yes
checking for utime.h... yes
checking for sys/audioio.h... no
checking for sys/file.h... yes
checking for sys/lock.h... yes
checking for sys/param.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for sys/un.h... yes
checking for sys/utsname.h... yes
checking for sys/wait.h... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for clock_t in time.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking size of int... 4
checking size of long... 4
checking size of void ... 4
checking for long long support... yes
checking size of long long... 8
checking size of off_t... 8
checking whether to enable large file support... yes
checking for --with-next-framework... no
checking for --with-dyld... required for framework build
checking SO... .so
checking LDSHARED... ld
checking CCSHARED...
checking LINKFORSHARED...
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for socket in -lnet... no
checking for --with-libs... no
checking for --with(out)-readline... not specified.
checking for --with-dec-threads... no
checking for --with-threads... no
checking for --with-thread... no
checking for --with-sgi-dl... no
checking for --with-dl-dld... no
checking for alarm... yes
checking for chown... yes
checking for clock... yes
checking for dlopen... yes
checking for execv... yes
checking for flock... yes
checking for fork... yes
checking for fsync... yes
checking for fdatasync... no
checking for ftime... no
checking for ftruncate... yes
checking for getpeername... yes
checking for getpgrp... yes
checking for getpid... yes
checking for getpwent... yes
checking for gettimeofday... yes
checking for getwd... yes
checking for kill... yes
checking for link... yes
checking for lstat... yes
checking for mkfifo... yes
checking for mktime... yes
checking for nice... yes
checking for pause... yes
checking for plock... no
checking for pthread_init... yes
checking for putenv... yes
checking for readlink... yes
checking for select... yes
checking for setgid... yes
checking for setlocale... yes
checking for setuid... yes
checking for setsid... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for sigrelse... no
checking for strftime... yes
checking for strptime... no
checking for symlink... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for timegm... no
checking for times... yes
checking for truncate... yes
checking for uname... yes
checking for waitpid... yes
checking for fseek64... no
checking for fseeko... no
checking for fstatvfs... no
checking for ftell64... no
checking for ftello... no
checking for statvfs... no
checking for dup2... yes
checking for getcwd... yes
checking for strdup... yes
checking for strerror... yes
checking for memmove... yes
checking for getpgrp... (cached) yes
checking for setpgrp... (cached) yes
checking for gettimeofday... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for time.h that defines altzone... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking whether char is unsigned... no
checking for working const... yes
checking for working volatile... yes
checking for working signed char... yes
checking for prototypes... yes
checking for variable length prototypes and stdarg.h... yes
checking for bad exec prototypes... no
checking for bad static forward... no
checking whether va_list is an array... no
checking for gethostbyname_r... no
checking for gethostbyname... yes
checking for __fpu_control in -lieee... no
checking for --with-fpectl... checking for --with-libm=STRING... default
LIBM="-
lm"
checking for --with-libc=STRING... default LIBC=""
checking for hypot... yes
checking for hypot... (cached) yes
checking for genuine getopt... yes
checking what malloc(0) returns... nonnull
updating cache ./config.cache
creating ./config.status
creating Makefile
creating Objects/Makefile
creating Parser/Makefile
creating Python/Makefile
creating Modules/Makefile.pre
creating Modules/Setup.thread
creating config.h
pcvendor:~/usr/local/src/Python-1.5.2 $ make
(cd Modules; make -f Makefile.pre Makefile)
cp ./Setup.in Setup
echo "# Edit this file for local setup changes" >Setup.local
rm -f ../libpython1.5.a
/bin/sh ./makesetup Setup.thread Setup.local Setup
making Makefile in subdirectory .
Makefile' is up to date. making Makefile in subdirectory Parser
Makefile' is up to date.
making Makefile in subdirectory Objects
Makefile' is up to date. making Makefile in subdirectory Python
Makefile' is up to date.
making Makefile in subdirectory Modules
`Makefile' is up to date.
(rm -f Modules/hassignal; cd Modules; make hassignal)
rm -f hassignal
for i in regexmodule.o regexpr.o pcremodule.o pypcre.o posixmodule.o
signalmo
dule.o arraymodule.o cmathmodule.o mathmodule.o stropmodule.o
structmodule.
o timemodule.o operator.o fcntlmodule.o pwdmodule.o grpmodule.o
selectmodu
le.o socketmodule.o errnomodule.o md5module.o md5c.o shamodule.o
rotormodul
e.o newmodule.o binascii.o parsermodule.o cStringIO.o cPickle.o config.o
ge
tpath.o main.o getbuildinfo.o; do if test "$i" = "signalmodule.o"; then echo
y
es >hassignal; break; fi; done
cd Parser ; make OPT="-g -O2" VERSION="1.5"
prefix="/usr/home/knoggin/usr/local
/" exec_prefix="/usr/home/knoggin/usr/local/" all
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c pgenmain.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c acceler.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c grammar1.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c listnode.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c node.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c parser.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c parsetok.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c tokenizer.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c bitset.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c metagrammar.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c firstsets.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c grammar.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c pgen.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c printgrammar.c
gcc -D_HAVE_BSDI -g -O2 pgenmain.o acceler.o grammar1.o listnode.o node.o
parse
r.o parsetok.o tokenizer.o bitset.o metagrammar.o firstsets.o grammar.o
pgen.o
printgrammar.o -ldl -o pgen
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c myreadline.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c intrcheck.c
cd Objects ; make OPT="-g -O2" VERSION="1.5"
prefix="/usr/home/knoggin/usr/local/" exec_prefix="/usr/home/knoggin/usr/local/"
all
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c abstract.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c bufferobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c classobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c cobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c complexobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c fileobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c floatobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c frameobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c funcobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c intobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c listobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c longobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c dictobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c methodobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c moduleobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c object.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c rangeobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c sliceobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c stringobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c tupleobject.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c typeobject.c
cd Python ; make OPT="-g -O2" VERSION="1.5"
prefix="/usr/home/knoggin/usr/local/" exec_prefix="/usr/home/knoggin/usr/local/"
all
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c bltinmodule.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ceval.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c compile.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c errors.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c frozen.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c frozenmain.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c getargs.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c getcompiler.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c getcopyright.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c getmtime.c
gcc -D_HAVE_BSDI -c -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H
-DPLATFORM='"bsdos3"' ./getplatform.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c getversion.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c graminit.c
gcc -D_HAVE_BSDI -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c import.c
gcc -D_HAVE_BSDI -c -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -I/ ./importdl.c
./importdl.c:269: mach-o/dyld.h: No such file or directory
*** Error code 1
Stop. *** Error code 1
Stop.
\==================================================================== Audit trail: Mon Aug 30 12:40:26 1999 guido changed notes Mon Aug 30 12:40:26 1999 guido moved from incoming to irreproducible Tue Oct 19 23:20:49 1999 guido sent reply 1 Tue Oct 19 23:21:36 1999 guido changed notes Tue Oct 19 23:21:36 1999 guido moved from irreproducible to open Tue Oct 19 23:30:25 1999 guido changed notes Tue Oct 19 23:30:25 1999 guido moved from open to platformbug
From: Guido van Rossum \bugs-py@python.org\ Subject: Re: does not compile under BSDI (PR#57) Date: Tue Oct 19 23:20:49 1999
This same bug was reported by someone else for the same platform.
We arrived at the work-around of deleting the line
#define WITH_DYLD
from the config.h generated by the configure script.
If you are still experiencing problems building Python, please try this.
--Guido van Rossum
From: Guido van Rossum \guido@CNRI.Reston.VA.US\ Subject: Re: [Python-bugs-list] does not compile under BSDI (PR#57) Date: Fri, 20 Aug 1999 07:57:10 -0400
Full_Name: John Ital Version: py152 OS: BSDI IServer
seems to think it is a NeXT arch or something
[...] gcc -D_HAVE_BSDI -c -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -I/ ./importdl.c ./importdl.c:269: mach-o/dyld.h: No such file or directory *** Error code 1
Very strange. I've never seen this before. It appears that somehow USE_DYLD is defined at that point, which can only happen if WITH_DYLD is defined, which can only happen if you specify --with-next-framework or --with-dyld on the configure command line, which you didn't.
Perhaps you have a buggy preprocessor that is confused by the tangle of #ifdefs in importdl.c?
I don't know how to help you; I know Python has been built successfully on bsdos3 before, so I'm guessing it's something in your setup, not a Python bug.
If you need more help, please ask a newsgroup -- either comp.lang.python or a BSD specific one.
--Guido van Rossum (home page: http://www.python.org/~guido/)
Work-around: if you delete
#define WITH_DYLD
from config.h, the build succeeds.
For the record, I cannot reproduce this on the BSDI 3.1 systems we still have lying around. It *might* have been specific to BSDI 3.0, which we no longer have (for various reasons, like y2k bugs ;) and I've heard similar (but not the same) reports about BSD/OS running under a 'virtual' machine. However, I've never seen or heard about those 'virtual' BSD/OSes, other than in that c.l.py posting.
Please do triage on this bug.
I've sent a message to the submitter asking if this can be reproduced with more recent Python versions. Closed as "Works for Me" based on Thomas' comment. This can be reopened based on further input from the original submitter.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = 'https://github.com/freddrake' closed_at =
created_at =
labels = ['build']
title = 'does not compile under BSDI (PR#57)'
updated_at =
user = 'https://bugs.python.org/anonymous'
```
bugs.python.org fields:
```python
activity =
actor = 'fdrake'
assignee = 'fdrake'
closed = True
closed_date = None
closer = None
components = ['Build']
creation =
creator = 'anonymous'
dependencies = []
files = []
hgrepos = []
issue_num = 210707
keywords = []
message_count = 7.0
messages = ['553', '554', '555', '556', '557', '558', '559']
nosy_count = 4.0
nosy_names = ['nobody', 'jhylton', 'fdrake', 'twouters']
pr_nums = []
priority = 'normal'
resolution = 'works for me'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue210707'
versions = []
```