RE: Re: cygwin 'make install' deleted everything!

From: Bertrand Bellenot <Bertrand.Bellenot_at_cern.ch>
Date: Thu, 9 Nov 2006 18:30:45 +0100


Hi George,

The problem has been localized, and a fix will be provided asap. Thanks for reporting it, and sorry for the trouble.

Cheers,
Bertrand.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch
[mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of George Locke Sent: Thursday, November 09, 2006 6:01 PM To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] Re: cygwin 'make install' deleted everything!

the same problem happened with 5.13.04 .

i sent the makelog to another directory, and you can see what's happening here:
http://minos.phy.tufts.edu/glocke/rootstuff/mkinstalog_1

when i did 'make cintdlls' again, the response was as one would want, telling me that i had already done this step, whihc i did right before the problem appeared...

this is a 'win32' configured build.

this time i copied the pre-install directory before 'make install' so i should be able to try and fix the problem without making the whole thing over again...

what's going on here?

looking at the root log, it seems to know where the $DESTDIR is, the first indication of a problem comes when it tries to delete some of the source files and then install the tutorials: "
Installing misc docs in /c/Root
rm: cannot remove directory `/c/Root/mytmpinstall/root/zip': Directory not empty Installing tutorials in /c/Root/tutorials cp: cannot stat `tutorials/*': No such file or directory Installing tests in /c/Root/test
cp: cannot stat `test/*': No such file or directory "

it seems to me that it does know where $DESTDIR is but it doesn't seem to know where $INSTALLDIR is maybe?

i am workign to find a solution, but this is agonizing, after all the trouble i've had getting this to build in the first place...

:\

> > > has a -n option to a link command.
> > >
> > > regards,
> > > George
> > >
> > > On 11/7/06, Axel Naumann <Axel.Naumann_at_cern.ch> wrote:
> > >> OK, saw your mail too late. Glad it works.
> > >> Axel.
> > >>
> > >> George Locke wrote:
> > >> > well,
> > >> >
> > >> > cl.exe was couldn't find a DLL (mspdb80.dll) ; i put the path
> > >> > to it into PATH environmental variable and now cygwin outputs
> > >> > some msg with the version number, copyright info etc...
> > >> >
> > >> > the command unset VS_UNICODE_OUTPUT ; cl.exe 2>&1 | awk '{ if
> > >> > (NR==1) print $8 }'
> > >> > now outputs the version number of cl.exe, 14.000.5......
> > >> >
> > >> > so this certainly was gumming up the works in a major way!
> > >> > thanks very much for helping to uncover this, admittedly basic,
problem.
> > >> > hopefully next time i'll know what kinds of things to look fro
> > >> > and be able to fix this kind of thing on my own.
> > >> >
> > >> > there was a missing header file which i'm adding. i'll
> > >> > certainly come running back if i find something else i can't
fix on my own.
> > >> >
> > >> > THANKS AGAIN!!!
> > >> >
> > >> > regards,
> > >> > george
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > On 11/7/06, George Locke <georgelocke.roottalk_at_gmail.com>
wrote:
> > >> >> ---------- Forwarded message ----------
> > >> >> From: George Locke <georgelocke.roottalk_at_gmail.com>
> > >> >> Date: Nov 7, 2006 10:14 AM
> > >> >> Subject: Re: [ROOT] installing root from source using visual
> > >> >> C++
> > >> >> To: Axel Naumann <Axel.Naumann_at_cern.ch>
> > >> >>
> > >> >>
> > >> >> no output following "cl.exe" :( as i said which cl.exe
> > >> >> returns the correct address
> > >> >>
> > >> >> no response to "unset VS_UNICODE_OUTPUT ; cl.exe 2>&1 | awk '{

> > >> >> if
> > >> >> (NR==1) print $8 }'"
> > >> >>
> > >> >> which cut returns /usr/bin/cut which awk returns /usr/bin/awk
> > >> >>
> > >> >> i am investigating whether awk is working at all, when i
> > >> >> confirm/disconfirm that a hello world program works i'll let
you know.
> > >> >>
> > >> >> once again, thanks a lot for you help.
> > >> >>
> > >> >> - george
> > >> >>
> > >> >>
> > >> >> On 11/7/06, Axel Naumann <Axel.Naumann_at_cern.ch> wrote:
> > >> >> > Hi George,
> > >> >> >
> > >> >> > George Locke wrote:
> > >> >> > > "Also, please don't mix the
> > >> >> > >> cygwin and the dos shell builds - you should probably
> > >> >> > >> always
> > >> use the
> > >> >> > >> cygwin shell for now, as it's better understood."
> > >> >> > > I hope i understand you to mean that i should 'make' in
> > >> >> > > cygwin not DOS, but i'll be creating a program that runs
> > >> >> > > natively in
> > >> windows and
> > >> >> > > will make nice with msvc.
> > >> >> >
> > >> >> > That's correct, the aim is to call MSVC from within cygwin,
> > >> >> > to
> > >> build a
> > >> >> > native windows program.
> > >> >> >
> > >> >> > > rather then messing with making clean or distclean, i'm
> > >> deleting the
> > >> >> > > entire directory between builds, just to be extra sure
> > >> >> > > that things
> > >> >> are
> > >> >> > > raelly clean.
> > >> >> >
> > >> >> > Fine.
> > >> >> >
> > >> >> > > typing in the command,
> > >> >> > > "
> > >> >> > > ( unset VS_UNICODE_OUTPUT ; cl.exe 2>&1 | \ awk '{ if
> > >> >> > > (NR==1) print $8 }' | \ cut -d'.' -f1 ) "
> > >> >> > > i get no response.
> > >> >> >
> > >> >> > That's bad, abnd probably the reason why your build is
> > >> >> > failing. What does "cl.exe" print?
> > >> >> > What does "which awk" print?
> > >> >> > What does
> > >> >> > unset VS_UNICODE_OUTPUT ; cl.exe 2>&1 | awk '{ if (NR==1)
> > >> >> > print
> > >> $8 }'
> > >> >> > print?
> > >> >> > And finally "which cut"?
> > >> >> >
> > >> >> > Cheers, Axel.
> > >> >> >
> > >> >>
> > >> >
> > >>
> > >
> >
>
Received on Thu Nov 09 2006 - 18:31:06 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET