Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: 8.0 Beta 1 // Environment Vars // .pgpass


  • From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
  • To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
  • Cc: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Joerg Hessdoerfer <Joerg(dot)Hessdoerfer(at)sea-gmbh(dot)com>, pgsql-hackers-win32(at)postgresql(dot)org, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
  • Subject: Re: 8.0 Beta 1 // Environment Vars // .pgpass
  • Date: Wed, 18 Aug 2004 20:01:36 -0400 (EDT)
  • Message-id: <200408190001(dot)i7J01aw12763(at)candle(dot)pha(dot)pa(dot)us>

I found the cause and just applied a fix.  Thanks.

---------------------------------------------------------------------------

Bruce Momjian wrote:
> 
> Wow, that is strange.  Did you do a 'make clean' before this?  I don't
> see why you would see the failure on Win32 and I don't see it on Unix.
> 
> Hold, we might have problems later on this for linking client apps
> because as I remember win32 doesn't like the same symbol used in libpq
> and pgport, but you haven't even gotten to that stage yet in the
> compile.  The workaround has been to make the function call a macro but
> let's get libpq compiled first and see how it goes after that.
> 
> ---------------------------------------------------------------------------
> 
> Dave Page wrote:
> >  
> > 
> > > -----Original Message-----
> > > From: pgsql-hackers-win32-owner(at)postgresql(dot)org 
> > > [mailto:pgsql-hackers-win32-owner(at)postgresql(dot)org] On Behalf 
> > > Of Bruce Momjian
> > > Sent: 18 August 2004 03:59
> > > To: Andrew Dunstan
> > > Cc: Joerg Hessdoerfer; pgsql-hackers-win32(at)postgresql(dot)org; 
> > > PostgreSQL-patches
> > > Subject: Re: [pgsql-hackers-win32] 8.0 Beta 1 // Environment 
> > > Vars // .pgpass
> > > 
> > > 
> > > I have applied the attached patch which adds get_home_path() 
> > > which uses USERPROFILE on Win32 and HOME on Unix.
> > > 
> > > This should fix the reported problem.
> > 
> > I now get the following error on Win32 following a make distclean:
> > 
> > fe-connect.o(.text+0x3428):fe-connect.c: undefined reference to
> > `get_home_path'
> > c:\mingw\bin\dllwrap.exe: c:\mingw\bin\gcc exited with status 1
> > make[3]: *** [libpq.a] Error 1
> > make[3]: Leaving directory `/cvs/pgsql/src/interfaces/libpq'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/cvs/pgsql/src/interfaces'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/cvs/pgsql/src'
> > make: *** [all] Error 2
> > 
> > :-(
> > 
> > Regards, Dave.
> > 
> 
> -- 
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
>   +  If your life is a hard drive,     |  13 Roberts Road
>   +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group