Обсуждение: 7.3.3 RPM build
I tried to build new RPMs this morning from the 7.3.3-1PGDG src RPM because I didn't want tcl or python support. I've done this before with 7.2.1 or 7.3.1. I modified the spec file and the build went OK but when I tried to install the RPMs I got the following error. {/usr/src/redhat/RPMS/i386}# rpm -Uvh --test *.rpm error: Failed dependencies: perl(Pg) is needed by postgresql-contrib-7.3.3-1PGDG These were the RPMs created. Obviously no perl stuff. postgresql-7.3.3-1PGDG.i386.rpm postgresql-contrib-7.3.3-1PGDG.i386.rpm postgresql-devel-7.3.3-1PGDG.i386.rpm postgresql-docs-7.3.3-1PGDG.i386.rpm postgresql-libs-7.3.3-1PGDG.i386.rpm postgresql-server-7.3.3-1PGDG.i386.rpm Is the PostgreSQL perl stuff buried in the tcl or python stuff. Or could it be, as I just remembered I wasn't watching the whole build, a non-fatal RPM error. Doing some further testing. I tried a cheap trick and pulled the postgresql-pl-7.3.3-1PGDG.i386.rpm from a download site and now get the following errors. {/usr/src/redhat/RPMS/i386}# rpm -Uvh --test *.rpm error: Failed dependencies: perl(Pg) is needed by postgresql-contrib-7.3.3-1PGDG libtcl.so.0 is needed by postgresql-pl-7.3.3-1PGDG I realize I could get by with installing the libtcl stuff but don't otherwise have a use for it. Just seems a waste of disk space. Oh yeah, I finally installed without the contrib stuff but would like to have it available later on. Any ideas on where I should look or how to proceed? Thanks, Rod -- "Open Source Software - Sometimes you get more than you paid for..."
On Thursday 26 June 2003 16:31, Roderick A. Anderson wrote: > I tried to build new RPMs this morning from the 7.3.3-1PGDG src RPM > because I didn't want tcl or python support. I've done this before with > 7.2.1 or 7.3.1. I modified the spec file and the build went OK but when I > tried to install the RPMs I got the following error. > {/usr/src/redhat/RPMS/i386}# rpm -Uvh --test *.rpm > error: Failed dependencies: > perl(Pg) is needed by postgresql-contrib-7.3.3-1PGDG Argh. That's supposed to be fixed; apparently I did something wrong. Install it with --nodeps for now, while I regroup and determine why it doesn't work (again). If you want to help troubleshoot, look at the filter-requires-perl-Pg.sh script (Source16) and see where it needs to be invoked.... -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
On Thu, 26 Jun 2003, Lamar Owen wrote: > > {/usr/src/redhat/RPMS/i386}# rpm -Uvh --test *.rpm > > error: Failed dependencies: > > perl(Pg) is needed by postgresql-contrib-7.3.3-1PGDG > > Argh. That's supposed to be fixed; apparently I did something wrong. Install > it with --nodeps for now, while I regroup and determine why it doesn't work > (again). If you want to help troubleshoot, look at the > filter-requires-perl-Pg.sh script (Source16) and see where it needs to be > invoked.... Oh at last someone else who gets side-tracked! I don't feel alone any more. :-) I'll look shortly. Rod -- "Open Source Software - Sometimes you get more than you paid for..."
Lamar Owen <lamar.owen@wgcr.org> writes: > If you want to help troubleshoot, look at the > filter-requires-perl-Pg.sh script (Source16) and see where it needs > to be invoked.... But ... contrib *depends* on perl (see contrib/rserv for instance). May be contrib is too generic. What about split it into packages in order to have working dependencies? Using the filter script is just a hack IMHO. Regards, Manuel.
On Thursday 26 June 2003 18:34, Manuel Sugawara wrote: > Lamar Owen <lamar.owen@wgcr.org> writes: > > If you want to help troubleshoot, look at the > > filter-requires-perl-Pg.sh script (Source16) and see where it needs > > to be invoked.... > But ... contrib *depends* on perl (see contrib/rserv for > instance). May be contrib is too generic. What about split it into > packages in order to have working dependencies? Using the filter > script is just a hack IMHO. While it _is_ just a hack, until a bona fide Pg RPM for 7.3 is built (by someone, possibly me, possibly someone else), either we must --nodeps or diddle with the perl dependencies. However, more granularity for contrib for the next version would be nice. I'll look at it. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
On 26 Jun 2003, Manuel Sugawara wrote: > Lamar Owen <lamar.owen@wgcr.org> writes: > > > If you want to help troubleshoot, look at the > > filter-requires-perl-Pg.sh script (Source16) and see where it needs > > to be invoked.... > > But ... contrib *depends* on perl (see contrib/rserv for > instance). May be contrib is too generic. What about split it into > packages in order to have working dependencies? Using the filter > script is just a hack IMHO. Well my, inexperienced, take on the issue is there is a tcl dependence in the perl package and the perl package only gets built if tcl gets built. Is this correct and if so why is it? Rod -- "Open Source Software - Sometimes you get more than you paid for..."