Also, when the ./confure does run, it stops with the error checking for iconv.h... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for pg_config... /usr/bin/pg_config checking for geos-config... /usr/local/bin/geos-config checking for proj... /usr/local/bin/proj checking for flex... no configure: error: Can't find 'flex'
flex??? Rhoel On Feb 13, 3:31 pm, Rhoel_in_Asia <tim.francis.a...@gmail.com> wrote: > This is a newbie question and apologies in advance. > > The geoDjango install instructions for PostGIS say "fNext, find out > PostgreSQL’s ‘share’ directory, and specify it as the data root > directory when configuring. This ensures that PostGIS places its files > in a location consistent with the PostgreSQL installation:" > > Unfortunately there is no eg: for how a valid line should look like. > > the command is $ ./configure --datadir=`pg_config --sharedir` > > The share directry is /usr/share/postgresql/8.3 > > I'm really rusty on my linux code but I have tried all the variations > I can think of: All I am getting are errors, either saying Warning: > invalid host type:, or adbsolute directory name required, not valid, > etc, > > typical: configure: error: expected an absolute directory name for -- > datadir: pg-config /usr/share/postgresql/8.3/. > > Can someone suggest the right combination for $ ./configure -- > datadir=`pg_config --sharedir` > > TIA > > Rhoel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---