configure error: Unknown location specification /usr/include/python2.6
Bug #928770 reported by
Andrey Ponomarenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
Fix Committed
|
Medium
|
Jeff Johnson |
Bug Description
There is a configure error in the latest RPM5 from CVS. The python 2.7 has been found by configure, but it's trying to find some "specification" for python 2.6, which is not presented in the system.
The detailed configure log is here: http://
$> ./devtool harwich
...
checking for Python 2.7 API... yes
...
++ searching location: /usr/lib
++ searching location: /usr/include/
configure: error: Unknown location specification /usr/include/
program finished with exit code 1
elapsedTime=
To post a comment you must log in.
Good: you are attempting a build slave.
Yes: the build master is currently targeting a
single platform: a RHEL6 clone with python-2.6.
One quick fix would be to remove this build option in devtool.conf
--with- pythonembed= /usr/lib: /usr/include/ python2. 6 \
%harwich
...
...
but there is almost certainly other options that won't be right.
The devtool.conf stanza that is appropriate for Mandriva is "cooker"
./devtool cooker
I will adjust the master.cfg on harwich to use "cooker" instead of "harwich"
until I get a chance to tie the build config in devtool.conf to specific
build slaves.