pg.ddx.io pgsql-ports@postgresql.org mailing list archive
help / color / mirror / Atom feedCompile error: command not found
8+ messages / 3 participants
[nested] [flat]
* Compile error: command not found
@ 2008-05-02 13:50 Nathan Garlington <garlinto@gmail.com>
2008-05-02 14:03 ` Re: Compile error: command not found Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 8+ messages in thread
From: Nathan Garlington @ 2008-05-02 13:50 UTC (permalink / raw)
To: pgsql-ports
Hi all!
I downloaded 8.3.1 and ./configure and gmake went smoothly during the
installation process. But when I ran gmake install, I had these
errors:
**********
gmake[3]: Entering directory `/root/postgresql-8.3.1/src/backend/utils'
AWK='' /bin/sh Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h
Gen_fmgrtab.sh: line 84: $5 == "12" { print }: command not found
Gen_fmgrtab.sh: line 142:
BEGIN { OFS = ""; }
{ if (seenit[$(NF-3)]++ == 0) print "#define F_", $(NF-3), "
", $1; }: command not found
Gen_fmgrtab.sh failed
gmake[3]: *** [fmgroids.h] Error 1
gmake[3]: Leaving directory `/root/postgresql-8.3.1/src/backend/utils'
gmake[2]: *** [utils/fmgroids.h] Error 2
gmake[2]: Leaving directory `/root/postgresql-8.3.1/src/backend'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/root/postgresql-8.3.1/src'
gmake: *** [install] Error 2
***********
and gmake stopped. Any ideas as to what I can do to fix this?
I'm running a recently installed Slackware Linux 12.0 on a linux-only box.
--
Regards,
Nathan Garlington
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Compile error: command not found
2008-05-02 13:50 Compile error: command not found Nathan Garlington <garlinto@gmail.com>
@ 2008-05-02 14:03 ` Peter Eisentraut <peter_e@gmx.net>
2008-05-02 14:55 ` Re: Compile error: command not found Nathan Garlington <garlinto@gmail.com>
0 siblings, 1 reply; 8+ messages in thread
From: Peter Eisentraut @ 2008-05-02 14:03 UTC (permalink / raw)
To: pgsql-ports; +Cc: Nathan Garlington <garlinto@gmail.com>
Am Freitag, 2. Mai 2008 schrieb Nathan Garlington:
> I downloaded 8.3.1 and ./configure and gmake went smoothly during the
> installation process. But when I ran gmake install, I had these
> errors:
>
> **********
> gmake[3]: Entering directory `/root/postgresql-8.3.1/src/backend/utils'
> AWK='' /bin/sh Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h
> Gen_fmgrtab.sh: line 84: $5 == "12" { print }: command not found
Install awk?
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Compile error: command not found
2008-05-02 13:50 Compile error: command not found Nathan Garlington <garlinto@gmail.com>
2008-05-02 14:03 ` Re: Compile error: command not found Peter Eisentraut <peter_e@gmx.net>
@ 2008-05-02 14:55 ` Nathan Garlington <garlinto@gmail.com>
2008-05-02 15:21 ` Re: Compile error: command not found Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 8+ messages in thread
From: Nathan Garlington @ 2008-05-02 14:55 UTC (permalink / raw)
To: Peter Eisentraut <peter_e@gmx.net>; pgsql-ports
Peter,
Thanks for the promdt reply. I installed awk as per your suggestion,
and verified it's installation from the command line. But I am still
getting the exact same error shown below. Any other ideas?
On Fri, May 2, 2008 at 8:03 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
> Am Freitag, 2. Mai 2008 schrieb Nathan Garlington:
> > I downloaded 8.3.1 and ./configure and gmake went smoothly during the
> > installation process. But when I ran gmake install, I had these
> > errors:
> >
> > **********
> > gmake[3]: Entering directory `/root/postgresql-8.3.1/src/backend/utils'
> > AWK='' /bin/sh Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h
> > Gen_fmgrtab.sh: line 84: $5 == "12" { print }: command not found
>
> Install awk?
>
--
Regards,
Nathan Garlington
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Compile error: command not found
2008-05-02 13:50 Compile error: command not found Nathan Garlington <garlinto@gmail.com>
2008-05-02 14:03 ` Re: Compile error: command not found Peter Eisentraut <peter_e@gmx.net>
2008-05-02 14:55 ` Re: Compile error: command not found Nathan Garlington <garlinto@gmail.com>
@ 2008-05-02 15:21 ` Peter Eisentraut <peter_e@gmx.net>
2008-05-02 16:57 ` Compile error: command not found Nathan Garlington <garlinto@gmail.com>
2008-05-02 19:23 ` Compile error: command not found Nathan Garlington <garlinto@gmail.com>
0 siblings, 2 replies; 8+ messages in thread
From: Peter Eisentraut @ 2008-05-02 15:21 UTC (permalink / raw)
To: pgsql-ports; +Cc: Nathan Garlington <garlinto@gmail.com>
Am Freitag, 2. Mai 2008 schrieb Nathan Garlington:
> Thanks for the promdt reply. I installed awk as per your suggestion,
> and verified it's installation from the command line. But I am still
> getting the exact same error shown below. Any other ideas?
make distclean and rerun configure.
^ permalink raw reply [nested|flat] 8+ messages in thread
* Compile error: command not found
2008-05-02 13:50 Compile error: command not found Nathan Garlington <garlinto@gmail.com>
2008-05-02 14:03 ` Re: Compile error: command not found Peter Eisentraut <peter_e@gmx.net>
2008-05-02 14:55 ` Re: Compile error: command not found Nathan Garlington <garlinto@gmail.com>
2008-05-02 15:21 ` Re: Compile error: command not found Peter Eisentraut <peter_e@gmx.net>
@ 2008-05-02 16:57 ` Nathan Garlington <garlinto@gmail.com>
2008-05-02 16:59 ` Re: Compile error: command not found Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 1 reply; 8+ messages in thread
From: Nathan Garlington @ 2008-05-02 16:57 UTC (permalink / raw)
To: pgsql-ports
That did it! Thanks for the help.
Now, I'm trying to setup the data cluster, so I use:
initdb -D /usr/local/pgsql/data
as the postgres user but the shell tells me that the 'initdb' does not exist.
I rebooted the computer and tried it again, but still won't work.
??
On Fri, May 2, 2008 at 9:21 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
> Am Freitag, 2. Mai 2008 schrieb Nathan Garlington:
> > Thanks for the promdt reply. I installed awk as per your suggestion,
> > and verified it's installation from the command line. But I am still
> > getting the exact same error shown below. Any other ideas?
>
> make distclean and rerun configure.
>
--
Regards,
Nathan Garlington
--
Regards,
Nathan Garlington
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Compile error: command not found
2008-05-02 13:50 Compile error: command not found Nathan Garlington <garlinto@gmail.com>
2008-05-02 14:03 ` Re: Compile error: command not found Peter Eisentraut <peter_e@gmx.net>
2008-05-02 14:55 ` Re: Compile error: command not found Nathan Garlington <garlinto@gmail.com>
2008-05-02 15:21 ` Re: Compile error: command not found Peter Eisentraut <peter_e@gmx.net>
2008-05-02 16:57 ` Compile error: command not found Nathan Garlington <garlinto@gmail.com>
@ 2008-05-02 16:59 ` Tom Lane <tgl@sss.pgh.pa.us>
2008-05-02 17:16 ` Re: Compile error: command not found Nathan Garlington <garlinto@gmail.com>
0 siblings, 1 reply; 8+ messages in thread
From: Tom Lane @ 2008-05-02 16:59 UTC (permalink / raw)
To: Nathan Garlington <garlinto@gmail.com>; +Cc: pgsql-ports
"Nathan Garlington" <garlinto@gmail.com> writes:
> Now, I'm trying to setup the data cluster, so I use:
> initdb -D /usr/local/pgsql/data
> as the postgres user but the shell tells me that the 'initdb' does not exist.
Either you forgot the "make install" step, or it installed the programs
into someplace that isn't in your $PATH.
regards, tom lane
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Compile error: command not found
2008-05-02 13:50 Compile error: command not found Nathan Garlington <garlinto@gmail.com>
2008-05-02 14:03 ` Re: Compile error: command not found Peter Eisentraut <peter_e@gmx.net>
2008-05-02 14:55 ` Re: Compile error: command not found Nathan Garlington <garlinto@gmail.com>
2008-05-02 15:21 ` Re: Compile error: command not found Peter Eisentraut <peter_e@gmx.net>
2008-05-02 16:57 ` Compile error: command not found Nathan Garlington <garlinto@gmail.com>
2008-05-02 16:59 ` Re: Compile error: command not found Tom Lane <tgl@sss.pgh.pa.us>
@ 2008-05-02 17:16 ` Nathan Garlington <garlinto@gmail.com>
0 siblings, 0 replies; 8+ messages in thread
From: Nathan Garlington @ 2008-05-02 17:16 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-ports
well, after I unzipped and untarred the source,
I changed dir into the postgres-8.3.1 dir and executed:
$: ./configure
when complete, did
$: gmake
which took a while, and then did
$: gmake install
I did all of this as per the instructions in the pgsql manual for ver.
8.3.1. When the install completed, I was told the postgres was
successfully installed on my system
But if there is a problem with $PATH environment var, it looks like
there are some other instructions I can follow. I will try those in
the meantime.
On Fri, May 2, 2008 at 10:59 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Nathan Garlington" <garlinto@gmail.com> writes:
> > Now, I'm trying to setup the data cluster, so I use:
> > initdb -D /usr/local/pgsql/data
> > as the postgres user but the shell tells me that the 'initdb' does not exist.
>
> Either you forgot the "make install" step, or it installed the programs
> into someplace that isn't in your $PATH.
>
> regards, tom lane
>
--
Regards,
Nathan Garlington
^ permalink raw reply [nested|flat] 8+ messages in thread
* Compile error: command not found
2008-05-02 13:50 Compile error: command not found Nathan Garlington <garlinto@gmail.com>
2008-05-02 14:03 ` Re: Compile error: command not found Peter Eisentraut <peter_e@gmx.net>
2008-05-02 14:55 ` Re: Compile error: command not found Nathan Garlington <garlinto@gmail.com>
2008-05-02 15:21 ` Re: Compile error: command not found Peter Eisentraut <peter_e@gmx.net>
@ 2008-05-02 19:23 ` Nathan Garlington <garlinto@gmail.com>
1 sibling, 0 replies; 8+ messages in thread
From: Nathan Garlington @ 2008-05-02 19:23 UTC (permalink / raw)
To: pgsql-ports
No need, I got it to run! I followed the directions in the manual on
how to set the environment variables correctly, and after I did that,
presto!
Thanks to everyone who took the time to respond to my problem!
--
Regards,
Nathan Garlington
On Fri, May 2, 2008 at 1:20 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> Nathan Garlington wrote:
> > That did it! Thanks for the help.
> > Now, I'm trying to setup the data cluster, so I use:
> >
> > initdb -D /usr/local/pgsql/data
> >
> > as the postgres user but the shell tells me that the 'initdb' does not
> > exist.
> >
> > I rebooted the computer and tried it again, but still won't work.
>
> Please write to an appropriate mailing list for user support.
--
Regards,
Nathan Garlington
^ permalink raw reply [nested|flat] 8+ messages in thread
end of thread, other threads:[~2008-05-02 19:23 UTC | newest]
Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-05-02 13:50 Compile error: command not found Nathan Garlington <garlinto@gmail.com>
2008-05-02 14:03 ` Peter Eisentraut <peter_e@gmx.net>
2008-05-02 14:55 ` Nathan Garlington <garlinto@gmail.com>
2008-05-02 15:21 ` Peter Eisentraut <peter_e@gmx.net>
2008-05-02 16:57 ` Nathan Garlington <garlinto@gmail.com>
2008-05-02 16:59 ` Tom Lane <tgl@sss.pgh.pa.us>
2008-05-02 17:16 ` Nathan Garlington <garlinto@gmail.com>
2008-05-02 19:23 ` Nathan Garlington <garlinto@gmail.com>
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