[fdo-users] build_linux errors

Ray Holtz ray at rayholtz.com
Tue Dec 11 20:18:45 EST 2007


When I built it on Ubuntu 7.04, I ran into a similar issue I believe.  I 
needed gcc-c++(g++) which was installed when I installed the package 
'build-essential'.  Run  'apt-get install build-essential' and see if 
you can run build_linux again.  The first line of your error (g++) made 
me think it might be similar.
I hope this helps,
Ray

Marc Pfister wrote:
> I’ve been following the directions for installing MapguideOS on Ubuntu here:
> 
>  
> 
> http://wiki.osgeo.org/index.php/Building_Mapguide_on_Ubuntu_6.06_Server
> 
>  
> 
> and have been able to successfully build with the Third Party script. 
> However, when I try to run the Build_Linux script, I get errors in every 
> single package. They all look something like this:
> 
>  
> 
> ·  g++ -DPACKAGE_NAME=\"FDORDBMS\" -DPACKAGE_TARNAME=\"fdordbms\" 
> -DPACKAGE_VERSION=\"3.2.2\" "-DPACKAGE_STRING=\"FDORDBMS 3.2.2\"" 
> -DPACKAGE_BUGREPORT=\"http://fdo.osgeo.org\" -DPACKAGE=\"fdordbms\" 
> -DVERSION=\"3.2.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. 
> -I/home/mpfister/fdosvn/Fdo/Unmanaged/Inc 
> -I/home/mpfister/fdosvn/Fdo/Unmanaged -I../../../../GenericRdbms/Inc 
> -I/home/mpfister/fdosvn/Utilities/Common/Inc 
> -I/home/mpfister/fdosvn/Utilities/SchemaMgr/Inc/Sm/Lp 
> -I/home/mpfister/fdosvn/Utilities/SchemaMgr/Inc -I../../../Inc 
> -I../../../Inc/Rdbi -I../../ -I../../../ -I../../../Inc -I.././Other 
> -I.././Capability -I.././Connection -I.././Custom -I.././FeatureCommands 
> -I.././Filter -I.././Lock -I.././Lt -I.././Schema -I.././SpatialContext 
> -I/home/mpfister/fdosvn/Fdo/Unmanaged 
> -I/home/mpfister/fdosvn/Fdo/Unmanaged/Inc 
> -I/home/mpfister/fdosvn/Fdo/Unmanaged/src/geometry 
> -I/home/mpfister/fdosvn/Utilities/SchemaMgr/Inc 
> -I/home/mpfister/fdosvn/Utilities/Common/Inc -I../../Gdbi 
> -I../../LongTransactionManager -I../../LockManager -O2 -MMD -MT 
> -DFULLPROTO -D__USE_GNU -DLINUX -MT FdoRdbmsCommandCapabilities.lo -MD 
> -MP -MF .deps/FdoRdbmsCommandCapabilities.Tpo -c 
> FdoRdbmsCommandCapabilities.cpp  -fPIC -DPIC -o 
> .libs/FdoRdbmsCommandCapabilities.o
> 
> ·  In file included from 
> /home/mpfister/fdosvn/Fdo/Unmanaged/Inc/FdoCommon.h:29,
> 
> ·                   from 
> /home/mpfister/fdosvn/Fdo/Unmanaged/Inc/FdoStd.h:25,
> 
> ·                   from 
> /home/mpfister/fdosvn/Utilities/Common/Inc/stdafx.h:72,
> 
> ·                   from FdoRdbmsCommandCapabilities.cpp:20:
> 
> ·  /home/mpfister/fdosvn/Fdo/Unmanaged/Inc/Common/Exception.h:26:24: 
> warning: FdoMessage.h: No such file or directory
> 
> ·  /home/mpfister/fdosvn/Fdo/Unmanaged/Inc/Common/Ptr.h: In constructor 
> 'FdoPtr<T>::FdoPtr(FdoInt32)':
> 
> ·  /home/mpfister/fdosvn/Fdo/Unmanaged/Inc/Common/Ptr.h:93: error: 
> 'FDO_1_INVALID_INPUT_ON_CLASS_CREATION' was not declared in this scope
> 
> ·  /home/mpfister/fdosvn/Fdo/Unmanaged/Inc/Common/Ptr.h: In member 
> function 'T& FdoPtr<T>::operator*() const':
> 
> ·  /home/mpfister/fdosvn/Fdo/Unmanaged/Inc/Common/Ptr.h:170: error: 
> 'FDO_1_INVALID_INPUT_ON_CLASS_FUNCTION' was not declared in this scope
> 
> ·  /home/mpfister/fdosvn/Fdo/Unmanaged/Inc/Common/Ptr.h: In member 
> function '_NoAddRefReleaseOnFdoPtr<T>* FdoPtr<T>::operator->() const':
> 
>  
> 
> And so on. You can see the rest of the errors for this package here:
> 
>  
> 
> http://pastebin.ca/812747
> 
>  
> 
> Any ideas on what’s going so wrong?
> 
>  
> 
> Platform is Ubuntu 6.06 on an X86-64 system.
> 
>  
> 
> Thanks,
> 
>  
> 
> Marc
> 
>  
> 
>  
> 
> n
> Marc Pfister
> Geospatial Data Manager
> ENPLAN
> mpfister at enplan.com
> 530/221-0440 x108
> 530/221-6963 Fax
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> fdo-users mailing list
> fdo-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-users



More information about the fdo-users mailing list