[postgis-users] still errors installing postgis 1.3.5 with postgres 8.0/rhel5
Chris Hermansen
chris.hermansen at timberline.ca
Fri Apr 17 14:49:14 PDT 2009
Shad;
Your configure run tells you what's wrong. See the line "configure:
error: Can't find 'flex'"? It's telling you that you don't have flex, a
lexical analyzer generator, installed.
You need to issue some "yum" or "rpm" command or the other that will
install flex (sorry I don't know what command that is; I use Ubuntu
Linux which uses a different technology called "apt"). You will
probably find other things you need as well as you re-run configure.
These are all "basic development tools", kind of like the compiler.
It looks as though you many not have read
http://www.postgis.org/documentation/manual-1.3/ch02.html#PGInstall
to see what PostGIS specific things you need (Proj4, GEOS). Why do I
say this? Well look again at your config messages: "checking for
geos-config... no" oops no GEOS; "checking for proj... no" oops no Proj4.
Building something from sources on Linux isn't hard, but you do have to
read and understand your configure / make messages to be able to take
appropriate action when things don't finish up the way you hope.
Perhaps you might want to do a bit of background reading in an
introductory Linux book or web-site?
Shad Keene wrote:
> My IT person installed the devel pkgs and the postgis install got a
> little further but still bombed out before finishing. Any ideas?
> Both postgis 1.2.1 and 1.3.5 failed. I'm trying to accomplish this
> remotely, so its frustrating that postgis is not installing
> correctly. Before switching to linux, it was easy to use the
> stackbuilder on windows to install/update postgis. linux seems to be
> more difficult. Thanks for any help!
>
> Shad
>
>
>
> here's the recent error messages:
>
>
>
>
>
> checking for pg_config... /usr/bin/pg_config
> checking for geos-config... no
> checking for proj... no
> checking for flex... no
> configure: error: Can't find 'flex'
> [root at zoa-project postgis-1.2.1]#
>
> checking for pg_config... /usr/bin/pg_config
> checking for geos-config... no
> checking for proj... no
> checking for flex... no
> configure: error: Can't find 'flex'
> [root at zoa-project postgis-1.3.5]#
>
>
>
>
> ------------------------------------------------------------------------
> Rediscover Hotmail®: Now available on your iPhone or BlackBerry Check
> it out.
> <http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile2_042009>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
--
Regards,
Chris Hermansen mailto:chris.hermansen at timberline.ca
tel+1.604.714.2878 · fax+1.604.733.0631 · mob+1.778.232.0644
Timberline Natural Resource Group · http://www.timberline.ca
401 · 958 West 8th Avenue · Vancouver BC · Canada · V5Z 1E5
More information about the postgis-users
mailing list