dbTalk Databases Forums  

[PORTS] Compile error: command not found

mailing.database.pgsql-ports mailing.database.pgsql-ports


Discuss [PORTS] Compile error: command not found in the mailing.database.pgsql-ports forum.



Reply
 
Thread Tools Display Modes
  #41  
Old   
Nathan Garlington
 
Posts: n/a

Default Re: [PORTS] Compile error: command not found - 05-02-2008 , 12:17 PM






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 (AT) sss (DOT) pgh.pa.us> wrote:
Quote:
"Nathan Garlington" <garlinto (AT) gmail (DOT) 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

--
Sent via pgsql-ports mailing list (pgsql-ports (AT) postgresql (DOT) org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-ports


Reply With Quote
  #42  
Old   
Nathan Garlington
 
Posts: n/a

Default Re: [PORTS] Compile error: command not found - 05-02-2008 , 12:17 PM






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 (AT) sss (DOT) pgh.pa.us> wrote:
Quote:
"Nathan Garlington" <garlinto (AT) gmail (DOT) 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

--
Sent via pgsql-ports mailing list (pgsql-ports (AT) postgresql (DOT) org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-ports


Reply With Quote
  #43  
Old   
Nathan Garlington
 
Posts: n/a

Default Re: [PORTS] Compile error: command not found - 05-02-2008 , 12:17 PM



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 (AT) sss (DOT) pgh.pa.us> wrote:
Quote:
"Nathan Garlington" <garlinto (AT) gmail (DOT) 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

--
Sent via pgsql-ports mailing list (pgsql-ports (AT) postgresql (DOT) org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-ports


Reply With Quote
  #44  
Old   
Nathan Garlington
 
Posts: n/a

Default Re: [PORTS] Compile error: command not found - 05-02-2008 , 12:17 PM



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 (AT) sss (DOT) pgh.pa.us> wrote:
Quote:
"Nathan Garlington" <garlinto (AT) gmail (DOT) 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

--
Sent via pgsql-ports mailing list (pgsql-ports (AT) postgresql (DOT) org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-ports


Reply With Quote
  #45  
Old   
Nathan Garlington
 
Posts: n/a

Default Re: [PORTS] Compile error: command not found - 05-02-2008 , 12:17 PM



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 (AT) sss (DOT) pgh.pa.us> wrote:
Quote:
"Nathan Garlington" <garlinto (AT) gmail (DOT) 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

--
Sent via pgsql-ports mailing list (pgsql-ports (AT) postgresql (DOT) org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-ports


Reply With Quote
  #46  
Old   
Nathan Garlington
 
Posts: n/a

Default [PORTS] Compile error: command not found - 05-02-2008 , 02:25 PM



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 (AT) gmx (DOT) net> wrote:
Quote:
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

--
Sent via pgsql-ports mailing list (pgsql-ports (AT) postgresql (DOT) org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-ports


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.