Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] rpm spell

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Craig Dyke <grail AT westnet.com.au>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] rpm spell
  • Date: Sun, 30 Jan 2005 01:09:52 +0000

Arwed

It appears that this is set in the configure script but I am unsure as to which
piece I should change.

Any suggestions?

Craig

Arwed von Merkatz wrote:

On Thu, Jan 27, 2005 at 12:54:15AM +0000, Craig Dyke wrote:

Has anyone else had problems with the rpm spell?

It seems to always fail when compiling the python portion for me
(see attached log)

Any advice would be good?
I am using test grimoire and devel sorcery.


Seems like rpm doesn't check where python is and instead assumes its
headers are in /usr/include/python (which they aren't):
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../lib -I../rpmdb -I../rpmio
-I../beecrypt -I../popt -I/usr/include/pythonauto -I../elfutils/libelf
-I../zlib -I/usr/include/python -O -march=athlon -mmmx -m3dnow -pipe -DPIC
-fPIC -O3 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -c rpmmodule.c
-MT rpmmodule.lo -MD -MP -MF .deps/rpmmodule.TPlo -fPIC -DPIC -o
.libs/rpmmodule.lo
rpmmodule.c:7:20: Python.h: No such file or directory

changing the Makefile(.in) in that directory to use
/usr/include/python2.4 instead of /usr/include/python should fix it.







Archive powered by MHonArc 2.6.24.

Top of Page