A Buildrequires: python-devel will be added.
Matt
On Tue, Feb 27, 2001 at 12:14:12AM +0100, Svante Signell wrote:
> Shouldn't newt depend on perl, see below? Also, one Makefile is
> referring to python2.0, not python1.5 as included in rawhide-20010206.
>
> rpm --rebuild --target=i686 newt-0.50.20-3.src.rpm
> gcc -I/usr/include/python2.0 -fPIC -O2 -march=i686 -Wall -I/usr/include/slang -c
>snackmodule.c
> snackmodule.c:7:20: Python.h: No such file or directory
> make: *** [snackmodule.o] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.87671 (%install)
>
> Workaround:
> ln -s /usr/include/python1.5/ /usr/include/python2.0
> ...
> gcc -g -o testtree testtree.o libnewt.a -lslang -lm
> gcc -I/usr/include/python2.0 -fPIC -Wall -I/usr/include/slang -g -c snackmodule.c
> gcc --shared -fPIC -o _snackmodule.so snackmodule.o -L . libnewt.so.0.50.20
>
>
>
> _______________________________________________
> Redhat-devel-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list