LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   No python 2.3 development libraries RPM (https://www.linuxquestions.org/questions/mandriva-30/no-python-2-3-development-libraries-rpm-292802/)

a monkey 02-20-2005 11:01 PM

No python 2.3 development libraries RPM
 
Hello. I wanted to upgrade to python-gtk 2.5.3, so I downloaded a source RPM of it. I tried to use rpmbuild to build the SRPM, but got this error:

Code:

python2-devel >= 2.3 is needed by pygtk2-2.5.3-3
So I installed libpython2.3-devel with urpmi. I later found out that these were not the python development libraries. I still got the same error when trying to build the SRPM. I searched through Mandrake's RPM database, but couldn't seem to find any package resembling the development libraries of python. :study: If anybody could give me some pointers on how to install the python development libraries via one of Mandrake's RPMs, it would be appreciated.

walker 02-21-2005 06:58 AM

In fact you don't need libpython-devel.

You need a package called simply python-devel :)

Unfortunately you can't find that because mandrake gives this kind of package only into sales OS or to registered mambers of Mandrakeclub.

I've left mandrake for suse due to this limitation.

You can have what you want if you pay.

This is Mandrakesoft policy. :(

You have only a way.

Try to download python-x.x.x-src.rpm (were x.x.x is the version of python you've got) and make the package by yourself using rpmbuild --rebuild.

Be aware that sometimes mandrake package are reduced version of the original package and it can contain only python that you also have without development package.

Let me know

walker

a monkey 02-24-2005 08:55 PM

Re: No python 2.3 development libraries RPM
 
Nope. Recompiling the source RPM didn't work at all - rpmbuild refused to compile the RPM. Now I'm a Fedora Core fan. :)

walker 02-24-2005 09:12 PM

Can't you compile python source due to dependency??
rpmbuild as a funny options --nodeps at least you could try with it!

Good luck!

walker


All times are GMT -5. The time now is 12:08 AM.