[mapguide-users] Error in compiling mapguide server on debian 4.0 64 bits

luca1982 zanca82 at libero.it
Thu Dec 11 11:09:25 EST 2008


Hi everybody,
I'm trying to upgrade to mapguide 2.0 on a 64 bits PC running debian 4.0.
I've install correctly FDO 3.3.0.
When running the "./build_oem.sh
--prefix=/usr/local/mapguideopensource-v2.0" script I got an error telling
"missing ./libtool" in the /Oem/gd/jpeg directory. I solved this error by
linking to /usr/bin/libtool, then it compiled all correctly. Then I run the
commands:
aclocal
libtoolize --force
automake --add-missing --copy
autoconf
./configure --prefix=/usr/local/mapguideopensource-v2.0

When finally building mapguide, I get the following error:


make[3]: Entering directory
`/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Core'
/bin/sh ../../../libtool --tag=CXX --mode=link g++ -g -D_DEBUG
-DACE_HAS_SVC_DLL=1 -g -D_DEBUG   -o mgserver -version-info 7:0:0
-R/usr/local/fdo-3.3.0/lib
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/ACE/ACE_wrappers/ace
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/src/dwfcore
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/src/dwf
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/src/dwfemap
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/dbxml-2.3.10/install/lib
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/CoordinateSystem/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/MdfModel/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/MdfParser/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Stylization/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Renderers/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Foundation/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Geometry/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/PlatformBase/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/MapGuideCommon/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Base/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Cache/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Manager/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Thread/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Drawing/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Feature/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Kml/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Mapping/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Rendering/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Resource/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/ServerAdmin/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Site/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Tile/.libs
-R/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/UnitTesting/.libs
-L/usr/local/fdo-3.3.0/lib -L../../../Oem/ACE/ACE_wrappers/ace
-L../../../Oem/DWFTK7.1/develop/global/src/dwfcore
-L../../../Oem/DWFTK7.1/develop/global/src/dwf
-L../../../Oem/DWFTK7.1/develop/global/src/dwfemap
-L../../../Oem/dbxml-2.3.10/install/lib -L../../../Common/CoordinateSystem
-L../../../Common/MdfModel -L../../../Common/MdfParser
-L../../../Common/Stylization -L../../../Common/Renderers
-L../../../Common/Foundation -L../../../Common/Geometry
-L../../../Common/PlatformBase -L../../../Common/MapGuideCommon
-L../Common/Base -L../Common/Cache -L../Common/Manager -L../Common/Thread
-L../Services/Drawing -L../Services/Feature -L../Services/Kml
-L../Services/Mapping -L../Services/Rendering -L../Services/Resource
-L../Services/ServerAdmin -L../Services/Site -L../Services/Tile
ServerCoreBuild.o -lACE -ldb_cxx -ldbxml -ldwfcore -ldwftk -ldwfemap -lexpat
-lFDO-3.3.0 -lExpressionEngine -lxalanMsg -lxalan-c -lxerces-c -lxqilla
-lMgFoundation -lMgGeometry -lMgPlatformBase -lMgMapGuideCommon
-lMgServerAdminService -lMgServerBase -lMgServerCache
-lMgServerDrawingService -lMgServerFeatureService -lMgServerKmlService
-lMgServerManager -lMgServerMappingService -lMgServerRenderingService
-lMgServerResourceService -lMgServerSiteService -lMgServerThread
-lMgServerTileService -lMgMdfModel -lMgMdfParser -lMgStylization
-lMgRenderers ../../../Common/Security/libMgSecurity.a
libtool: link: warning: `-version-info' is ignored for programs
g++ -g -D_DEBUG -DACE_HAS_SVC_DLL=1 -g -D_DEBUG -o .libs/mgserver
ServerCoreBuild.o  -L/usr/local/fdo-3.3.0/lib
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/ACE/ACE_wrappers/ace
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/src/dwfcore
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/src/dwf
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/src/dwfemap
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/dbxml-2.3.10/install/lib
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/CoordinateSystem
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/MdfModel
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/MdfParser
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Stylization
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Renderers
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Foundation
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Geometry
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/PlatformBase
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/MapGuideCommon
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Base
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Cache
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Manager
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Thread
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Drawing
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Feature
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Kml
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Mapping
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Rendering
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Resource
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/ServerAdmin
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Site
-L/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Tile
-lACE -ldb_cxx -ldbxml
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/src/dwfcore/.libs/libdwfcore
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/src/dwf/.libs/libdwftk
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/src/dwfemap/.libs/libdwfemap
/usr/lib/libexpat.so -lFDO-3.3.0
/usr/local/fdo-3.3.0/lib/libExpressionEngine.so -lxalanMsg -lxalan-c
-lxerces-c
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/dbxml-2.3.10/install/lib/libxqilla.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Foundation/.libs/libMgFoundation.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Geometry/.libs/libMgGeometry.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/PlatformBase/.libs/libMgPlatformBase.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/MapGuideCommon/.libs/libMgMapGuideCommon.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/ServerAdmin/.libs/libMgServerAdminService.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Base/.libs/libMgServerBase.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Cache/.libs/libMgServerCache.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Drawing/.libs/libMgServerDrawingService.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Feature/.libs/libMgServerFeatureService.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Kml/.libs/libMgServerKmlService.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Manager/.libs/libMgServerManager.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Mapping/.libs/libMgServerMappingService.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Rendering/.libs/libMgServerRenderingService.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Resource/.libs/libMgServerResourceService.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Site/.libs/libMgServerSiteService.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Thread/.libs/libMgServerThread.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Tile/.libs/libMgServerTileService.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/MdfModel/.libs/libMgMdfModel.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/MdfParser/.libs/libMgMdfParser.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Stylization/.libs/libMgStylization.so
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Renderers/.libs/libMgRenderers.so
../../../Common/Security/libMgSecurity.a -Wl,--rpath
-Wl,/usr/local/mapguideopensource/lib -Wl,--rpath
-Wl,/usr/local/fdo-3.3.0/lib -Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/dbxml-2.3.10/install/lib
-Wl,--rpath -Wl,/usr/local/mapguideopensource-v2.0/lib -Wl,--rpath
-Wl,/usr/local/mapguideopensource-v2.0/server/lib -Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/ACE/ACE_wrappers/ace
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/src/dwfcore
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/src/dwf
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/src/dwfemap
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/CoordinateSystem/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/MdfModel/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/MdfParser/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Stylization/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Renderers/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Foundation/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/Geometry/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/PlatformBase/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Common/MapGuideCommon/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Base/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Cache/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Manager/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Common/Thread/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Drawing/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Feature/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Kml/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Mapping/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Rendering/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Resource/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/ServerAdmin/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Site/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Tile/.libs
-Wl,--rpath
-Wl,/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/UnitTesting/.libs
/usr/bin/ld: warning: libxerces-c.so.27, needed by
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Oem/dbxml-2.3.10/install/lib/libxqilla.so,
may conflict with libxerces-c.so.25
/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Services/Feature/.libs/libMgServerFeatureService.so:
undefined reference to
`IGWSFeatureQueryDefinition::Create(FdoIdentifierCollection*,
GWSQualifiedName const&, FdoFilter*)'
collect2: ld returned 1 exit status
make[3]: *** [mgserver] Error 1
make[3]: Leaving directory
`/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src/Core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/root/mapguide_v2/fin-mapguide-2.0.2/mapguide-2.0.2/Server'
make: *** [all-recursive] Error 1

