Building imaptest and a port

Scott Haneda talklists at newgeo.com
Sat May 30 12:21:24 PDT 2009


On May 30, 2009, at 7:30 AM, Rainer Müller wrote:

> On 2009-05-29 20:52, Daniel J. Luke wrote:
>> On May 29, 2009, at 2:34 PM, Scott Haneda wrote:
>>> If I remove the CLICOLOR variable, it will build fine.  Since I have
>>> had MacPorts build so many things, and never had this issue, I was
>>> hoping someone here can explain to me how to make sure MacPorts does
>>> not get hung on this issue.
>>
>>
>> Macports does some cleaning of environment variables before building
>> software.
>
> I think that does not help here... The configure script is executed  
> in a
> new shell which sources the user's .bashrc (as /bin/sh is bash).
> Therefore CLICOLOR=1 is in the environment there.
>
> I really don't understand why autotools is relying on `ls` in the  
> shell
> here and not using `which ls` to avoid aliases. I tried to reproduce  
> the
> problem with CLICOLOR=1 in my .bashrc, but this alone did not cause  
> any
> error. Did you alias ls to something?


I think in order to fully replicate the behavior:
# Color output
export CLICOLOR=1
export CLICOLOR_FORCE=1
export LSCOLORS=dxfxcxdxbxegedabagacad

-- 
Scott * If you contact me off list replace talklists@ with scott@ *



More information about the macports-dev mailing list