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: 2004-08-19 00:01:36
Message-ID: 200408190001.i7J01aw12763@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches


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

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-08-19 01:31:04 Re: tablespace and sequences?
Previous Message Andreas Pflug 2004-08-18 19:25:07 Re: [BUGS] postgresql 8.0b1 Win32 observations

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-08-19 01:37:47 Re: PGPASSWORD and client tools
Previous Message Bruce Momjian 2004-08-19 00:01:19 Re: [HACKERS] 8.0 libpq: missing get_home_path()