Problem solved.

I added some printf statements in order do print some debug information.

The tools like pg_ctl always run postmaster -V in order to get the version
number. The printf statements that I added, printed extra info which pg_ctl
could not "understand". Therefore I got the error. 

Regards,
Gevik

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Cramer
Sent: Friday, November 12, 2004 1:01 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [HACKERS] newbie compile question. please help

Check the path of pg_ctl and postmaster, you must have two versions on 
the machine somewhere.

Dave

[EMAIL PROTECTED] wrote:

>Dear Folks,
>
>Could someone please tell me what I am doing wrong here?
>
>I made some minor changes to
>main.c   then
>make then
>make install
>
>when I want to start the postmaster I get
>
>**************************************************
>The program "postmaster" was found by
>"/home/gevik/postgres/build2/bin/pg_ctl"
>but was not the same version as pg_ctl.
>Check your installation.
>*************************************************
>
>What am I doing wrong here?
>
>Regards,
>
>Gevik
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>               http://archives.postgresql.org
>
>
>  
>

-- 
Dave Cramer
http://www.postgresintl.com
519 939 0336
ICQ#14675561


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to