On mardi, nov 18, 2003, at 23:57 Europe/Paris, Andisheh Mahdavi wrote:
[]
Not quite clear what you did. Did you replace the /usr/bin/awk
binary by
something else? This would really be a bad idea.


Yes, I did. Why? Because I migrated to Mac from Linux, where gawk was the default awk binary (awk was linked to gawk). All my software uses gawk-style code and it wasn't working with the default awk. So rather than change my software, I just replaced the default awk. Now I know better.

I think in no case is it a good idea to acctually *replace* a file in /usr/bin.
You can put something into /usr/local/bin (or /sw/bin or even ~/bin), and since with the usual PATH setups /usr/bin comes after the others, your system commmand is masked by your new binary.


I had no idea that the configure scripts rely on awk to be one
version rather than the other. That really shouldn't be the case. If
you do a man gawk, it says that there's supposed to be some sort of
POSIX standard for awk, which they all should conform to. configure
scripts should adhere to that standard, but I guess they do not.

The configure scripts I have seen are looking whether you have awk or gawk, and they are trained to work with either, but they don't expect to find gawk disguised as awk.
[]
Well I would suggest that fink should know how to rebuild dpkg, and
treat it differently from other tasks. After all, I did use fink to
rebuild dpkg for the most part; I just had to do a ctrl-c so I could
do a sudo make install.

This was because your old dpkg was working correctly almost up to the end. There are so many other things you can break in dpkg that it would be futile to try to have some special repair mechanism for this. You can always bootstrap a new fink system.


--
Martin



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to