[gdal-dev] Build gdal 1.5.2 on FreeBSD

Ben Madin ben at remoteinformation.com.au
Wed Oct 15 03:54:31 EDT 2008


G'day Markus,

I didn't realise I needed to do both - so that got me over that hump,  
but now it is hung up on jpeg 2000 (which I don't seem to be able to  
turn off using --with-jasper=NO)

So I'm getting this...

gmake -C jpeg2000 install-obj
gmake[2]: Entering directory `/usr/home/ben/gdal-1.5.2/frmts/jpeg2000'
/bin/sh /usr/home/ben/gdal-1.5.2/libtool --mode=compile --tag=CXX g++ - 
g -O2  -Wall  -I/usr/home/ben/gdal-1.5.2/port -I/usr/home/ben/ 
gdal-1.5.2/gcore -I/usr/home/ben/gdal-1.5.2/alg -I/usr/home/ben/ 
gdal-1.5.2/ogr -I/usr/home/ben/gdal-1.5.2/ogr/ogrsf_frmts  - 
DOGR_ENABLED -I/usr/home/ben/gdal-1.5.2/port  -c -o ../o/ 
jpeg2000dataset.o jpeg2000dataset.cpp
libtool: compile:  g++ -g -O2 -Wall -I/usr/home/ben/gdal-1.5.2/port -I/ 
usr/home/ben/gdal-1.5.2/gcore -I/usr/home/ben/gdal-1.5.2/alg -I/usr/ 
home/ben/gdal-1.5.2/ogr -I/usr/home/ben/gdal-1.5.2/ogr/ogrsf_frmts - 
DOGR_ENABLED -I/usr/home/ben/gdal-1.5.2/port -c jpeg2000dataset.cpp  - 
fPIC -DPIC -o ../o/.libs/jpeg2000dataset.o
jpeg2000dataset.cpp:34:27: error: jasper/jasper.h: No such file or  
directory
jpeg2000dataset.cpp:147: error: 'jas_stream_t' has not been declared
jpeg2000dataset.cpp:148: error: 'jas_stream_t' has not been declared
jpeg2000dataset.cpp:154: warning: 'jp2_box_get' initialized and  
declared 'extern'

etc...

I've tried with --with-jpeg=internal and without in the ./configure.

I have a libjasper in /usr/local/lib, and a libjpeg - no mention of  
jpeg 2000 though.

cheers

Ben





On 15/10/2008, at 2:49 PM, Markus Neteler wrote:

> On Wed, Oct 15, 2008 at 5:23 AM, Ben Madin <ben at remoteinformation.com.au 
> > wrote:
>> G'day all,
>>
>> after failing to build 1.5.0 with the ports collection on FreeBSD I  
>> have
>> downloaded sources and tried from scratch using the default configure
> ...
>> NetCDF support:            no
>> LIBPNG support:            internal
>> LIBTIFF support:           external (BigTIFF=no)
>> LIBGEOTIFF support:        external
>
> Since you requested the external LIBTIFF, you will have to install it.
> Or:
> run configure with additionally
>   --with-geotiff=internal --with-libtiff=internal
>
> to use the built-in LIBTIFF.
>
> Markus

-- 

Ben Madin
REMOTE INFORMATION

t : +61 8 9192 5455
f : +61 8 9192 5535
m : 0448 887 220
Broome   WA   6725

ben at remoteinformation.com.au



							Out here, it pays to know...




More information about the gdal-dev mailing list