[FGS] fgs build GDAL with mysql
warmerdam at pobox.com
Tue Apr 8 15:26:23 EDT 2008
Normand Savard wrote:
> sbarnes wrote:
>> I was just running a fgs build and i had the same error. I decided to
>> try a newer mysql and i was able to build it without error. Although
>> changing the version of mysql required that i edit and
>> pkg_def/_misc/get_mysql_devel.sh. I also had to edit
>> pkg_def/php/fgs_build and pkg_def/gdal/fgs_build and hardcode the path
>> to the new mysql binaries (not sure why but, i don't have time right
>> now to figure out where the fgs_build script is getting the wrong
>> here's my configure;
>> configured by ./configure, generated by GNU Autoconf 2.61,
>> with options \"'--prefix=/home/sbarnes/fgs-dev/built/gdal'
>> '--without-geos' '--without-python' '--without-libtool'
> Thank you. I'll wait a little bit to see if Frank has an idea and if
> not I'll do what you do. I'll have to recompile PHP and others though.
> By the way the mysql variable is set when the
> $FGS_PKGS_DEF_HOME/_misc/get_mysql_devel.sh is execute but the fgs_build
> script of GDAL the script is called after the OPTIONS is set. It is why
> the $mysql_ARCHIVE_DIR variable is not set.
The type of problem you see is *normally* due to some include file #defining
some common name, and screwing up prototypes of other system files. I don't
have any advice how to fix it, other than Shawn's. I do vaguely recall
running into this myself once in the past, but I don't recall any specific
solution. So just upgrade mysql as suggested.
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 OSGeo, http://osgeo.org
More information about the Foss-gis-suite