[Mapserver-users] Re: AW: MapServer 4.2.1 Installation on FreeBSD 4.9
Benjamin Thelen
thelen at ccgis.de
Wed Jul 21 08:08:22 PDT 2004
This is a multi-part message in MIME format.
--------------080903040107010107060201
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Hello,
I'm just preparing a clon of our production environment, but as I am
on holidays soon, I suppose I won't be able to test it before
holidays. Maybe my colleagues find some time to test it and tell you
about their results.
mapserver 4.2.1 should work on FreeBSD 4.9 with gdal-1.2.0. I
successfully used 4.2.1 on SuSE (what a pitty ;-)) and Windows
(another pitty :-)), with gdal-1.1.9 and 1.2.0.
What are your results/problems now (error messages)?! Maybe we get
4.2.1 running on our machines, so you may not need to downgrade gdal.
You can downgrade your portstree to a special date, see attachment.
There is also a "portdowngrade", but I never used it.
Regards,
Benjamin Thelen
---------------------------------
CCGIS GbR - Bonn
http://www.ccgis.de
Siemensstraße 8
53121 Bonn
Germany
Tel: ++49 (0) 228 90826 15
Fax: ++49 (0) 228 90826 11
Weßling, Achim wrote:
> Hallo,
>
> I did the portupgrade and installed gdal 1.2.0! And I also did it on my
> production machine! Shit happens ;-)! Is there any possibility to get 4.2.x
> running with gdal 1.2.0? How can I get back to gdal 1.1.8 on my machine to
> get my old MS-Version running?
>
> Thanks!
>
> Achim
>
> -----Ursprüngliche Nachricht-----
> Von: Benjamin Thelen [mailto:thelen at ccgis.de]
> Gesendet am: Mittwoch, 21. Juli 2004 14:32
> An: "Weßling, Achim"
> Cc: 'mapserver-users at lists.gis.umn.edu'
> Betreff: Re: MapServer 4.2.1 Installation on FreeBSD 4.9
>
> Hello,
>
> We face the same problem at the moment. UMN-MapServer 4.2.x requires
> at least gdal-1.1.9. There is a new gdal-1.2.0 port which has been
> commited just a few weeks ago, so you have to cvsup your portstree and
> update gdal (use "portupgrade"). But I hacked the gdal-1.1.8 Makefile
> a little to force gdal-1.1.8 to refere to the external pnglib (1.2.5),
> because apache had problems (internal server error) with the old one,
> delivered together with gdal-1.1.8 (1.0.6!). That hack does not work
> for gdal-1.2.0 (compiling stops with an error)! So I have to use the
> internal lib and hope that apache comes a long with it.
>
> But be careful updating your production environment, because after
> updating the portstree, afterwoods the system and compiling mapserver
> 4.0.2 again, ms 4.0.2 cannot read tifs anymore (4.2 does). I recommend
> testing all this on a non production server!
>
>
>
> Regards,
>
> Benjamin Thelen
>
> ---------------------------------
> CCGIS GbR - Bonn
> http://www.ccgis.de
>
> Siemensstraße 8
> 53121 Bonn
> Germany
>
> Tel: ++49 (0) 228 90826 15
> Fax: ++49 (0) 228 90826 11
>
>
>
> Weßling, Achim wrote:
>
>>Hallo,
>>
>>I just tried to update my MS-Installtion from 4.0.2 to 4.2.1 on a FreeBSD
>>4.9 Box. With the last Versions of MS I used the following script to
>>configure MS:
>>
>>#!/bin/sh
>>./configure --with-xpm=/usr/X11R6/lib --with-gd=/usr/local --with-gdal
>>--with-ogr --with-proj=/usr/local --with-jpeg=/usr/local
>>--with-png=/usr/local --without-tiff --with-libiconv=/usr/local
>
> --with-zlib
>
>>--with-curl --with-freetype
>>--with-php=/usr/ports/www/php4-cgi/work/php-4.3.3 --with-wmsclient
>>--with-wfs --with-wfsclient --with-postgis --enable-runpath
>>
>>The output of the script above and gmake follows:
>>
>>./configure-umn.sh
>>checking for gcc... gcc
>>checking for C compiler default output... a.out
>>checking whether the C compiler works... yes
>>checking whether we are cross compiling... no
>>checking for suffix of executables...
>>checking for suffix of object files... o
>>checking whether we are using the GNU C compiler... yes
>>checking whether gcc accepts -g... yes
>>checking for gcc option to accept ANSI C... none needed
>>checking for g++... g++
>>checking whether we are using the GNU C++ compiler... yes
>>checking whether g++ accepts -g... yes
>>checking for ranlib... ranlib
>>checking for flex... flex
>>checking for yywrap in -lfl... yes
>>checking lex output file root... lex.yy
>>checking whether yytext is a pointer... yes
>>checking for bison... bison -y
>>checking if compiler supports -R... yes
>>checking for exp in -lm... yes
>>checking for __gxx_personality_v0 in -lstdc++... no
>>checking how to run the C preprocessor... gcc -E
>>checking for egrep... grep -E
>>checking for ANSI C header files... yes
>>checking for strcasecmp... yes
>>checking for strncasecmp... yes
>>checking for strdup... yes
>>configure: checking where FreeType 2.x is installed......
>>checking for freetype-config... /usr/local/bin/freetype-config
>> using libfreetype from -L/usr/local/lib -lfreetype -lz
>>checking for FT_Init_FreeType in -lfreetype... no
>> using libfreetype -L/usr/local/lib -lfreetype -lz from system
>
> libs.
>
>>configure: checking where Zlib is installed......
>>checking for zlibVersion in -lz... yes
>> using libz from system libs.
>>configure: checking where PNG is installed......
>> using libpng from -L/usr/local/lib -lpng
>>configure: checking whether we should include JPEG support......
>> using libjpeg from system -L/usr/local/lib -ljpeg
>>configure: checking where libXpm is installed......
>> using libXpm from -L/usr/X11R6/lib -lXpm -lX11
>>configure: checking where libiconv is installed......
>> using libiconv from -L/usr/local/lib -liconv
>>configure: checking for GD 2.0.12 or higher......
>>checking for gdImageSetAntiAliased in -lgd... yes
>> using libgd 2.0.12 (or higher) from -L/usr/local/lib -lgd
>>-L/usr/local/lib -ljpeg -L/usr/local/lib -lfreetype -lz -L/usr/local/lib
>>-lpng -lz -L/usr/X11R6/lib -lXpm -lX11
>>checking for gdImageGif in -lc... yes
>>checking for gdImagePng in -lc... yes
>>checking for gdImageJpeg in -lc... yes
>>checking for gdImageWBMP in -lc... yes
>>checking for gdImageStringFT in -lc... yes
>>checking for gdImageGifPtr in -lc... yes
>> using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
>>-DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR) from /usr/local.
>>configure: checking whether we should include PDF support......
>>checking for PDF_setlinewidth in -lpdf... no
>>checking for PDF_setrgbcolor in -lpdf... no
>>checking for PDF_moveto in -lpdf... no
>>checking for PDF_curveto in -lpdf... no
>>checking for PDF_show_xy in -lpdf... no
>> libpdf not found... PDF support not included.
>>configure: checking whether we should include EPPL7 support......
>> including EPPL7 support.
>>configure: checking whether we should include PROJ.4 support......
>>checking for pj_transform in -lproj... yes
>>checking for pj_latlong_from_proj in -lproj... yes
>> using PROJ.4 from /usr/local.
>>configure: checking whether we should include thread safe support......
>> thread safe support disabled.
>>configure: checking whether we should include ESRI SDE support......
>> ESRI SDE support not requested.
>>configure: checking whether we should compile in MPATROL support......
>> MPATROL support not requested.
>>configure: checking whether we should include OGR support......
>>checking for gdal-config... /usr/local/bin/gdal-config
>> OGR enabled (-DUSE_OGR).
>>checking if GDAL support requested... yes
>>checking checking ms JPEG output... no we, have GDAL available.
>>configure: checking whether we should include TIFF support......
>> disabled by --without-tiff
>>checking if PostGIS support requested... yes
>>checking for pg_config... /usr/local/bin/pg_config
>>yes, user supplied pg_config
>>checking if MyGIS support requested... no
>>checking if OracleSpatial support requested... no
>>checking if MING/Flash support requested... no
>>configure: checking whether we should include WMS Server support......
>> OGC WMS compatibility enabled (-DUSE_WMS_SVR).
>>configure: checking whether we should include WFS Server support......
>> OGC WFS Server support enabled (-DUSE_WFS_SVR).
>>configure: checking whether we should include WMS Client Connections
>>support......
>>configure: checking whether we should include WFS Client Connections
>>support......
>>configure: checking for curl-config...
>>checking for curl-config... /usr/local/bin/curl-config
>> found libcurl version 7.10.7
>> OGC WMS Client Connections enabled (-DUSE_WMS_LYR).
>> OGC WFS Client Connections enabled (-DUSE_WFS_LYR).
>>configure: checking HTTPD server (Apache) version...
>>checking for httpd... /usr/local/sbin/httpd
>> /usr/local/sbin/httpd version is Apache/1.3.28 (1003028).
>>Compiling with -DIGNORE_MISSING_DATA.
>>configure: checking whether we should enable debug features......
>>configure: checking for PHP/MapScript module options......
>>checking for g++ -shared ... yes
>> using 'g++ -shared' for dynamic linking
>>checking for location of config.h or php_config.h...
>>/usr/ports/www/php4-cgi/work/php-4.3.3/main/php_config.h
>>checking whether we have PHP3 or PHP4... -DPHP4
>>checking whether we should use PHP's regex... no
>> PHP/MapScript module configured.
>>configure: creating ./config.status
>>config.status: creating Makefile
>>config.status: creating mapscript/php3/Makefile
>>lni90235# gmake
>>gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ
>
> -DUSE_PROJ_API_H
>
>>-DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_GD_GIF
>>-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
>
> -DGD_HAS_GDIMAGEGIFPTR
>
>>-DUSE_OGR -DUSE_GDAL -DUSE_POSTGIS -I/usr/local/include
>>-I/usr/local/include -I/usr/local/include -I/usr/local/include
>>-I/usr/local/include -I/usr/local/include shp2img.o -L. -lmap
>>-L/usr/local/lib -lgd -L/usr/local/lib -ljpeg -L/usr/local/lib -lfreetype
>>-lz -L/usr/local/lib -lpng -lz -L/usr/X11R6/lib -lXpm -lX11
>>-L/usr/local/lib -ljpeg -L/usr/local/lib -lfreetype -lz -L/usr/local/lib
>>-lpng -lz -L/usr/X11R6/lib -lXpm -lX11 -L/usr/local/lib -lproj
>>-L/usr/local/lib -ljpeg -L/usr/local/lib -lgdal -L/usr/local/lib -lpq
>>-L/usr/local/lib -lcurl -rpath=/usr/lib:/usr/local/lib -lz -lssl -lcrypto
>>-lz -lm -o shp2img
>>./libmap.a(mapogr.o): In function `ogrGeomPoints(OGRGeometry *, shapeObj
>>*)':
>>mapogr.o(.text+0x174): undefined reference to
>>`OGRPolygon::getNumInteriorRings(void)'
>>mapogr.o(.text+0x1e8): undefined reference to
>>`OGRGeometryCollection::getNumGeometries(void)'
>>mapogr.o(.text+0x3a4): undefined reference to
>>`OGRPolygon::getNumInteriorRings(void)'
>>./libmap.a(mapogr.o): In function `ogrGeomLine(OGRGeometry *, shapeObj *,
>>int)':mapogr.o(.text+0x4e7): undefined reference to
>>`OGRPolygon::getNumInteriorRings(void)'
>>mapogr.o(.text+0x53f): undefined reference to
>>`OGRGeometryCollection::getNumGeometries(void)'
>>gmake: *** [shp2img] Error 1
>>lni90235#
>>
>>
>>Mit freundlichem Gruß
>>
>>Achim Weßling
>>=====================
>>INFOKOM Gütersloh AöR
>>Fachbereich Technische Anwendungen
>>Herzebrocker Str. 140
>>33334 Gütersloh
>>Tel.: 05241/85-2926
>>Achim.Wessling at gt-net.de
>>http://www.infokom-gt.de
>>
>>
>
>
--------------080903040107010107060201
Content-Type: text/plain;
name="ports-supfile-2004.07.01.01.01.01"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="ports-supfile-2004.07.01.01.01.01"
*default host=cvsup2.de.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=. date=2004.07.01.01.01.01
*default delete use-rel-suffix
*default compress
ports-all
doc-all
#src-all
--------------080903040107010107060201--
More information about the MapServer-users
mailing list