[Mapserver-users] Too hard, too easy or too boring?

Keith Campbell scoota at supanet.com
Tue Feb 3 18:14:30 EST 2004


OK, just trying to get your attention. I posted this yesterday under a 
different title and got no responses.

Here's the problem. I'm trying to compila an install a WFS Server 
enabled Mapserver on a Solaris (this is proving to be a very frustrating 
experience, no doubt partly due to my lack of knowledge of UNIX). I 
think I've got all the libraries installed that I need, even though they 
are in non-standard locations (it's not my server). The configure script 
runs to completion and only seems to complain once:-

checking for httpd... /export/home/local/apache2/bin/httpd
awk: syntax error near line 1
awk: bailing out near line 1
awk: syntax error near line 1
awk: bailing out near line 1
        /export/home/local/apache2/bin/httpd version is Apache/2.0.45 ().

Not sure what this means or what the implications are.

Anyway, this is what I fed into the configure:-

bash$ ./configure --with-jpeg=/export/home/local/util/jpeg 
--with-freetype=/exp
ort/home/local/util/freetype --with-zlib=/export/home/local/util/zlib 
--with-pn
g=/export/home/local/util/libpng 
--with-libiconv=/export/home/local/util/libico
nv --with-gd=/export/home/local/util/gd-2.0.15 
--with-proj=/export/home/local/u
til/proj --with-ogr=/export/home/local/util/gdal/apps/gdal-config  
--with-gdal=
/export/home/local/util/gdal/apps/gdal-config --with-wfs --with-postgis

The make process ran for some time before spitting this out:-

ld: fatal: relocation error: R_SPARC_32: file ./libmap.a(mapogr.o): 
symbol <unkn
own>: offset 0xfd6609c9 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file ./libmap.a(mapogr.o): 
symbol <unkn
own>: offset 0xfd660a09 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file ./libmap.a(mapogr.o): 
symbol <unkn
own>: offset 0xfd660a69 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file ./libmap.a(mapogr.o): 
symbol <unkn
own>: offset 0xfd660c29 is non-aligned
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1

I can't find anything in the archives that points to the cause of this. 
Can anybody help?

Thanks,

Keith





More information about the mapserver-users mailing list