[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5102) back-perl build issues



--On Saturday, August 25, 2007 6:16 AM +0000 kurt@OpenLDAP.org wrote:


> Personally, I think have -I., -I.., etc. is really bad.  This causes
> 	#include "config.h"
> and
> 	#include <config.h>
>
> to be equivalent.  However, there could be both a local config.h and
> a config.h somewhere in the system include directory.
>
> I would be better if slapd/config.h was included here by:
> 	#include "../config.h"
>
> and -I.. not be added to the include path.  It possible -I.. is
> causing a system header to be eclipsed by the local header.
> Namely, /opt/local/lib/perl5/5.8.8/darwin-2level/CORE/config.h.


This issue seems to hit Mac systems a lot, dunno why.  But I've seen it 
with several things now that touch perl.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration