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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: 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-18 16:51:17
Message-ID: 200408181651.i7IGpHI11766@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches


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

In response to

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Magnus Hagander 2004-08-18 18:22:15 Re: REPOST: InitDB Failure on install
Previous Message Andrew Dunstan 2004-08-18 16:41:05 Re: [pgsql-hackers-win32] postgresql 8.0b1 Win32 observations

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-08-18 16:51:41 Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf breaks
Previous Message Andrew Dunstan 2004-08-18 16:51:14 Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf