<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.8.1">
</HEAD>
<BODY>
Hello <BR>
I have been trying to add support for MrSid (but also ecw) to the libgdal1c2(a) package in ubuntu breezy (I have also tried to compile directly from source).<BR>
But I get the following error message:<BR>
<BR>
In file included from /usr/local/MrSid_GeoExpressSDK/include/support/lt_types.h:28,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from mrsiddataset.cpp:117:<BR>
/usr/local/MrSid_GeoExpressSDK/include/support/lt_platform.h:61:8: error: #error PLATFORM ERROR: Unsupported version of GCC<BR>
make[3]: *** [../o/mrsiddataset.o] Error 1<BR>
make[3]: Leaving directory `/home/micke/source/gdal_dpkg_t4/gdal-1.2.6/frmts/mrsid'<BR>
make[2]: *** [mrsid-install-obj] Error 2<BR>
make[2]: Leaving directory `/home/micke/source/gdal_dpkg_t4/gdal-1.2.6/frmts'<BR>
make[1]: *** [frmts-target] Error 2<BR>
make[1]: Leaving directory `/home/micke/source/gdal_dpkg_t4/gdal-1.2.6'<BR>
make: *** [build-stamp] Error 2<BR>
<BR>
I have installed gcc 3.2.3 from Warty and downloaded the corresponding dsdk from Lizardtech's developer-site. <BR>
Before i run dpkg I execute (as root):<BR>
$ export PATH=/usr/bin/gcc-3.2:$PATH CC=/usr/bin/gcc-3.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>
$ PATH=/usr/bin/gcc-3.2:$PATH CC=/usr/bin/gcc-3.2 dpkg-buildpackage -us -uc -rfakeroot<BR>
<BR>
I have also linked gcc to gcc-3.2 in /usr/bin<BR>
What am i doing wrong?<BR>
<BR>
/Regards Mikael
</BODY>
</HTML>