[postgis-devel] Compiling under Windows
Obe, Regina
robe.dnd at cityofboston.gov
Thu Feb 12 06:09:45 PST 2009
Norman,
Thanks for the explanation. Okay that all makes sense now.
Regina
-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of
Norman Vine
Sent: Thursday, February 12, 2009 8:57 AM
To: 'PostGIS Development Discussion'
Subject: RE: [postgis-devel] Compiling under Windows
Regina
In order to keep sanity in Windows ...
By convention
MingW defaults to adding the 'lib' prefix
Cygwin defaults to adding the 'cyg' prefix
MSVC libs have no prefix
Since 'C' librares can work in both MingW and MSVC
It is convienent to use the MSVC convention
Hence the magic in the 'make install'
HTH
Norman
> -----Original Message-----
> From: postgis-devel-bounces at postgis.refractions.net
> [mailto:postgis-devel-bounces at postgis.refractions.net] On
> Behalf Of Obe, Regina
> Sent: Thursday, February 12, 2009 8:11 AM
> To: PostGIS Development Discussion
> Subject: RE: [postgis-devel] Compiling under Windows
>
> Mark,
>
> Actually I'm not quite sure what to make of this. Normally
> what I do is
> do a make, but my PostgreSQL install is elsewhere, so I just copy the
> dlls from the postgis folder.
>
> It seems though that if I do a
>
> make and then a
>
> make install
>
> , the dlls in the installed directory are magically renamed
> without the
> lib extension so they have the right names. Just not the
> right names in
> the postgis folder.
>
> This doesn't happen in my OpenSUSE install. The so files in
> the postgis
> folder do not have a lib in front of them.
>
> Signed,
> Very confused Regina
>
>
>
> -----Original Message-----
> From: postgis-devel-bounces at postgis.refractions.net
> [mailto:postgis-devel-bounces at postgis.refractions.net] On
> Behalf Of Mark
> Cave-Ayland
> Sent: Thursday, February 12, 2009 7:57 AM
> To: PostGIS Development Discussion
> Subject: Re: [postgis-devel] Compiling under Windows
>
> Obe, Regina wrote:
>
> > I thought this was just because I hadn't updated my
> subversion, but I
> > still have this problem. I haven't blown out my subversion
> folder to
> > verify though.
> >
> > Under windows, the dll has the wrong name. It comes out as
> > libpostgis-1.4.dll and to install it, I have to rename it to
> > postgis-1.4.dll
> >
> > Is this just me or are others having this problem?
> >
> > Thanks,
> > Regina
>
> Hmm that's strange - the names are automatically generated by
> PGXS and
> as long as everything is called the same thing, it should
> just work. How
>
> does it compare with modules from contrib which also use
> PGXS? Do these
> have a lib* prefix on Win32 aswell? (Apologies but I don't
> have access
> to my Win32 VM at the moment)
>
>
> ATB,
>
> Mark.
>
> --
> Mark Cave-Ayland
> Sirius Corporation - The Open Source Experts
> http://www.siriusit.co.uk
> T: +44 870 608 0063
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
> -----------------------------------------
> The substance of this message, including any attachments, may be
> confidential, legally privileged and/or exempt from disclosure
> pursuant to Massachusetts law. It is intended
> solely for the addressee. If you received this in error, please
> contact the sender and delete the material from any computer.
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel
More information about the postgis-devel
mailing list