You will need to remove the --with-postgres=yes and --with-postgres-includes=/usr/include/postgresql options. As for the lex error, you should be able to fix that by running
sudo apt-get install flex on the command line before configuring. On Wed, Dec 4, 2013 at 1:42 AM, Glenn Hunt <[email protected]> wrote: > Hi Eric, > > I decided not to compile postgis but do I then need to change the configure > line for compiling grass 64? I just tried to compile now using the full text > in your document and got an error right at the beginning. > > checing for lex... no > configure: error: *** Unable to locate lex. > > > On 04/12/13 00:20, Eric Goddard wrote: > > The packages I use for postgres on Ubuntu 13.04 are: > postgresql-server-dev-9.1 postgresql-client postgresql-9.1 > postgresql-contrib-9.1. I don't know if Ubuntu 12.04 has postgres 9.1; > it may still be on 9. Try finding the equivalent packages with > synaptic, or simply don't compile postgis if you never use it. > > On Tue, Dec 3, 2013 at 11:07 AM, BigBaka <[email protected]> wrote: > > Re configured, make, and make installed gdal. Moved onto the postgis > Downloaded package but when in tried to configure i got an error > > checking for pg_config... no > configure: error: could not find pg_config within the current path. You may > need to try re-running configure with a --with-pgconfig parameter. > make: *** [GNUmakefile] Error 1 > > ideas? > > On 03/12/13 23:26, Eric Goddard [via OSGeo.org] wrote: > > I would recompile gdal. Switch to the gdal source directory and run > 'make clean', and then re run the ./configure, make, and make install > lines. > > On Tue, Dec 3, 2013 at 10:21 AM, BigBaka <[hidden email]> wrote: > > After posting that I went into synaptic and installed geotiff 1.4. > Following > that it seems it worked. > Values for GEOTIFF_INCLUDE_DIR and GEOTIFF_LIBRARY > are usr/include/geotiff and usr/lib/libgeotiff.so respectively now. > > I did manage to get the gdal compiled without geotiff, but I'm not sure > there may have been some errors that I just overlooked. Would you > recommend > starting from the beginning again, or just keep going as is? > > Regards, > BB > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/MrSID-raster-and-QGIS-in-linux-tp5090885p5092439.html > Sent from the Quantum GIS - User mailing list archive at Nabble.com. > _______________________________________________ > Qgis-user mailing list > [hidden email] > http://lists.osgeo.org/mailman/listinfo/qgis-user > > _______________________________________________ > Qgis-user mailing list > [hidden email] > http://lists.osgeo.org/mailman/listinfo/qgis-user > > > ________________________________ > If you reply to this email, your message will be added to the discussion > below: > http://osgeo-org.1560.x6.nabble.com/MrSID-raster-and-QGIS-in-linux-tp5090885p5092441.html > To unsubscribe from MrSID raster and QGIS in linux, click here. > NAML > > > > ________________________________ > View this message in context: Re: MrSID raster and QGIS in linux > > Sent from the Quantum GIS - User mailing list archive at Nabble.com. > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user > > . > > _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
