I have yet another question...when rebuilding the source rpm I get an error saying that I need the expat-devel libraries. My distribution either doesn't come with them or they are part of another package and I am not seeing it. If I download and rebuild the source rpm package for expat-devel from rpmfind.net what is the risk that it will break something on my system. Thanks, Mike
I am using SuSE 8.2 and I found the rpm's on rpmfind.net. The distribution came with python 2.2.2 but I need python 2.2.3. I looked for new SuSE packages but did not find them. I will follow your suggestion and download the src rpm and rebuild it.
Mike
On Thu, Aug 07, 2003 at 10:40:12AM -0400, Michael Long wrote: mlong> I have yet another question...when rebuilding the source rpm I get an mlong> error saying that I need the expat-devel libraries. My distribution mlong> either doesn't come with them or they are part of another package and I mlong> am not seeing it. If I download and rebuild the source rpm package for mlong> expat-devel from rpmfind.net what is the risk that it will break mlong> something on my system. Do you have an expat package? Most likely then the expat-devel stuff is in the expat package. List it to see if there are any include files: rpm -ql expat | grep include Or see if any other package mentions "expat": rpm -qa | grep expat If SuSE doesn't have any expat packages available at all, then rebuilding one probably won't hurt. -- Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/ PGP Key ID: 49BB5886 Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886
On Thu, Aug 07, 2003 at 11:00:11AM -0400, Charles R. Anderson wrote: cra> If SuSE doesn't have any expat packages available at all, then cra> rebuilding one probably won't hurt. I should mention, that if you find one that has the expat include files, but isn't named expat-devel, you can force the build with: rpmbuild --rebuild --nodeps .... Actually, it might be easier to grab the SuSE python2 src.rpm, and modify that one to use the new python2-2.2.3 tar source. That way, your src.rpm will be based on the SuSE one, with all the correct dependencies for expat, etc: rpm -i the-suse-python2-2.2.2.src.rpm cd /usr/src/redhat/SPECS edit python2.spec to change the version to 2.2.3 and release to 1custom or similar. copy the new python2-2.2.3.tar.gz into /usr/src/redhat/SOURCES rpmbuild -ba /usr/src/redhat/SPECS/python2.spec -- Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/ PGP Key ID: 49BB5886 Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886
participants (2)
-
Charles R. Anderson
-
Michael Long