Ok, so I'm now attempting a "clean room" installation using Python 2.7.3 to
build the RPM. Here's my installation command:
./configure --with-zlib=/usr/include; make; sudo make install
But the bdist_rpm setup command fails:
[scarolan@titania:~/Python-2.7.3]$ python2.7 setup.py bdist_rpm
error: pyconfig.h: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.67699 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.67699 (%build)
error: command 'rpmbuild' failed with exit status 1
Where is it looking for pyconfig.h?
On Tue, Mar 26, 2013 at 10:18 AM, Sean Carolan <[email protected]> wrote:
>
> Could it be that it is taking the system python executable which is
>> probably 2.4?
>>
>> -Amit.
>
>
> I've tried it with python24, python25 and python27 and all of them give
> the same error.
>
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor