|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Compile error: command not foundHi 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 -- Sent via pgsql-ports mailing list (pgsql-ports@...) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-ports |
|
|
Re: Compile error: command not foundAm 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? -- Sent via pgsql-ports mailing list (pgsql-ports@...) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-ports |
|
|
Re: Compile error: command not foundPeter,
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@...> 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 -- Sent via pgsql-ports mailing list (pgsql-ports@...) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-ports |
|
|
Re: Compile error: command not foundAm 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. -- Sent via pgsql-ports mailing list (pgsql-ports@...) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-ports |
|
|
|
|
|
Re: Compile error: command not found"Nathan Garlington" <garlinto@...> 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 -- Sent via pgsql-ports mailing list (pgsql-ports@...) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-ports |
|
|
Re: Compile error: command not foundwell, 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@...> wrote: > "Nathan Garlington" <garlinto@...> 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 -- Sent via pgsql-ports mailing list (pgsql-ports@...) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-ports |
|
|
|
| Free Forum Powered by Nabble | Forum Help |