[EMAIL PROTECTED] wrote:
Hi Martin,
I have modified the cns.sh file by removing the _SW_PREFIX_ with /sw , for your
information I've copied the contents of this file to the email, just in case it
contains any other surprises! I've also looked in my .cshrc file in my home
dir and don't see any "." in any of the path's.
There is one thing I hadn't noticed before: You are using tcsh as your
shell (as I do, actually). This explains a couple of things: The script
/sw/etc/profile.d/cns.sh is a sh (or bash) script that is not executed
when you run your tcsh. The script that is executed instead is
/sw/etc/profile.d/cns.csh which may be quite different (and bug-free).
This explains why you don't see the error messages in other situations
and why your cns system has worked (it wouldn't have worked if you had
started it from a bash shell).
On the other hand, the build process of docbook-xsl runs its
InstallScript (which is the part that gave the error messages) as a
/bin/sh script. So when it starts, it runs not your own startup scripts
(which seem OK after all) but some others that you have never tested,
like /sw/etc/profile.d/cns.sh and probably things like .bashrc,
.profile, or .bash_profile in your home directory.
The thing that adds "." to your PATH (inside the fink build script) can
therefore sit in your ~/.bashrc file or something similar. Or in
/etc/profile or /etc/bashrc.
This is a situation that one could almost call a bug in fink; I guess we
will have to think about it on fink-devel.
As for the behavior of cp, I wouldn't worry too much; maybe what
happened there was a consequence of the other problems and not caused by
the cp executable at all.
--
Martin
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners