[postgis-users] Newbie: Windows Install Help

Tyler Mitchell TMitchell at lignum.com
Mon Jun 24 16:31:58 PDT 2002


The only thing I found that is my next question is why it didn't seem to
create a data folder when it installed the binaries.  I'm looking for
documentation on this but I still haven't found what I'm looking for.


                                                                                                                             
                      Chris Hodgson                                                                                          
                      <chodgson at refractions.net>              To:       postgis-users at postgis.refractions.net                
                      Sent by:                                cc:                                                            
                      postgis-users-admin at postgis.refr        Fax to:                                                        
                      actions.net                             Subject:  Re: [postgis-users] Newbie: Windows Install Help     
                                                                                                                             
                                                                                                                             
                      06/24/2002 03:51 PM                                                                                    
                      Please respond to postgis-users                                                                        
                                                                                                                             
                                                                                                                             




It is not necessary to compile any of these yourself, or even to install
the
source.

When I (recently, just a few days ago) did a cygwin/postGIS install, I did
download the source for cygipc and compile it myself, but that was only
because
it wasn't available in a pre-compiled version (to my knowledge). I used the
cygwin setup program to install the binaries of the crypt, readline, and
zlib
libraries. I also wouldn't recommend trying to compile postgres yourself -
just
use the setup program to install both the binaries and source. You do need
to
run ./configure in the postgres source directory, because some options in
the
makefile.global are used by postgis in its makefile. Then you just have to
untar
the postgis source into the postgres tree, and make it.

Chris Hodgson

"Obe, Regina DND\\MIS" wrote:

> Chip,
>
> Hope this helps - this is what I have from my instructions.  Make sure
that
> you have the below source packages in your /cygwin/usr/src tree and go
into
> each folder and compile each separately (not sure if you need to, but I
> did).  I think that worked for me.  This was based on 7.1.3, but I think
it
> still holds true for 7.2
>
> The following packages or later are required to build and/or execute
> Cygwin PostgreSQL:
>
>     crypt 1.0.1
>     cygipc 1.09
>     readline 4.2-3
>     zlib 1.1.3
>     cygwin 1.3.2
>
> -----Original Message-----
> From: Hankley, Chip [mailto:Chip.Hankley at GASAI.Com]
> Sent: Monday, June 24, 2002 2:23 PM
> To: 'postgis-users at postgis.refractions.net'
> Cc: jason at tishler.net
> Subject: RE: [postgis-users] Newbie: Windows Install Help
>
> Norman...
>
> I've retried this using several download options w/ cygwin setup. I first
> just downloaded the binary, then the source. Either way, I'm still
getting
> the same error:
>
>   pg_passwd.o(.text+0x763):pg_passwd.c: undefined reference to `crypt'
>   collect2: ld returned 1 exit status
>   make[3]: *** [pg_passwd] Error 1
>   make[2]: *** [all] Error 2
>   make[1]: *** [all] Error 2
>   make: *** [all] Error 2
>
> ... I logged the make session, and this appears to be the offending line:
>
>   make[3]: Entering directory
> `/usr/src/postgresql-7.2.1-2/src/bin/pg_passwd'
>   gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-L/usr/local/lib
> -g  pg_passwd.o -lz -lreadline
>     -lcygipc -o pg_passwd
>
> If I look in the configure log file, I also see the following two lines:
>
>   checking for library containing crypt... (cached) no
> ...and
>   checking for crypt.h... (cached) no
>
> ------------------------------------------
> So...I'm totally confused... do I have to re-configure cygipc to make it
> recognize the new library? Do I need to run "make" on crypt before I run
the
> postgreSQL configure? The name of the source directory for crypt is
> crypt-1.0, not just crypt... could this be the problem?
>
> TIA
>
> Chip
>
> -----Original Message-----
> From: Norman Vine [mailto:nhv at cape.com]
> Sent: Friday, June 21, 2002 4:10 PM
> To: postgis-users at postgis.refractions.net
> Cc: jason at tishler.net
> Subject: RE: [postgis-users] Newbie: Windows Install Help
>
> rerun the cygwin setup program and make sure you have 'crypt'
> package selected for download under the 'Libs' category and
> try building again
>
> Norman
>
> >-----Original Message-----
> >From: postgis-users-admin at postgis.refractions.net
> >[mailto:postgis-users-admin at postgis.refractions.net]On Behalf Of
> >Hankley, Chip
> >Sent: Friday, June 21, 2002 4:46 PM
> >To: 'Tyler Mitchell'; postgis-users at postgis.refractions.net
> >Subject: RE: [postgis-users] Newbie: Windows Install Help
> >
> >
> >Thanks Tyler... that got me a LITTLE farther! Still problems though.
> >
> >I followed Norman Vine's instructions from last year - see
> >
> >http://postgis.refractions.net/pipermail/postgis-users/2001-Jun
> >e/000025.html
> >
> >The last few lines of the output after I make (this is the make for
> >PostgreSQL) show errors:
> >
> >...
> >/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cy
> >gwin/bin/ld:
> >cannot find -lcrypt
> >collect2: ld returned 1 exit status
> >dllwrap: gcc exited with status 1
> >make[1]: *** [array_iterator.dll] Error 1
> >rm array_iterator.o
> >make[1]: Leaving directory `/usr/src/postgresql-7.2.1-2/contrib/array'
> >make: *** [all] Error 2
> >
> >The only error that I see is the "cannot find -lcrypt. Sure
> >enuf, there's
> >not a file or directory by that name in the
> >i686-pc-cygwin/bin/ - is that
> >what this means? Where can I get it? Are the instructions
> >Norman provided
> >still valid?
> >
> >TIA!
> >
> >Chip Hankley
> >
> >_______________________________________________
> >postgis-users mailing list
> >postgis-users at postgis.refractions.net
> >http://postgis.refractions.net/mailman/listinfo/postgis-users
> >
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users


_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users









More information about the postgis-users mailing list