[mapguide-users] Build mapguide-1.0.0 on fc4
Traian Stanev
traian.stanev at autodesk.com
Mon Mar 20 16:41:19 EST 2006
Hi Alexey,
We use the same exact Linux configuration for testing, but have not seen this problem before. Did you run the build_oem.sh script before running make for MapGuide? Did it succeed?
One thing I can suggest would be to go into /Oem/gdal-1.3.0/ and run
./configure --without-python
This should disable building of that wrapper which is not critical for MapGuide. Then go back to the top and run make again. Hope this helps,
Traian
-----Original Message-----
From: Сафонов Алексей [mailto:alex-saf at archit.vrn.ru]
Sent: Monday, March 20, 2006 1:26 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Build mapguide-1.0.0 on fc4
Dear colleagues!
I have got some problems with making mapguide-1.0.0. I use the distributive
Linux Fedore Core 4 with the kernel 2.6.15-1.1833-FC4 and gcc-4.0.2-8.fc4.
Before making mapguide-1.0.0 I have made FDO and have installed it in the
default patch (/usr/local/fdo-3.0.0).
.................
./configure finishes like this:
checking native cpu bit order... lsb2msb
checking for vprintf... yes
checking for _doprnt... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for atoll... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for setlocale... yes
checking for local include/lib path... none
configure: checking whether we should include thread/mutex support......
thread safe support disabled.
checking for deflateInit_ in -lz... yes
using pre-installed libz
checking for pg_config... /usr/bin/pg_config
checking for PostgreSQL... yes
checking for G_gisinit_2 in -lgrass5... no
checking for ffopen in -lcfitsio... no
libcfitsio not found - FITS support disabled
checking for Mopen in -lcsf... no
checking for nc_open in -lnetcdf... no
libnetcdf not found - netCDF support disabled
checking for png_set_IHDR in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
using pre-installed libpng.
checking for TIFFGetTagListCount in -ltiff... yes
checking for _TIFFsetDoubleArray in -ltiff... yes
using pre-installed libtiff.
checking for XTIFFClientOpen in -lgeotiff... yes
using pre-installed libgeotiff.
checking for jpeg_read_scanlines in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
using pre-installed libjpeg.
checking for DGifOpenFileName in -lgif... yes
using pre-installed libgif.
checking for cln_GetLayerCapabilities in -logdi31... no
checking for FMEObjects... no
checking for SDreaddata in -lmfhdf... no
checking for H5Fopen in -lhdf5... yes
checking for jpc_decode in -ljasper... no
checking for jp2_decode in -ljasper... no
checking for pgx_decode in -ljasper... no
checking for NCScbmOpenFileView in -lNCSEcw... no
checking for NCScbmOpenFileView in -lecwj2... no
checking for Kakadu JPEG2000 support... not requested.
configure: MrSID support disabled.
checking for BSB ... enabled
checking for OGR ... enabled
checking for mysql_config... /usr/bin/mysql_config
checking for MySQL... yes
checking for Xerces C++... disabled
checking for SQLConnect in -lodbc... yes
checking for OCIBindByName in -lclntsh... no
checking Checking for DODS... disabled
checking Checking for SQLite... disabled
checking for geos-config... /usr/bin/geos-config
checking how to link PROJ.4 library... link dynamically.
checking GDAL version... 1.3.0
checking for python... python
checking where python Makefiles are... found
checking Python makefile... found
checking where .py files should go... /usr/lib/python2.4/site-packages
checking for python headers... found
checking definitions from Python makefile... done
checking for special pymod link hacks... default
checking for NumPy include files... missing
checking if local/include already standard... no, everything is ok
configure: creating ./config.status
config.status: creating GDALmake.opt
config.status: creating port/cpl_config.h
config.status: port/cpl_config.h is unchanged
GDAL is now configured for i686-pc-linux-gnu
Installation directory: /usr/local/mapguideopensource
C compiler: gcc -O2
C++ compiler: g++ -O2
LIBTOOL support: yes
LIBZ support: external
GRASS support: no
CFITSIO support: no
PCRaster support: no
NETCDF support: no
LIBPNG support: external
LIBTIFF support: external
LIBGEOTIFF support: external
LIBJPEG support: external
LIBGIF support: external
OGDI support: no
HDF4 support: no
HDF5 support: yes
KAKADU support: no
JASPER support: no
ECW support: no
MrSID support: no
POSTGRESQL support: yes
MySQL support: yes
XERCES support: no
ODBC support: yes
OCI support: no
DODS support: no
SQLite support: no
GEOS support: yes
Statically link PROJ.4: no
Python: yes
enable OGR building: yes
.......
make finishes with the error:
........
gdal_wrap.c:11982: warning: (near initialization for
'_gdalMethods[397]')
gdal_wrap.c:11982: warning: excess elements in scalar initializer
gdal_wrap.c:11982: warning: (near initialization for
'_gdalMethods[397]')
gdal_wrap.c:11983: warning: braces around scalar initializer
gdal_wrap.c:11983: warning: (near initialization for
'_gdalMethods[398]')
gdal_wrap.c:11983: warning: initialization makes integer from pointer
without a cast
gdal_wrap.c:11983: warning: excess elements in scalar initializer
gdal_wrap.c:11983: warning: (near initialization for
'_gdalMethods[398]')
gdal_wrap.c:11983: warning: excess elements in scalar initializer
gdal_wrap.c:11983: warning: (near initialization for
'_gdalMethods[398]')
gdal_wrap.c:11984: warning: braces around scalar initializer
gdal_wrap.c:11984: warning: (near initialization for
'_gdalMethods[399]')
gdal_wrap.c:11984: warning: initialization makes integer from pointer
without a cast
gdal_wrap.c:11984: warning: excess elements in scalar initializer
gdal_wrap.c:11984: warning: (near initialization for
'_gdalMethods[399]')
gdal_wrap.c:11984: warning: excess elements in scalar initializer
gdal_wrap.c:11984: warning: (near initialization for
'_gdalMethods[399]')
gdal_wrap.c:11985: warning: braces around scalar initializer
gdal_wrap.c:11985: warning: (near initialization for
'_gdalMethods[400]')
gdal_wrap.c:11985: warning: initialization makes integer from pointer
without a cast
gdal_wrap.c:11985: warning: excess elements in scalar initializer
gdal_wrap.c:11985: warning: (near initialization for
'_gdalMethods[400]')
gdal_wrap.c:11985: warning: excess elements in scalar initializer
gdal_wrap.c:11985: warning: (near initialization for
'_gdalMethods[400]')
gdal_wrap.c:11986: warning: braces around scalar initializer
gdal_wrap.c:11986: warning: (near initialization for
'_gdalMethods[401]')
gdal_wrap.c:11986: warning: initialization makes integer from pointer
without a cast
gdal_wrap.c:11986: warning: excess elements in scalar initializer
gdal_wrap.c:11986: warning: (near initialization for
'_gdalMethods[401]')
gdal_wrap.c:11986: warning: excess elements in scalar initializer
gdal_wrap.c:11986: warning: (near initialization for
'_gdalMethods[401]')
gdal_wrap.c:11987: warning: braces around scalar initializer
gdal_wrap.c:11987: warning: (near initialization for
'_gdalMethods[402]')
gdal_wrap.c:11987: warning: initialization makes integer from pointer
without a cast
gdal_wrap.c:11987: warning: excess elements in scalar initializer
gdal_wrap.c:11987: warning: (near initialization for
'_gdalMethods[402]')
gdal_wrap.c:11987: warning: excess elements in scalar initializer
gdal_wrap.c:11987: warning: (near initialization for
'_gdalMethods[402]')
gdal_wrap.c:11988: warning: braces around scalar initializer
gdal_wrap.c:11988: warning: (near initialization for
'_gdalMethods[403]')
gdal_wrap.c:11988: warning: initialization makes integer from pointer
without a cast
gdal_wrap.c:11988: warning: excess elements in scalar initializer
gdal_wrap.c:11988: warning: (near initialization for
'_gdalMethods[403]')
gdal_wrap.c:11988: warning: excess elements in scalar initializer
gdal_wrap.c:11988: warning: (near initialization for
'_gdalMethods[403]')
gdal_wrap.c:11989: warning: braces around scalar initializer
gdal_wrap.c:11989: warning: (near initialization for
'_gdalMethods[404]')
gdal_wrap.c:11989: warning: initialization makes integer from pointer
without a cast
gdal_wrap.c:11989: warning: excess elements in scalar initializer
gdal_wrap.c:11989: warning: (near initialization for
'_gdalMethods[404]')
gdal_wrap.c:11989: warning: excess elements in scalar initializer
gdal_wrap.c:11989: warning: (near initialization for
'_gdalMethods[404]')
gdal_wrap.c:11990: warning: braces around scalar initializer
gdal_wrap.c:11990: warning: (near initialization for
'_gdalMethods[405]')
gdal_wrap.c:11990: warning: initialization makes integer from pointer
without a cast
gdal_wrap.c:11990: warning: excess elements in scalar initializer
gdal_wrap.c:11990: warning: (near initialization for
'_gdalMethods[405]')
gdal_wrap.c:11990: warning: excess elements in scalar initializer
gdal_wrap.c:11990: warning: (near initialization for
'_gdalMethods[405]')
gdal_wrap.c:11991: warning: braces around scalar initializer
gdal_wrap.c:11991: warning: (near initialization for
'_gdalMethods[406]')
gdal_wrap.c:11991: warning: initialization makes integer from pointer
without a cast
gdal_wrap.c:11991: warning: excess elements in scalar initializer
gdal_wrap.c:11991: warning: (near initialization for
'_gdalMethods[406]')
gdal_wrap.c:11992: warning: data definition has no type or storage class
gdal_wrap.c:11993: error: syntax error before '*' token
gdal_wrap.c:11993: warning: type defaults to 'int' in declaration of
'SWIG_globals'
gdal_wrap.c:11993: warning: data definition has no type or storage class
gdal_wrap.c: In function 'init_gdal':
gdal_wrap.c:11998: error: 'PyObject' undeclared (first use in this
function)
gdal_wrap.c:11998: error: 'm' undeclared (first use in this function)
gdal_wrap.c:11998: error: 'd' undeclared (first use in this function)
gdal_wrap.c:11998: warning: left-hand operand of comma expression has no
effect
gdal_wrap.c:11998: warning: statement with no effect
gdal_wrap.c:12000: warning: implicit declaration of function
'Py_InitModule'
gdal_wrap.c:12001: warning: implicit declaration of function
'PyModule_GetDict'
make[3]: *** [gdal_wrap.o] Ошибка 1
make[3]: Leaving directory
`/Distrib/AutodeskMapServer/mapguide-1.0.0/Oem/gdal-1.3.0/pymod'
make[2]: *** [py-module] Ошибка 2
make[2]: Leaving directory
`/Distrib/AutodeskMapServer/mapguide-1.0.0/Oem/gdal-1.3.0'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory
`/Distrib/AutodeskMapServer/mapguide-1.0.0/Oem'
make: *** [all-recursive] Ошибка 1
.........
It's likely that the module gdal-1.3.0 is not made from the catalogue "Oem"
in the tree source mapguide-1.0.0.
Please, help me in solving this problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
More information about the Mapguide-users
mailing list