pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgres 6.4, gmake, d: command not found
3+ messages / 3 participants
[nested] [flat]
* Postgres 6.4, gmake, d: command not found
@ 2002-03-15 01:28 Eric Scroger <escroger@carl.org>
0 siblings, 2 replies; 3+ messages in thread
From: Eric Scroger @ 2002-03-15 01:28 UTC (permalink / raw)
To: pgsql-admin
Greetings,
I am having problems compiling Postgres 6.4.2 on Solaris 7.
I know, 6.4?, why aren't you using 7.1/7.2. Well, a number
of our clients still use 6.4. We will upgrade them to 7.1/7.2
later this year.
In the meantime, I have been given another development box
on which I need to install Postgres 6.4. I have the src tarball,
postgresql-6.4.2.tar. I have run configure and tried making,
using gmake all. The following error arises. Any ideas?
Thanks,
Eric
------------------------------------
gmake[2]: Entering directory
`/usr/share/src/pgsql/postgresql-6.4.2/src/backend/bootstrap'
d bootparse.y
gmake[2]: d: Command not found
gmake[2]: [bootparse.c] Error 127 (ignored)
grep -v "^#" boot.sed > sedfile
sed -f sedfile < y.tab.c > bootparse.c
/bin/sh: y.tab.c: cannot open
gmake[2]: *** [bootparse.c] Error 1
gmake[2]: Leaving directory
`/usr/share/src/pgsql/postgresql-6.4.2/src/backend/bootstrap'
gmake[1]: *** [bootstrap.dir] Error 2
gmake[1]: Leaving directory
`/usr/share/src/pgsql/postgresql-6.4.2/src/backend'
gmake: *** [all] Error 2
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Postgres 6.4, gmake, d: command not found
@ 2002-03-15 01:48 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Eric Scroger <escroger@carl.org>
1 sibling, 0 replies; 3+ messages in thread
From: Bruce Momjian @ 2002-03-15 01:48 UTC (permalink / raw)
To: Eric Scroger <escroger@carl.org>; +Cc: pgsql-admin
My guess is that you are being bitten by a bug we had with the sed
scripts in those old releases. Seems newer seds are more prone to
trigger that bug. As I remember, it was something about the sed's and
backslashes in one of the *.sh files in the backend directory. I don't
remember more. Try and find that command, send the script to me, and I
will recognize the bug we fixed.
Also, wipe all the dust off that old tarball. :-)
---------------------------------------------------------------------------
Eric Scroger wrote:
> Greetings,
>
> I am having problems compiling Postgres 6.4.2 on Solaris 7.
> I know, 6.4?, why aren't you using 7.1/7.2. Well, a number
> of our clients still use 6.4. We will upgrade them to 7.1/7.2
> later this year.
>
> In the meantime, I have been given another development box
> on which I need to install Postgres 6.4. I have the src tarball,
> postgresql-6.4.2.tar. I have run configure and tried making,
> using gmake all. The following error arises. Any ideas?
>
> Thanks,
>
> Eric
>
> ------------------------------------
>
> gmake[2]: Entering directory
> `/usr/share/src/pgsql/postgresql-6.4.2/src/backend/bootstrap'
> d bootparse.y
> gmake[2]: d: Command not found
> gmake[2]: [bootparse.c] Error 127 (ignored)
> grep -v "^#" boot.sed > sedfile
> sed -f sedfile < y.tab.c > bootparse.c
> /bin/sh: y.tab.c: cannot open
> gmake[2]: *** [bootparse.c] Error 1
> gmake[2]: Leaving directory
> `/usr/share/src/pgsql/postgresql-6.4.2/src/backend/bootstrap'
> gmake[1]: *** [bootstrap.dir] Error 2
> gmake[1]: Leaving directory
> `/usr/share/src/pgsql/postgresql-6.4.2/src/backend'
> gmake: *** [all] Error 2
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Postgres 6.4, gmake, d: command not found
@ 2002-03-15 15:30 Tom Lane <tgl@sss.pgh.pa.us>
parent: Eric Scroger <escroger@carl.org>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2002-03-15 15:30 UTC (permalink / raw)
To: Eric Scroger <escroger@carl.org>; +Cc: pgsql-admin
Eric Scroger <escroger@carl.org> writes:
> gmake[2]: Entering directory
> `/usr/share/src/pgsql/postgresql-6.4.2/src/backend/bootstrap'
> d bootparse.y
> gmake[2]: d: Command not found
> gmake[2]: [bootparse.c] Error 127 (ignored)
Looks like the configure script has chosen "d" instead of bison or yacc
(not clear why ... do you have YACC defined in your environment?)
You'll probably get further if you install bison and reconfigure.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2002-03-15 15:30 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-15 01:28 Postgres 6.4, gmake, d: command not found Eric Scroger <escroger@carl.org>
2002-03-15 01:48 ` Bruce Momjian <pgman@candle.pha.pa.us>
2002-03-15 15:30 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox