Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2008 22:21:51 -0700
From:      Jo Rhett <jrhett@netconsonance.com>
To:        Simon Shapiro <simon@niftywerks.com>
Cc:        Boris Samorodov <bsam@ipt.ru>, ports@FreeBSD.org, sergei@FreeBSD.org
Subject:   Re: FreeBSD Port: cfengine-2.2.7
Message-ID:  <55F9EC47-27A2-4FF2-8FDE-C67A1BFE01C4@netconsonance.com>
In-Reply-To: <F28929A4-3A1A-4D82-8816-15EA7E11DE6E@niftywerks.com>
References:  <9D1256D6-090F-4BD7-8C9C-21D664103212@niftywerks.com> <50010284@bs1.sp34.ru> <F28929A4-3A1A-4D82-8816-15EA7E11DE6E@niftywerks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Simon.   Can you send me the output of config.status?

Also, are you setting the environment variables on the command line,  
or exporting them in the environment before running make?   Can you  
send a snippet showing your compilation process?  (starting with a  
fresh port extract, naturally)

On Jul 22, 2008, at 10:50 PM, Simon Shapiro wrote:
> On Jul 22, 2008, at 10:16 PM, Boris Samorodov wrote:
>
>> On Tue, 22 Jul 2008 21:03:22 -0700 Simon Shapiro wrote:
>>
>>> Hello there,
>>> it appears that an old(ish) bug has come back in the cfengine port?
>>> Its compiling with the oldest existing BDB version found on the  
>>> system.
>>> Tested on both 7.0 and 6.3 with the same result.
>>
>>> Configure says:
>>> ===>   cfengine-2.2.7 depends on shared library: db-4.6.0 - found
>>> but then 4.0 is linked.
>>> I have found this to be perfectly repeatable, and reversable (if old
>>> versions are removed, it works with 4.6).
>>
>>> let me know if i can be of further assistance, and thank you for  
>>> your
>>> time,
>>
>> Current maintainer is rather unresponsive and Jo Rhett (CCed) is very
>> active and responsive about this port.
>>
>> Jo, can you help here? Thanks!
>>
>>
>> WBR
>> -- 
>> Boris Samorodov (bsam)
>> Research Engineer, http://www.ipt.ru Telephone & Internet SP
>> FreeBSD committer, http://www.FreeBSD.org The Power To Serve
>
> Thank you Boris.
> Some more info from my digging... forgive my complete unfamiliarity,  
> this is deeper than I usually venture into the workings of the ports  
> tree.
>
> As far as I can tell, the ports tree makefile (ports/sysutils/ 
> cfengine/Makefile) gets it right, it appears that environment  
> variables passed to the cfengine configure script (ports/sysutils/ 
> cfengine/work/cfengine-2.2.7/configure) are ignored.
> That is, cfengine seems to want the command line argument --with- 
> berkleydb= and we seem to be passing the information as an  
> environment variable, which quickly gets overwritten with the string  
> 'default'
>
> The evidence being that the first place i see any reference to the  
> *old* bdb, is when the cfengine package's configure script says
> "checking for BerkeleyDB location in default... Found header in /usr/ 
> local/include/db4"
>
> -Simon Shapiro
>
>

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55F9EC47-27A2-4FF2-8FDE-C67A1BFE01C4>