some problems with 'make install'

2008-12-02 Thread Satish Balay
On Mon, 1 Dec 2008, Lisandro Dalcin wrote:

 I'm testing configure passing '--prefix=', and after building, I do
 $ su -c 'make install'
 
 But then, some files ('configure.log', 'RDict.db') are left with
 'root:root' owner and group. If you want to build/rebuild again, this
 fails bad.
 
 And you know, using 'sudo' is not always a chance, as depending on
 'sudo' configuration, it does not preserve the environment.

I don't see configure.log - but I see build.log and default.log. These
should not cause conflict - but RDict.db does.

Matt would have to check this issue. Ideally most of these files
should not be created during 'make install'

As a hack - I can add os.remove('RDict.db') in config/installer.py

Satish




some problems with 'make install'

2008-12-02 Thread Matthew Knepley
On Tue, Dec 2, 2008 at 1:31 PM, Satish Balay balay at mcs.anl.gov wrote:

 On Mon, 1 Dec 2008, Lisandro Dalcin wrote:

  I'm testing configure passing '--prefix=', and after building, I do
  $ su -c 'make install'
 
  But then, some files ('configure.log', 'RDict.db') are left with
  'root:root' owner and group. If you want to build/rebuild again, this
  fails bad.
 
  And you know, using 'sudo' is not always a chance, as depending on
  'sudo' configuration, it does not preserve the environment.

 I don't see configure.log - but I see build.log and default.log. These
 should not cause conflict - but RDict.db does.

 Matt would have to check this issue. Ideally most of these files
 should not be created during 'make install'

 As a hack - I can add os.remove('RDict.db') in config/installer.py


I am for this.

  Matt



 Satish

-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20081202/d0e1aeec/attachment.html


some problems with 'make install'

2008-12-02 Thread Satish Balay
On Tue, 2 Dec 2008, Matthew Knepley wrote:

  As a hack - I can add os.remove('RDict.db') in config/installer.py
 
 I am for this.

ok - I pushed the hack [deletes more than RDict.db - as I see
different files created in different situations..]

Satish




some problems with 'make install'

2008-12-01 Thread Lisandro Dalcin
I'm testing configure passing '--prefix=', and after building, I do
$ su -c 'make install'

But then, some files ('configure.log', 'RDict.db') are left with
'root:root' owner and group. If you want to build/rebuild again, this
fails bad.

And you know, using 'sudo' is not always a chance, as depending on
'sudo' configuration, it does not preserve the environment.


-- 
Lisandro Dalc?n
---
Centro Internacional de M?todos Computacionales en Ingenier?a (CIMEC)
Instituto de Desarrollo Tecnol?gico para la Industria Qu?mica (INTEC)
Consejo Nacional de Investigaciones Cient?ficas y T?cnicas (CONICET)
PTLC - G?emes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594