RE: [ROOT] Problems building root inside cygwin

From: Valeri Fine (fine@bnl.gov)
Date: Wed Jun 18 2003 - 22:36:56 MEST


Hello John,

 You did not define tmp for Cygwin properly 
 In fact you should not do that by hand. It used to be provided by
system.


> mkdir: cannot create directory `c:temp/cs412-8730': No such file or

For example my Cygwin defines:

(stanwyck) [129] echo $TEMP
/cygdrive/c/DOCUME~1/fine/LOCALS~1/Temp

(stanwyck) [129] echo $TEMP
/cygdrive/c/DOCUME~1/fine/LOCALS~1/Temp

"c:temp" is a wrong confusing  expression.

 
  Valeri
> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]
> On Behalf Of jkrane@fnal.gov
> Sent: Wednesday, June 18, 2003 4:24 PM
> Cc: roottalk@pcroot.cern.ch
> Subject: [ROOT] Problems building root inside cygwin
> 
> Hi,
> 
> I'm trying to build root with MySQL (thanks Axel!) and I seem to get
> very far, but then I crash.  I see a problem in the "mkdir" line of
> this cut and paste, but the fatal stuff might be later:
> 
> configure: creating ./config.status
> g++ -O3 -foptimize-sibling-calls -finline-functions -pipe -Wall -
> Woverloaded-virtual -D_DLL -Iinclude  -I/usr/X11R6/include -o
> g3d/src/TPolyMarker3D.o -c g3d/src/TPolyMarker3D.cxx
> mkdir: cannot create directory `c:temp/cs412-8730': No such file or
> directory
> : cannot create a temporary directory in c:temp
> g++ -O3 -foptimize-sibling-calls -finline-functions -pipe -Wall -
> Woverloaded-vir
> tual -D_DLL -Iinclude  -I/usr/X11R6/include -o
> gpad/src/TGroupButton.o -c gpad/s
> rc/TGroupButton.cxx
> make[1]: *** [unix-def.mk] Error 1
> make[1]: Leaving directory `/bin/root/freetype/src/freetype-2.1.3'
> make[1]: Entering directory `/bin/root/freetype/src/freetype-2.1.3'
> config.mk:21: /unix-def.mk: No such file or directory
> config.mk:22: /unix-cc.mk: No such file or directory
> builds/freetype.mk:206: no file name for `include'
> make[1]: *** No rule to make target `/unix-cc.mk'.  Stop.
> make[1]: Leaving directory `/bin/root/freetype/src/freetype-2.1.3'
> make: *** [freetype/src/freetype-2.1.3/objs/.libs/libfreetype.a] Error
> 2
> make: *** Waiting for unfinished jobs....
> 
> jkrane$
> 
> Now, I have correctly set TMP, TEMP, and TEMPDIR so that they point to
> c:/temp upon login.  Somehow TEMP is overwritten by the time I get to
> my first command prompt.  So I reset TEMP to have the "/" in it
> correctly, but the variable is then ignored during make to produce the
> above no matter what.  (After the make, TEMP is c:/temp, so I'm
> confused.)
> 
> Any advice appreciated!
> 
>      - John
> 



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