Re: Some more msvc++ 8.2.4 build feedback - Mailing list pgsql-hackers

From Charlie Savage
Subject Re: Some more msvc++ 8.2.4 build feedback
Date
Msg-id 46D6F329.10903@savagexi.com
Whole thread Raw
In response to Re: Some more msvc++ 8.2.4 build feedback  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Some more msvc++ 8.2.4 build feedback  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Hi Magnus,<br /><br /><blockquote cite="mid:20070830080716.GE14845@svr2.hagander.net" type="cite"><pre wrap="">Yeah,
thisis a known problem, and it's fixed for 8.3. Really, the msvc 
build process in 8.2 has a *lot* of rough edges ;-) The code itself builds
fine, but the buildsystem needed a lot more work. </pre></blockquote> Great - figured that might be the case.<br /><br
/><blockquotecite="mid:20070830080716.GE14845@svr2.hagander.net" type="cite"><blockquote type="cite"><pre wrap="">3.
Ifyou have a contrib module that is not known to the build system  
it blows up.  For example, I use PostGIS.  When running build.bat it
stops at postgis (sorry, I didn't write down the error message but can
easily get it if needed).  Could unknown contrib modules just be skipped
instead?   </pre></blockquote><pre wrap="">
Uh, can you explain more what you mean? How can the pg build be affected by
postgis? </pre></blockquote> Download postgis source and put it under contrib/postis. Then:<br /><br />
C:\Development\msys\src\postgresql-8.2.4\src\tools\msvc>perlmkvcbuild.pl<br /> Could not determine contrib module
typefor postgis-1.2.1<br />  at mkvcbuild.pl line 326<br />         main::AddContrib('postgis-1.2.1') called at
mkvcbuild.plline 200<br /><br /> There is a loop in mkvcbuild.pl that processes the contrib modules:<br /><br /> my
$D;<br/> opendir($D, 'contrib') || croak "Could not opendir on contrib!\n";<br /> while (my $d = readdir($D)) {<br />
   next if ($d =~ /^\./);<br />     next unless (-f "contrib/$d/Makefile");<br />     next if (grep {/^$d$/}
@contrib_excludes);<br/>     AddContrib($d);<br /> }<br /> closedir($D);<br /><br /><br /> Perhaps I shouldn't be
installingthe postgis source to contrib, but that used to be the recommended practice (at least for PostGis).<br /><br
/>Thanks for the help,<br /><br /> Charlie  

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Fix brain fade in DefineIndex(): it was continuing to access the
Next
From: Alvaro Herrera
Date:
Subject: Re: [ADMIN] reindexdb hangs