pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/44985 (p5-gdbm not linking with -lgdbm)



The following reply was made to PR pkg/44985; it has been noted by GNATS.

From: Dan McMahill <dan%mcmahill.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/44985 (p5-gdbm not linking with -lgdbm)
Date: Tue, 04 Oct 2011 07:58:33 -0400

 On 10/4/2011 7:50 AM, Joerg Sonnenberger wrote:
 > The following reply was made to PR pkg/44985; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > Subject: Re: pkg/44985 (p5-gdbm not linking with -lgdbm)
 > Date: Tue, 4 Oct 2011 13:45:13 +0200
 > 
 >  On Tue, Oct 04, 2011 at 11:25:02AM +0000, OBATA Akio wrote:
 >  > The following reply was made to PR pkg/44985; it has been noted by GNATS.
 >  > 
 >  > From: "OBATA Akio" <obache%netbsd.org@localhost>
 >  > To: gnats-bugs%netbsd.org@localhost
 >  > Cc: 
 >  > Subject: Re: pkg/44985 (p5-gdbm not linking with -lgdbm)
 >  > Date: Tue, 04 Oct 2011 20:20:15 +0900
 >  > 
 >  >  On Tue, 04 Oct 2011 17:50:04 +0900, Joerg Sonnenberger 
 > <joerg%britannica.bec.de@localhost> wrote:
 >  >  
 >  >  >  > I cannot replicate this now (although on -current) - are you still
 >  >  >  > seeing it?
 >  >  > I can. The problem is that under some circumstances, the default Perl
 >  >  >  library path (libpth) only contains /lib and /usr/lib, not 
 > /usr/pkg/lib.
 >  >  
 >  >  For NetBSD,
 >  >  1) /usr/pkg/lib is hard-coded in hints/netbsd.sh, so LOCALBASE != 
 > /usr/pkg,
 >  >     ${LOCALBASE}/lib will not be added to libpth
 >  >  2) even if ${LOCALBASE} == /usr/pkg,  in the case /usr/pkg/lib does not 
 > exist
 >  >      when doing Configure, it will not be added to libpth.
 >  
 >  Ah! That might be the critical missing hint. In a bulk build, it
 >  certainly will not exist at the time of build.
 >  
 
 Indeed.  It was a bulk build where this showed up for me and then when I
 tried to reproduce the problem I couldn't.  However when I tried to
 reproduce it, I already had /usr/pkg/lib.
 
 -Dan
 
 


Home | Main Index | Thread Index | Old Index