Re: RE: RE: [ROOT] Problems building root inside cygwin

From: Axel Naumann (axel-naumann@gmx.de)
Date: Thu Jun 19 2003 - 09:28:58 MEST


Hi,

to clarify what happened to your $TEMP:

on startup, cygwin looks for all windows env vars, and creates BASH env
vars with the same names. As the win and the unix/cygwin path layout
differ, cygwin parses the path names from all env vars and converts them.

So if you define %TEMP=C:\temp under win, cygwin will have
$TEMP=/cygdrive/c/temp (% and $ for clarification of win, bash env vars).
If you define %TEMP=/cygdrive/c/temp, $TEMP=/cygdrive/c/temp (because now
%TEMP is not a valid win path cygwin can convert), and if you set
%TEMP=c:/temp, $TEMP=c:/temp, because of the same reason (invalid win
path).

So set %TEMP=c:\temp or $TEMP=/cygdrive/c/temp and things should work.

Cheers, Axel.

> Hi Valeri,
>
>>  - c:/temp is not correct anyway. I wonder if you have
>>    that directory at all)
>
> Well yes it is correct, as defined by "it works".  It works at the
> command line just fine.  Also, I defined "TMPDIR" (correct spelling)
> in my login and it gets overwritten to the non-correct c:temp.  Re-
> exporting it at the command line after login allows my compilation to
> continue.  Yippee!  (Earlier, I was re-exporting "TEMPDIR" and the
> misspelling is of course not what root uses during compile...)
>
> My compilation is running happily now, and if it crashes again it will
> be on something else...
>
>>  - the rest of your message is still puzzling.
>>    Can you elaborate whether you did follow:
>>    http://root.cern.ch/root/Cygwin.html
>
> Yes, and Axel Naumann's more detailed page also.  And followed some
> direct advice and am using some files from Axel re:MySQL.
>
>      - John
>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET