5.0+AGG Compile under Slackware

Frank Warmerdam warmerdam at POBOX.COM
Tue Sep 18 09:08:20 EDT 2007


Daniel Morissette wrote:
> Gregor Mosheh wrote:
>> Never mind; my bad. I had neglected, being on 64-bit, to set the 
>> standad flags I set for all builds:
>>
>> export CPPFLAGS="-D_FILE_OFFSET_BITS=64"
>> export CXXFLAGS="-fPIC -D_FILE_OFFSET_BITS=64"
>> export CFLAGS="-fPIC -D_FILE_OFFSET_BITS=64"
>>
> 
> First time I hear of this. Does this need to be added to AGG or to 
> MapServer's Makefiles? Wondering if anything needs to be fixed in 
> MapServer's build or if that's an AGG problem that we may want to 
> document in our build docs.

Daniel,

If you use the static makefiles that come with AGG, then you need to add this.
I think it is listed in the trac ticket on building AGG.

It is not an issue for MapServer which automatically discovers if it needs to
add -fPIC in configure.

Best regards,
-- 
---------------------------------------+--------------------------------------
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 mapserver-users mailing list