[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: HELP! building rpm 3.0.4 on a Solaris 8 box...keeps core dumping
- From: Jeff Johnson <jbj JBJ ORG>
- To: rpm-list redhat com
- Subject: Re: HELP! building rpm 3.0.4 on a Solaris 8 box...keeps core dumping
- Date: Fri, 22 Sep 2000 18:54:32 -0400
On Fri, Sep 22, 2000 at 05:44:22PM -0000, slagel@geospiza.com wrote:
> Please help!
>
> I'm trying to build rpm 3.0.4 on a solaris 2.8 box, and I get a rpm
> executable that segmentation faults every time I try to install an rpm
> using it. I've built it against db 2.7.7 with the enable 185
> compatibility option and zlib. (The build itself didn't work until I
> renamed the db_185.h file to db.h). I've also tried building it
> against db 1.85 but still can't get it to work.
>
> Any suggestions?
>
Make sure the following patch is in lib/depends.c:
/*@dependent@*/ /*@null@*/ static struct availablePackage *
alFileSatisfiesDepend(struct availableList * al,
const char * keyType, const char * fileName)
{
int i;
const char * dirName;
const char * baseName;
struct dirInfo dirNeedle;
struct dirInfo * dirMatch;
+ if (al->numDirs == 0) /* Solaris 2.6 bsearch sucks down on this. */
+ return NULL;
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@jbj.org (jbj@redhat.com)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]