===> Extracting for python-2.0 How-To-Repeat: make in /usr/ports/lang/python
> cc -fPIC -O -pipe -D_THREAD_SAFE -I./../Include -I.. -DHAVE_CONFIG_H -c ./_cursesmodule.c > *** Error code 1 > > Stop. I think there are some compiler messages missing. Anyway, can you try the attached patch? I don't have a 3.x machine to try it on. tg
Responsible Changed From-To: freebsd-ports->tg Let the python gury sort it out.
tg
The most recent patch suggested by Thomas Gellekum doesn't quite work. Since the ncurses include files expect to be able to include each other using `#include <ncurses/...>', you need to tell gcc to -also- look in /usr/local/include. With the patch below, Python-2.0 compiles (with some warnings...) and installs on my FreeBSD-3.4 machine. --- Makefile.~1~ Wed Oct 18 07:58:44 2000 +++ Makefile Sun Nov 12 01:44:24 2000 @@ -76,6 +76,12 @@ .include <bsd.port.pre.mk> +.if ${OSVERSION} < 400000 +LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses +CFLAGS+= -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include +CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" +.endif + .if ${OSVERSION} >= 500000 && ${OSVERSION} < 500005 CONFIGURE_ARGS+= --with-libs='-lxpg4' .endif
State Changed From-To: open->closed Should be fixed now. Thanks for your cooperation, guys.