[postgis-users] Postgis installation on Windows(cygwin)

"Morin, Marc-André" Marc-Andre.Morin at drdc-rddc.gc.ca
Tue Apr 1 13:22:58 PST 2003


Riyaz,

You have to make the following change in
$postgresql/src/include/optimizer/cost.h

extern DLLIMPORT double cpu_index_tuple_cost;
//extern double cpu_index_tuple_cost;

-- MAM

-----Message d'origine-----
De : Riyaz Prasla [mailto:riyazprasla at yahoo.com]
Envoyé : Tuesday, April 01, 2003 3:58 PM
À : postgis-users at postgis.refractions.net
Objet : [postgis-users] Postgis installation on Windows(cygwin) 


Hi all,
   I have successfully installed cygwin and Postgresql
7.3.2 .(Note: postgresql 7.3.2 came/installed with
cygwin and I tested it). I am trying to install
postgis-0.7.4 on it. I am following the directions
from the postgis documentation and this page:

http://www.gasai.com/gisapps/WindowsHowTo.html

I get this error(at the end of the email) when I type
"make" under postgis-0.7.4. Any tips on getting this
right?? I don't know where to go from here? any help
is appreciated.

Thanks,
Riyaz.

*******************
..
...
postgis_estimate.o(.text+0x1294): In function
`genericcostestimate2':
/usr/src/postgresql-7.3.2-1/contrib/postgis-0.7.4/postgis_estimate.c:751:
undefi
ned reference to `_clauselist_selectivity'
postgis_estimate.o(.text+0x12f4):/usr/src/postgresql-7.3.2-1/contrib/postgis
-0.7
.4/postgis_estimate.c:809: undefined reference to
`_cost_qual_eval'
postgis_estimate.o(.text+0x12fd):/usr/src/postgresql-7.3.2-1/contrib/postgis
-0.7
.4/postgis_estimate.c:809: undefined reference to
`_cpu_index_tuple_cost'
postgis_estimate.o(.text+0x1374):/usr/src/postgresql-7.3.2-1/contrib/postgis
-0.7
.4/postgis_estimate.c:743: undefined reference to
`_listCopy'
postgis_estimate.o(.text+0x1380):/usr/src/postgresql-7.3.2-1/contrib/postgis
-0.7
.4/postgis_estimate.c:743: undefined reference to
`_nconc'
postgis_estimate.o(.text+0x1388):/usr/src/postgresql-7.3.2-1/contrib/postgis
-0.7
.4/postgis_estimate.c:743: undefined reference to
`_make_ands_explicit'
postgis_estimate.o(.text+0x1398):/usr/src/postgresql-7.3.2-1/contrib/postgis
-0.7
.4/postgis_estimate.c:745: undefined reference to
`_canonicalize_qual'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make: *** [libpostgis.a] Error 1
******************************************


 

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://platinum.yahoo.com

_______________________________________________
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