Re: VC++ psql build broken

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: pgman(at)candle(dot)pha(dot)pa(dot)us
Cc: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, PgSQL Win32 developers <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: VC++ psql build broken
Date: 2004-09-10 16:41:02
Message-ID: 200409101641.i8AGf2J07878@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32


Now that I think of it, flex will not work because there is no *.mak
rule to run it. You would have to run it manually, or write a *.mak
rule for it. If someone does, please do bcc.make too.

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

pgman wrote:
>
> Ah, now we have hit a different roadblock, namely psqlscan.l. Don't you
> have a psqlscan.c? Ah, I bet you are using CVS and not a snapshot. A
> snapshot/tarball will have the flex output file but we don't keep that
> in CVS anymore.
>
> To get it to work you need the psqlscan.c file from a recent tarball or
> instal flex.
>
> ---------------------------------------------------------------------------
>
> Dave Page wrote:
> >
> >
> > > -----Original Message-----
> > > From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
> > > Sent: 10 September 2004 10:47
> > > To: Dave Page
> > > Cc: PgSQL Win32 developers
> > > Subject: Re: [pgsql-hackers-win32] VC++ psql build broken
> > >
> > >
> > > OK, another patch. Thanks.
> > >
> >
> > That looks better thanks, however:
> >
> > Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
> > Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> >
> > perl.exe create_help.pl ../../../doc/src/sgml/ref sql_help.h
> > echo #define PGBINDIR "" >"..\..\port\pg_config_paths.h"
> > echo #define PGSHAREDIR "" >>"..\..\port\pg_config_paths.h"
> > echo #define SYSCONFDIR "" >>"..\..\port\pg_config_paths.h"
> > echo #define INCLUDEDIR "" >>"..\..\port\pg_config_paths.h"
> > echo #define PKGINCLUDEDIR "" >>"..\..\port\pg_config_paths.h"
> > echo #define INCLUDEDIRSERVER ""
> > >>"..\..\port\pg_config_paths.h"
> > echo #define LIBDIR "" >>"..\..\port\pg_config_paths.h"
> > echo #define PKGLIBDIR "" >>"..\..\port\pg_config_paths.h"
> > echo #define LOCALEDIR "" >>"..\..\port\pg_config_paths.h"
> > if not exist ".\Release/" mkdir ".\Release"
> > NMAKE : fatal error U1073: don't know how to make
> > '".\Release\psqlscan.obj"'
> > Stop.
> > NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
> > return co
> > de '0x2'
> > Stop.
> >
> > Not sure how to fix that :-(
> >
> > Regards, Dave
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 8: explain analyze is your friend
> >
>
> --
> 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

--
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

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Harald Armin Massa 2004-09-10 17:57:09 Re: Installer crash - cannot readglobal/config_exec_params
Previous Message Bruce Momjian 2004-09-10 16:30:55 Re: VC++ psql build broken