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

[LDM #OBJ-220771]: Problems installing LDM



Hi Christian,

> > Why does this shell prompt differ from the previous one?
> 
> Just a glitch in my copy and paste :)
> 
> And I found the problem, but I don't know why it is like that....
> Nothing that I could find on google... and your suggestion did not work
> with the fast_install.
> Debugging myself the libtool execution, I found that it was a grep
> problem...
> In libtool there is a check to see if the file is a wrapper script:
> + func_ltwrapper_script_p pqutil
> + func_lalib_p pqutil
> + test -f pqutil
> + /bin/sed -e 4q pqutil
> + fgrep '^# Generated by .*libtool'
> That was the problem. The fgrep does not understand regex...
> 
> And at the beginning of libtool we have:
> # A grep program that handles long lines.
> GREP="grep"
> 
> and in my bashrc I have:
> export GREP='fgrep'
> and this caused the problem.
> 
> Now everything is fine!

Wow! You're definitely in the running for the most obscure bug ever encountered!

When the libtool(1) script expands the GREP variable using "$GREP", it's 
getting your GREP environment variable.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: OBJ-220771
Department: Support LDM
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.