[mapserver-dev] mod_geocache build problems

thomas bonfort thomas.bonfort at gmail.com
Wed Sep 7 05:51:36 EDT 2011


Hi Steve,

a couple of remarks:

- I've copied the mod-geocache repository into the mapcache folder in
mapserver's trunk. all new development will go there from now on.
- --with-cairo isn't used anymore, replaced by --with-pixman (which
was a cairo dependency)
- you are using a very old version of pixman, try updating it , or
configure with --without-pixman (not recommended performance wise).
I'll update the autoconf script to require a more recent version.

--
thomas

On Tue, Sep 6, 2011 at 22:26, Stephen Woodbridge
<woodbri at swoodbridge.com> wrote:
> Hi Thomas,
>
> I just updated svn and tried to build and ran into a couple of problems:
>
> autoconf
> ./configure --with-cairo=no
> make
>
> And I got an error about sqlite. Sqlite is install on the system, but was
> not requested. Retried with:
>
> ./configure --with-cairo=no --with-sqlite=no
> make
>
> And I got errors about not having pixman so I installed that
>
> woodbri at mappy:~/work/mod-geocache$ apt-show-versions | grep pixman
> libpixman-1-0/lenny uptodate 0.10.0-2
> libpixman-1-dev/lenny uptodate 0.10.0-2
> woodbri at mappy:~/work/mod-geocache$ ./config.status -V
> config.status
> configured by ./configure, generated by GNU Autoconf 2.61,
>  with options "'--with-cairo=no' '--with-sqlite=no'"
>
>
> ./configure --with-cairo=no --with-sqlite=no
> make
>
> ...
>
> gcc -o geocache_seed -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -O2 -Wall
> -fPIC -DHAVE_SYMLINK -DNDEBUG -I../include -DTHREADED_MPM=0
> -I/usr/local/include/gdal -I/usr/include -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include/postgresql -I/usr/include/mysql
> -DUSE_PCRE -DUSE_OGR -DUSE_GEOS -DUSE_PIXMAN -I/usr/include/pixman-1
> geocache_seed.c ./.libs/cache_memcache.o ./.libs/imageio_jpeg.o
> ./.libs/tileset.o ./.libs/service_kml.o ./.libs/configuration_json.o
> ./.libs/service_tms.o ./.libs/service_wms.o ./.libs/service_demo.o
> ./.libs/source_wms.o ./.libs/imageio_png.o ./.libs/source.o
> ./.libs/imageio_mixed.o ./.libs/service_wmts.o ./.libs/core.o
> ./.libs/source_gdal.o ./.libs/ezxml.o ./.libs/grid.o ./.libs/cJSON.o
> ./.libs/axisorder.o ./.libs/http.o ./.libs/imageio.o ./.libs/lock.o
> ./.libs/cache_disk.o ./.libs/dimension.o ./.libs/services.o
> ./.libs/service_ve.o ./.libs/buffer.o ./.libs/util.o
> ./.libs/configuration_xml.o ./.libs/image.o ./.libs/configuration.o
> ./.libs/image_error.o ./.libs/cache_sqlite.o  /usr/lib/libaprutil-1.so
> -lldap -llber /usr/lib/libdb-4.6.so /usr/lib/libmysqlclient_r.so -lm
> /usr/lib/libapr-1.so -luuid -lpcre -lpixman-1 -L/usr/local/lib
> /usr/local/lib/libgdal.so -L/usr/lib /usr/lib/libsqlite3.so
> /usr/lib/libodbc.so /usr/lib/libodbcinst.so /usr/lib/libltdl.so
> /usr/lib/libexpat.so -lxerces-c /usr/local/lib/libNCSEcw.so
> /usr/local/lib/libNCSCnet.so /usr/local/lib/libNCSUtil.so
> /usr/lib/libjasper.so -lmfhdf -ldf -logdi /usr/lib/libgif.so
> /usr/lib/libjpeg.so -lpng -lnetcdf -lpq -lrt -ldl /usr/lib/libcurl.so
> -L/u/software/Geo_DSDK-7.0.0.2167/3rd-party/lib/Release
> -L/u/software/Geo_DSDK-7.0.0.2167/lib/Release -lltidsdk -L/usr/lib/mysql
> /usr/lib/libmysqlclient.so -lpthread -lcrypt -lnsl -lz -lgeos_c
> ./.libs/image.o: In function `geocache_image_copy_resampled_bilinear':
> image.c:(.text+0x188): undefined reference to
> `pixman_transform_init_translate'
> image.c:(.text+0x1c4): undefined reference to `pixman_transform_scale'
> ./.libs/image.o: In function `geocache_image_copy_resampled_nearest':
> image.c:(.text+0x2e8): undefined reference to
> `pixman_transform_init_translate'
> image.c:(.text+0x324): undefined reference to `pixman_transform_scale'
> ./.libs/image.o: In function `geocache_image_merge':
> image.c:(.text+0x4a7): undefined reference to
> `pixman_transform_init_translate'
> collect2: ld returned 1 exit status
> make[1]: *** [geocache_seed] Error 1
> make[1]: Leaving directory `/u/work/mod-geocache/src'
> make: *** [all] Error 2
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>


More information about the mapserver-dev mailing list