Anyone can help?

Some information on my system, if you need more information please let me
know, I'm not an expert of this kind of problems. Thanks!

localhost:~# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --with-tune=i686
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
localhost:~#    

localhost:~# libtool --version
ltmain.sh (GNU libtool) 1.5.22 Debian 1.5.22-4 (1.1220.2.365 2005/12/18
22:14:06)



localhost:~# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 6
model name      :                   Intel(R) Xeon(TM) CPU 3.33GHz
stepping        : 8
cpu MHz         : 3333.362
cache size      : 16384 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush
dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor
ds_cpl vmx est tm2 cid cx16 xtpr lahf_lm
bogomips        : 8340.84
clflush size    : 64
cache_alignment : 128
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 6
model name      :                   Intel(R) Xeon(TM) CPU 3.33GHz
stepping        : 8
cpu MHz         : 3333.362
cache size      : 16384 KB
physical id     : 1
siblings        : 1
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush
dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor
ds_cpl vmx est tm2 cid cx16 xtpr lahf_lm
bogomips        : 8340.84
clflush size    : 64
cache_alignment : 128
address sizes   : 40 bits physical, 48 bits virtual
power management:

localhost:~#          
-- 
View this message in context: http://www.nabble.com/Error-in-compiling-mapguide-server-on-debian-4.0-64-bits-tp20958517p20958517.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list