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: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] rpm spell
  • Date: Wed, 26 Jan 2005 19:05:34 +0100

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.

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page