Re: RPMs require RPMs?
Simon Eisenmann <simon-4x/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.installers |
|---|---|
| Message-ID | <[email protected]> |
Hi, Howard Fore wrote: > After encountering several issues with building an RPM of Python 2.3.3 > for RedHat 9 (binary RPMs are only available for Fedora Core 1) The Fedora Core 1 RPMS can be used on RH9 as well. I > decided to build it from source. No problems. However when I then tried > to install Plone 2 I got the following: > > [[email protected] root]# rpm -Uvh Plone2-2.0.0rh-2.i386.rpm > error: Failed dependencies: > /usr/bin/python2.3 is needed by Plone2-2.0.0rh-2 > python2.3 >= 2.3.3 is needed by Plone2-2.0.0rh-2 > [[email protected] root]# ls -la /usr/bin/python2.3 > -rwxr-xr-x 1 root root 3369317 Mar 30 09:02 /usr/bin/python2.3 > [[email protected] root]# /usr/bin/python2.3 -V > Python 2.3.3 Now you got python2.3.3 (from source). > > I thought that this must surely be a bug. If I can see it in the path, > why couldn't the RPM. And thus I entered an issue in the collector ( > http://plone.org/collector/2945/ ) However it was rejected by > "longsleep" with the interesting reason of "As RPM is a package > management system you need to install python2.3 from rpm as well." This > is not true in my experience. Mixing installations from source and RPM > can cause you issues further down the line in upgrading parts. However > simply because one binary was installed via RPM and another from source > does not mean that can't see or communicate with each other. That's the > point of the path. Nearly any RPM out there requires other RPMS to be installed. _No_ RPM will ever recognize custom from source whatever installations. You are _not_ doing a from source installation. You are trying to rebuild a source RPM which is quite different. Rebuilding source RPMs requires other RPMs and its devel packages. You build a RPM from the source RPM which is afterwards installed. During this process the RPM system verifies that all dependencies are resolved. (Custom) from source installations of whatever dependency are not supported inside this process of course. > > If the Plone team insists on Plone RPM installations on installing on > RPM-installed Python 2.3.3 then this caveat should be clearly noted on > the downloads page. It is not. Its not that we insist on this thing .. but there is no other way besides including python inside the plone rpm as well which i am not willing todo. The requirements are clearly stated on my rpm project page at http://longsleep.org/projects/plone2-rpms, which was linked from the download page once, but isnt anymore. Without this information i agree its kind of difficult to resolve the plone rpm dependencies. Cheers, Simon ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click