Thread

  1. Re: moving an installation

    David Parker <dparker@tazznetworks.com> — 2004-07-16T13:30:20Z

    Oh, that's good to know. I haven't ventured into what's going on in CVS
    yet, so this will be a good excuse.
    
    Thanks.
    
    - DAP 
    
    -----Original Message-----
    From: pgsql-general-owner@postgresql.org
    [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Tom Lane
    Sent: Thursday, July 15, 2004 10:31 PM
    To: Peter Eisentraut
    Cc: David Parker; pgsql-general@postgresql.org
    Subject: Re: [GENERAL] moving an installation 
    
    Peter Eisentraut <peter_e@gmx.net> writes:
    > David Parker wrote:
    >> I need to be able to build postgres (7.4.3) with a given --prefix, 
    >> but then pack up the installation directory and deploy it in another 
    >> directory (as part of a product install, for instance).
    
    > This doesn't work.
    
    Not at the moment anyway.  Bruce and some other people did some work
    last month towards supporting relocatable installs --- David, would you
    like to experiment with CVS tip and see if it works for you?
    
    			regards, tom lane
    
    ---------------------------(end of broadcast)---------------------------
    TIP 7: don't forget to increase your free space map settings
    
    
    
    
  2. Re: moving an installation

    Bruce Momjian <pgman@candle.pha.pa.us> — 2004-07-16T13:55:04Z

    David Parker wrote:
    > Oh, that's good to know. I haven't ventured into what's going on in CVS
    > yet, so this will be a good excuse.
    > 
    
    Or you can download a recent snapshot of CVS from our ftp servers.
    
    -- 
      Bruce Momjian                        |  http://candle.pha.pa.us
      pgman@candle.pha.pa.us               |  (610) 359-1001
      +  If your life is a hard drive,     |  13 Roberts Road
      +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
    
    
  3. installation: cc and gcc how to?

    Nilabhra Banerjee <nil_ban@yahoo.co.uk> — 2004-07-17T09:02:39Z

    Hello Everybody,
    
    I am going to load postgresql 7.4 in 
    Irix 6.5.20, MIPS processor
    
    Please help me out with gcc/cc idea
    
    As far as I understood, I have to use gmake (as I have
    done in all other OS) and native cc in place of gcc.
    
    As par the installation guide the command should be
    something like
    ./configure CC={cc compiler path} CFLAGS='-O2 -pipe'
    
    But I cant understand the what does the CFLAG
    parameter mean. Could u please throw some light on
    that at least it would be helpful if u specify the
    exact configure command line u have used for Irix
    6.5.20 native c compiler.
    
    Thank you,
    
    Regards
    Nil Banerjee
    
    
    	
    	
    		
    ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com
    
    
  4. Re: installation: cc and gcc how to?

    Peter Eisentraut <peter_e@gmx.net> — 2004-07-17T10:03:17Z

    Nilabhra Banerjee wrote:
    > As par the installation guide the command should be
    > something like
    > ./configure CC={cc compiler path} CFLAGS='-O2 -pipe'
    >
    > But I cant understand the what does the CFLAG
    > parameter mean. Could u please throw some light on
    > that
    
    The installation instructions say that you *can* override the default 
    compiler flags with the CFLAGS variable, not that you have to.
    
    > at least it would be helpful if u specify the
    > exact configure command line u have used for Irix
    > 6.5.20 native c compiler.
    
    ./configure CC=cc
    make
    make install
    
    -- 
    Peter Eisentraut
    http://developer.postgresql.org/~petere/
    
    
    
  5. Re: installation: cc and gcc how to?

    Nilabhra Banerjee <nil_ban@yahoo.co.uk> — 2004-07-17T10:19:15Z

    Thanks a lot.. This much is enough for me....If I get
    some time afterwards I go thru it again.... But I am
    still curious to know about the CFlags variable..what
    are the other values it can take.
    
    A big THANKS
    
    Nil Banerjee
    
    --- Peter Eisentraut <peter_e@gmx.net> wrote: >
    Nilabhra Banerjee wrote:
    > > As par the installation guide the command should
    > be
    > > something like
    > > ./configure CC={cc compiler path} CFLAGS='-O2
    > -pipe'
    > >
    > > But I cant understand the what does the CFLAG
    > > parameter mean. Could u please throw some light on
    > > that
    > 
    > The installation instructions say that you *can*
    > override the default 
    > compiler flags with the CFLAGS variable, not that
    > you have to.
    > 
    > > at least it would be helpful if u specify the
    > > exact configure command line u have used for Irix
    > > 6.5.20 native c compiler.
    > 
    > ./configure CC=cc
    > make
    > make install
    > 
    > -- 
    > Peter Eisentraut
    > http://developer.postgresql.org/~petere/
    > 
    >  
    
    
    	
    	
    		
    ___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com
    
    
  6. Re: installation: cc and gcc how to?

    Peter Eisentraut <peter_e@gmx.net> — 2004-07-17T11:33:26Z

    Nilabhra Banerjee wrote:
    > Thanks a lot.. This much is enough for me....If I get
    > some time afterwards I go thru it again.... But I am
    > still curious to know about the CFlags variable..what
    > are the other values it can take.
    
    Depends on your system.  Try "man cc".
    
    -- 
    Peter Eisentraut
    http://developer.postgresql.org/~petere/
    
    
    
  7. Re: installation: cc and gcc how to?

    Jim Seymour <jseymour@linxnet.com> — 2004-07-17T11:56:46Z

    =?iso-8859-1?q?Nilabhra=20Banerjee?= <nil_ban@yahoo.co.uk> wrote:
    > 
    > 
    > Thanks a lot.. This much is enough for me....If I get
    > some time afterwards I go thru it again.... But I am
    > still curious to know about the CFlags variable..what
    > are the other values it can take.
    
    The pgsql tarball includes an INSTALL document.  The INSTALL file,
    in turn, explains what the CFLAGS variable does.  What's assigned
    to CFLAGS is dependent on a number of factors, such as operating
    system and version, compiler and version, hardware, etc., etc.
    
    Jim
    
    
  8. Re: installation: cc and gcc how to?

    Robert E. Bruccoleri <bruc@stone.congenomics.com> — 2004-07-18T21:18:44Z

    Dear Nil,
    	Yes, the important thing is to use the MIPS compilers, not
    gcc. You have your choice of compiler environments -- I suggest using
    the 64-bit compilation model (CC="cc -64") -- you can use much bigger
    buffer caches that way if you have sufficient RAM. --Bob
    
    > 
    > Hello Everybody,
    > 
    > I am going to load postgresql 7.4 in 
    > Irix 6.5.20, MIPS processor
    > 
    > Please help me out with gcc/cc idea
    > 
    > As far as I understood, I have to use gmake (as I have
    > done in all other OS) and native cc in place of gcc.
    > 
    > As par the installation guide the command should be
    > something like
    > ./configure CC={cc compiler path} CFLAGS='-O2 -pipe'
    > 
    > But I cant understand the what does the CFLAG
    > parameter mean. Could u please throw some light on
    > that at least it would be helpful if u specify the
    > exact configure command line u have used for Irix
    > 6.5.20 native c compiler.
    > 
    > Thank you,
    > 
    > Regards
    > Nil Banerjee
    > 
    > 
    > 	
    > 	
    > 		
    > ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com
    > 
    
    +-----------------------------+------------------------------------+
    | Robert E. Bruccoleri, Ph.D. | email: bruc@acm.org                |
    | President, Congenair LLC    | URL:   http://www.congen.com/~bruc |
    | P.O. Box 314                | Phone: 609 818 7251                | 
    | Pennington, NJ 08534        |                                    |
    +-----------------------------+------------------------------------+