This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Exec and parent environment


--- Steve Smith <steve@fmrib.ox.ac.uk> wrote:

> 
> I have a similar problem to that reported before under this subject  
> title.
> When I type "env" the environment appears fine. However, when I start
>  
> a tclsh and type
> 
> puts [ exec sh -c "env" ]
> 
> the environment is almost empty - this is new behaviour, the whole  
> environment got fully passed through until recently.
> 
> Any ideas?  Thanks.
> 
>
------------------------------------------------------------------------
> 
> ------------------
> Stephen M. Smith, Professor of Biomedical Engineering
> Associate Director, Oxford University FMRIB Centre
> 
> FMRIB, John Radcliffe Hospital, Headington, Oxford OX3 9DU, UK
> +44 (0) 1865 222726  (fax 222717)
> 
> steve@fmrib.ox.ac.uk  http://www.fmrib.ox.ac.uk/~steve
>
------------------------------------------------------------------------
> 


Had the same problem.  I had to recompile the tcl source.
I've attached the patch file.

Here's my shell log:
  $gunzip -c tcl8.4.12-src.tar.gz | tar vxf -
  $cd tcl8.4.12
  $patch -p1 < ../tcl8.4.12-cygwin.patch 
  $cd cygwin/
  $chmod +x configure install*
  $./configure
  $make

This patch isn't perfect, but it works.

Hope this helps,
Martin


	

	
		
__________________________________________________________ 
Find your next car at http://autos.yahoo.ca

Attachment: tcl8.4.12-cygwin.patch.gz
Description: 198950094-tcl8.4.12-cygwin.patch.gz

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]