[postgis-users] Newbie: Windows Install Help
C F
gis_consultant at hotmail.com
Mon Jun 24 12:01:34 PDT 2002
Hi Chip,
I'm probably be of too much assistance here but may be able to help you
narrow a few things down. I have PostgreSQL and PostGIS running on Cygwin.
I don't *think* I did anything special to the crypt library and I'm pretty
sure I didn't compile it myself. Although I see that I did download both
source and binary (I don't recall why though). These past few weeks I've
been compiling/installing/learning so much stuff that it's all blending in
together.... I do recall that there was one library that was giving me the
same kind of trouble you're having. I can't remember which library it was
though. All I remember is that Cygwin would download and install it... at
least that's what it made you think. Turns out that it wasn't installing it
correctly. Sometimes when you download a new library with Cygwin installer,
you'll see a DOS window pop up for a split second afterwards and then goes
away (this is the actual, decompress/install phase). Well what was
happening is that the the piece that was actually installing the library was
bombing.... without telling me. I tracked the problem down and it was a
required dependency that was missing.... that the Cygwin installer wasn't
aware of.
I'm sorry, I can't remember if this was the crypt library (or what the
dependency was for that matter) or something else. I just brought it up in
case it triggers a memory for someone else that may help. I wish I had
taken better notes!!
>From: "Hankley, Chip" <Chip.Hankley at GASAI.Com>
>Reply-To: postgis-users at postgis.refractions.net
>To: "'postgis-users at postgis.refractions.net'"
><postgis-users at postgis.refractions.net>
>CC: jason at tishler.net
>Subject: RE: [postgis-users] Newbie: Windows Install Help
>Date: Mon, 24 Jun 2002 13:23:09 -0500
>
>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
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
More information about the postgis-users
mailing list