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

Re: [HACKERS] Win32 development question

From: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
To: 'Bruce Momjian' <pgman(at)candle(dot)pha(dot)pa(dot)us>,Dann Corbit <DCorbit(at)connx(dot)com>
Cc: PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: [HACKERS] Win32 development question
Date: 2004-02-18 09:55:26
Message-ID: A02DEC4D1073D611BAE8525405FCCE2B55F308@harris.memetrics.local (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
FWIW, I've noticed it on a handful of occasions myself, but I haven't found
a way to reproduce it consistently. I've had it fail on a virgin CVS
check-out/snapshot, only to try again on a fresh checkout/snapshot and have
it work.

What I can suggest is, if it happens, try running configure again. And wait
for it to well and truly finish before you type in the make call. As I said,
it is pretty infrequent, inconsistent, and does not appear to have any
consistent mode of failure (as I've also seen it fail very shortly into the
make due to a missing pg_config_os.h link). Perhaps it is a very infrequent
race condition related to links under MinGW/msys... [shrugs]

If it is happening consistently to you though, then this'll be of no help.

Cheers,
Claudio


> -----Original Message-----
> From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
> Sent: Wednesday, 18 February 2004 2:51 PM
> To: Dann Corbit
> Cc: PostgreSQL Win32 port list
> Subject: Re: [pgsql-hackers-win32] [HACKERS] Win32 
> development question
> 
> 
> 
> Strange.  That should have worked.
> 
> --------------------------------------------------------------
> -------------
> 
> Dann Corbit wrote:
> > I am wanting to fiddle with the latest Win32 stuff, using the Mingw
> > tools.
> > Is it included in the current (2-17-04) snapshot?
> >  
> > I did a download of the tarball and expanded it.
> > I changed directory to the /postgresql-snapshot directory 
> and performed
> > a ./configure
> >  
> > configure: creating ./config.status
> > config.status: creating GNUmakefile
> > config.status: creating src/Makefile.global
> > config.status: creating src/include/pg_config.h
> > config.status: linking ./src/backend/port/tas/dummy.s to
> > src/backend/port/tas.s
> > config.status: linking ./src/backend/port/dynloader/win32.c to
> > src/backend/port/dynloader.c
> > config.status: linking ./src/backend/port/sysv_sema.c to
> > src/backend/port/pg_sema.c
> > config.status: linking ./src/backend/port/sysv_shmem.c to
> > src/backend/port/pg_shmem.c
> > config.status: linking ./src/backend/port/dynloader/win32.h to
> > src/include/dynloader.h
> > config.status: linking ./src/include/port/win32.h to
> > src/include/pg_config_os.h
> > config.status: linking ./src/makefiles/Makefile.win32 to
> > src/Makefile.port
> > 
> > Make fails:
> >  
> > $ make
> > src/Makefile.global:275: src/Makefile.port: No such file or 
> directory
> > make: *** No rule to make target `src/Makefile.port'.  Stop.
> > 
> > What is necessary in order to fool around with the Win32 stuff?
> > From the above symbolic link formation, it seems like it should have
> > found the file.
> 
> -- 
>   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 6: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 

--- 
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see 
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

pgsql-hackers-win32 by date

Next:From: Bruce MomjianDate: 2004-02-18 15:31:11
Subject: Re: Win32 mingw libpq.dll
Previous:From: Bruce MomjianDate: 2004-02-18 03:50:50
Subject: Re: [HACKERS] Win32 development question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group