Subject: Re: python 2.2.3
To: None <port-mac68k@netbsd.org>
From: Joshua Coombs <jcoombs@gwi.net>
List: port-mac68k
Date: 07/04/2003 13:00:05
Did some digging, if you note there is no -msoft-float nor -m68040 shown,
appears the python port will honor cflags durring configure, but doesn't
actually build with them.  Only way to get it to build with the cflags was
to set OPTS, kinda a kludge, but at least it got it building right.
Unfortunatly, exact same error.

Josh C

----- Original Message ----- 
From: "Joshua Coombs" <jcoombs@gwi.net>
To: <port-mac68k@netbsd.org>
Sent: Thursday, July 03, 2003 1:11 PM
Subject: python 2.2.3


> Running into trouble building python 2.2.3 from pkgsrc using the LC040
> netbsd build.  Someone else running the same mind trying to reproduce so
I
> can determine if it's my install/machine or something more sinister?
>
> c -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,--export-dynamic -o python
> Modules/python.o  libpython2.2.a -lutil   -lm
> libpython2.2.a(posixmodule.o): In function `posix_tmpnam':
>
/usr/pkgsrc/lang/python22/work/Python-2.2.3/./Modules/posixmodule.c(.text+
0x31e4):
> warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
> libpython2.2.a(posixmodule.o): In function `posix_tempnam':
>
/usr/pkgsrc/lang/python22/work/Python-2.2.3/./Modules/posixmodule.c(.text+
0x3116):
> warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
> case $MAKEFLAGS in  *-s*) CC='cc'
DSHARED='cc -shared  -Wl,-R/usr/pkg/lib
> -L/usr/pkg/lib' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes'
./python -E
> ./setup.py -q build;;  *) CC='cc'
DSHARED='cc -shared  -Wl,-R/usr/pkg/lib
> -L/usr/pkg/lib' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes'
./python -E
> ./setup.py build;;  esac
> Illegal instruction - core dumped
> *** Error code 132
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/python22/work/Python-2.2.3
>
> Joshua Coombs
>
>
>