[Gdal-dev] building gdal on solaris

Peter.Rushforth at statcan.ca Peter.Rushforth at statcan.ca
Wed Apr 26 13:55:02 EDT 2006


Hi Frank and Howard,

After much ado, I got gdal 1.3.2b1 built on solaris 2.8.  Thanks for your
help and everyone else who contributed suggestions.

It turns out I needed to build a fresh copy of xerces, since
the pre-built xerces didn't have the right symbols or something.

I needed xerces for gml support.

I will re-build with the final version of 1.3.2 when its ready.

Cheers,
Peter

> -----Original Message-----
> From: gdal-dev-bounces at lists.maptools.org 
> [mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of 
> Frank Warmerdam
> Sent: April 24, 2006 1:38 PM
> To: Peter Rushforth
> Cc: gdal-dev at lists.maptools.org
> Subject: Re: [Gdal-dev] building gdal on solaris
> 
> 
> Peter Rushforth wrote:
> > Hi Frank,
> >  
> > I did build gdal 1.3.2b, but I was missing xerces for gml.  So I am 
> > trying that now.  I am assuming it is 32-bit xerces which 
> is required, 
> > and I am using
> > the pre-built xerces.  I get the following error.   Can you see what
> > I'm missing?
> 
> Peter,
> 
> Sorry, I have no idea what is going wrong.
> 
> Unless you need GML reading, I would suggest configuring 
> --without-xerces.
> 
> Best regards,
> 
> > checking for Xerces C++... requested, but compile or link fails!
> > 
> > g++ -I/bilbo05/rushpet/xerces/xerces-c-solaris_28-cc_62/include
> > g++ 
> -I/bilbo05/rushpet/xerces/xerces-c-solaris_28-cc_62/include/xerces
> > g++ c
> > g++ -o conftest conftest.cpp
> > g++ -L/bilbo05/rushpet/xerces/xerces-c-solaris_28-cc_62/lib 
> -ljpeg -lpng
> > g++ -lz -lm -lrt -ldl
> > 
> > Undefined                       first referenced
> > symbol                             in file
> > xercesc_2_7::XMLPlatformUtils::Initialize(char const*, char const*,
> > xercesc_2_7::PanicHandler*, xercesc_2_7::MemoryManager*, 
> > bool)/var/tmp//cceUPWyC.o
> > xercesc_2_7::XMLUni::fgXercescDefaultLocale      
> /var/tmp//cceUPWyC.o
> > ld: fatal: Symbol referencing errors. No output written to conftest
> > collect2: ld returned 1 exit status
> 
> 
> -- 
> ---------------------------------------+----------------------
> ----------------
> I set the clouds in motion - turn up   | Frank Warmerdam, 
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | President OSGF, 
> http://osgeo.org
> 
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
> 




More information about the Gdal-dev mailing list