Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 23rd, 2005, 01:38 AM
Tom Hebbron
Guest
 
Posts: n/a
Default /contrib binaries for win32

Hi group,

I've installed the win32 binary version of the 8.0beta1 using the
PGInstaller (http://pgfoundry.org/projects/pginstaller).
I've also downloaded the source to compile on our linux boxes and that is
fine. The problem I've got now is building binaries of the contrib folder
for win32 - specifically the fuzzystrmatch and tsearch2 bits - but I'm sure
the rest would be useful.

I've installed MinGW and had a bash at compiling in windows (XP Pro) but
get:

C:\Documents and Settings\Tom\Desktop\postgresql-8.0.0beta1>sh ./configure
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking which template to use... win32
checking whether to build with 64-bit integer date/time support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler
cannot create executables

C:\Documents and Settings\Tom\Desktop\postgresql-8.0.0beta1>

So - can anyone provide a walk-though to building on win32 (including which
bits of MinGW atc to download & install, any gotchas etc) or shorter term a
set of the binary dlls from a successful build of the contrib folder which I
can drop into the PGInstaller version?

Thanks in advance, and thanks to all who contributed to the 8.0.0 release -
I'm looking forward to using it in anger :-)

--
Tom Hebbron
www.hebbron.com



  #2  
Old November 23rd, 2005, 01:39 AM
Bruce Momjian
Guest
 
Posts: n/a
Default Re: /contrib binaries for win32

Tom Hebbron wrote:[color=blue]
> Hi group,
>
> I've installed the win32 binary version of the 8.0beta1 using the
> PGInstaller (http://pgfoundry.org/projects/pginstaller).
> I've also downloaded the source to compile on our linux boxes and that is
> fine. The problem I've got now is building binaries of the contrib folder
> for win32 - specifically the fuzzystrmatch and tsearch2 bits - but I'm sure
> the rest would be useful.
>
> I've installed MinGW and had a bash at compiling in windows (XP Pro) but
> get:
>
> C:\Documents and Settings\Tom\Desktop\postgresql-8.0.0beta1>sh ./configure
> checking build system type... i686-pc-mingw32
> checking host system type... i686-pc-mingw32
> checking which template to use... win32
> checking whether to build with 64-bit integer date/time support... no
> checking whether NLS is wanted... no
> checking for default port number... 5432
> checking for gcc... gcc
> checking for C compiler default output... configure: error: C compiler
> cannot create executables
>
> C:\Documents and Settings\Tom\Desktop\postgresql-8.0.0beta1>
>
> So - can anyone provide a walk-though to building on win32 (including which
> bits of MinGW atc to download & install, any gotchas etc) or shorter term a
> set of the binary dlls from a successful build of the contrib folder which I
> can drop into the PGInstaller version?
>
> Thanks in advance, and thanks to all who contributed to the 8.0.0 release -
> I'm looking forward to using it in anger :-)[/color]

That is pretty strange. I am not sure what would cause something like
this. Others run configure just fine on MinGW. There is a Win32
project page which might help:

http://momjian.postgresql.org/main/w.../pgsql/project


--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles