[Qgis-user] MrSID raster and QGIS in linux
Eric Goddard
egoddard1010 at gmail.com
Wed Dec 4 13:01:19 PST 2013
In Ubuntu 13.04 opencl is provided by the opencl-headers package. You
probably won't actually need that option though, so I would just
remove --with-opencl=yes from the configure options.
On Wed, Dec 4, 2013 at 7:01 AM, BigBaka <hunt.glenn at gmail.com> wrote:
> Hello again Eric,
>
> So on the configure grass 7 for compilation I got another error.
>
>
> Similar to gdal I took the postgis lines out of configure and wrote as such
> ./configure --prefix=/usr/local/grass70 --enable-largefile --with-sqlite
> --with-freetype=yes --with-freetype-includes=/usr/include/freetype2
> --with-proj-share=/usr/share/proj --with-python --with-cxx --with-wxwidgets
> --with-tcltk-includes=/usr/include/tcl8.5 --with-odbc=yes --enable-64bit
> --with-geos=yes --with-openmp=yes --with-liblas=yes --with-cairo=yes
> --with-opencl=yes --with-pthread=yes
>
> seemed to go OK until it crashed trying to locate the OpenCL library...
>
> checking for pthread_create... no
> checking for pthread_create in -lpthread... yes
> checking whether to use OpenMP... yes
> checking for location of OpenMP includes...
> checking for omp.h... yes
> checking for location of OpenMP library...
> checking for GOMP_parallel_start... no
> checking for GOMP_parallel_start in -lgomp... yes
> checking whether to use OpenCL... yes
> checking for location of OpenCL includes...
> checking for CL/cl.h... yes
> checking for location of OpenCL library...
> checking for clGetPlatformInfo in -lOpenCL... no
> configure: error: *** Unable to locate OpenCL library.
>
>
> On 04/12/13 16:16, Eric Goddard [via OSGeo.org] wrote:
>
> It sounds like you didn't get all of the packages in the dependencies
> section installed; many of the development packages should have been
> installed with the build-essential package. bison and ncurses-dev are
> also in the list and will take care of the curses error., and the
> libxmu-dev package will fix the X error. Did you paste the whole chunk
> of dependencies in as a single line?
>
>
>
> On Wed, Dec 4, 2013 at 3:04 AM, BigBaka <[hidden email]> wrote:
>
>> Hi Eric,
>>
>> Am I missing some compiling package? I also had to download a program
>> called
>> bison. Now I getting an error Unable to locate curses. Also couldn't seem
>> to
>> locate W11 and X. When I tried to install a package called curses.h it
>> said
>> something about "package ncurses-hexedit should be rebuilt with new
>> debhelper to get trigger support! - whatever that means.
>>
>>
>> On 04/12/13 15:34, Eric Goddard [via OSGeo.org] wrote:
>>
>> 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 <[hidden email]> 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 <[hidden email]> 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
>>> [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-tp5090885p5092585.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
>> [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-tp5090885p5092596.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
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
More information about the Qgis-user
mailing list