Re: building Postgresql in Windows XP

From: "Md(dot) Abdur Rahman" <rahman(at)mcrlab(dot)uottawa(dot)ca>
To: tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>
Cc: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: building Postgresql in Windows XP
Date: 2009-02-19 11:54:01
Message-ID: 499D4859.5000701@mcrlab.uottawa.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thank you sir.

Ah! got right person at right time :-). For now, my question is: I am
using my Windows XP OS on a laptop and built using MinGW. However, once
I try to create a database cluster using "initdb -D
/c/postgresql-8.3.5/src/data" it shows me a message "The program
postgres is needed by initdb but was not found in the same directory as
c:/postgresql-8.3.5/src/bin/initdb/initdb.exe. Actually the folder data
in src folder does not exist. Check your installation". I just want to
use this folder for the server instance of postgres. I have checked the
directory structure but did not find postgres.exe anywhere. Any quick
idea? I appreciate your help. As a new to this world, I feel that I am
asking some stupid question and thank you for your patience.

Best Regards
A. Rahman

tushar wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Md. Abdur Rahman wrote:
>
>> OK, finally I could build it from source. I am using MinGW to do that.
>> Now that I have those exe files. Now how do I start the service or the
>> database. I see the necessary exe files under src/bin/scripts folder
>> such as createdb.exe, createuser.exe...Any manual for that. I appreciate
>> your help.
>>
>>
> This link would be helpful :-
>
> http://www.postgresql.org/docs/8.3/static/reference-server.html
>
>
>> Stefan Kaltenbrunner wrote:
>>
>>> Md. Abdur Rahman wrote:
>>>
>>>> Dear Sir,
>>>> I am trying to build PostGreSql from
>>>> http://www.postgresql.org/ftp/source/v8.3.6/. However, I am unable to
>>>> find any complete step by step document how to build it in windows
>>>> xp. I would be grateful to you if you could point me any URL that can
>>>> guide me toward a successful compiling of the database.
>>>>
>>> If you really need to build from source you should look at:
>>>
>>> http://www.postgresql.org/docs/8.3/static/install-win32.html
>>>
>>> however I would recommend you install postgresql using the binary
>>> installer on windows.
>>>
>>>
>>> Stefan
>>>
>>
>>
>>
>
>
>
> --
> regards,tushar
> http://webeatoracle.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
>
> iD8DBQFJnRk3fQNodY2PIRoRAhSdAJ90ragnxADeveQVsb8qyPBm1Y9tvACdENc4
> lildMM0aDqWWgryLvYM5hrU=
> =eUqf
> -----END PGP SIGNATURE-----
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message tushar 2009-02-19 12:12:27 Re: building Postgresql in Windows XP
Previous Message Heikki Linnakangas 2009-02-19 11:24:57 Re: BUG #4665: pgAdmin: non checking PG version on vacuum