[mapguide-users] Problems with new fdo ogr build on Ubuntu 6.06
Jack Lee
jack.lee at autodesk.com
Fri Oct 26 13:48:56 EDT 2007
Hi,
For the file
Providers/PostGIS/Src/Provider/Makefile.am
try adding the line
-I../../../../Thirdparty/boost_1_32_0 \
after the line
-I../../../../Utilities/Common/Inc \
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jo Cook
Sent: Friday, October 26, 2007 12:13 PM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] Problems with new fdo ogr build on Ubuntu 6.06
Hi,
I checked out an updated version, and sure enough the file then appeared.
However, the build then failed at a slightly different point:
===================
make[2]: Leaving directory
`/home/joc/fdosvn/Providers/PostGIS/Src/Overrides'
Making all in Provider
make[2]: Entering directory
`/home/joc/fdosvn/Providers/PostGIS/Src/Provider'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++
-DPACKAGE_NAME=\"FDOPOSTGIS\" -DPACKAGE_TARNAME=\"fdopostgis\"
-DPACKAGE_VERSION=\"3.3.0\" -DPACKAGE_STRING=\"FDOPOSTGIS\ 3.3.0\"
-DPACKAGE_BUGREPORT=\"http://fdo.osgeo.org\" -DPACKAGE=\"fdopostgis\"
-DVERSION=\"3.3.0\" -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../ -I../../Inc -I../Message/Inc/
-I../../../../Fdo/Unmanaged/Inc -I../../../../Utilities/Common/Inc
-I../../../../Thirdparty/pgsql/include -O2 -MMD -MT -D__USE_GNU -DLINUX
-DLINUX_IA32 -MT ApplySchemaCommand.lo -MD -MP -MF
".deps/ApplySchemaCommand.Tpo" -c -o ApplySchemaCommand.lo
ApplySchemaCommand.cpp; \
then mv -f ".deps/ApplySchemaCommand.Tpo" ".deps/ApplySchemaCommand.Plo";
else rm -f ".deps/ApplySchemaCommand.Tpo"; exit 1; fi
mkdir .libs
g++ -DPACKAGE_NAME=\"FDOPOSTGIS\" -DPACKAGE_TARNAME=\"fdopostgis\"
-DPACKAGE_VERSION=\"3.3.0\" "-DPACKAGE_STRING=\"FDOPOSTGIS 3.3.0\""
-DPACKAGE_BUGREPORT=\"http://fdo.osgeo.org\" -DPACKAGE=\"fdopostgis\"
-DVERSION=\"3.3.0\" -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../ -I../../Inc -I../Message/Inc/
-I../../../../Fdo/Unmanaged/Inc -I../../../../Utilities/Common/Inc
-I../../../../Thirdparty/pgsql/include -O2 -MMD -MT -D__USE_GNU -DLINUX
-DLINUX_IA32 -MT ApplySchemaCommand.lo -MD -MP -MF
.deps/ApplySchemaCommand.Tpo -c ApplySchemaCommand.cpp -fPIC -DPIC -o
.libs/ApplySchemaCommand.o
In file included from Connection.h:20,
from Command.h:20,
from ApplySchemaCommand.h:20,
from ApplySchemaCommand.cpp:20:
SchemaDescription.h:24:33: warning: boost/noncopyable.hpp: No such file or
directory
In file included from Connection.h:22,
from Command.h:20,
from ApplySchemaCommand.h:20,
from ApplySchemaCommand.cpp:20:
PgUtility.h:26:33: warning: boost/tuple/tuple.hpp: No such file or directory
In file included from ApplySchemaCommand.h:20,
from ApplySchemaCommand.cpp:20:
Command.h:29:28: warning: boost/format.hpp: No such file or directory
In file included from ApplySchemaCommand.cpp:22:
PgGeometry.h:22:29: warning: boost/cstdint.hpp: No such file or directory
PgGeometry.h:23:33: warning: boost/type_traits.hpp: No such file or
directory
PgGeometry.h:24:35: warning: boost/static_assert.hpp: No such file or
directory
SchemaDescription.h:40: error: 'boost' has not been declared
SchemaDescription.h:41: error: expected class-name before '{' token
PgUtility.h:39: error: 'boost' has not been declared
PgUtility.h:40: error: expected initializer before '<' token
Connection.h:269: error: 'pgconn_params_t' in namespace
'fdo::postgis::details' does not name a type
Command.h: In member function 'void
fdo::postgis::Command<T>::PgGenerateExecParams(fdo::postgis::details::pgexec_params_t&)':
Command.h:301: error: 'boost' has not been declared
Command.h:301: error: there are no arguments to 'format' that depend on a
template parameter, so a declaration of 'format' must be available
Command.h:301: error: (if you use '-fpermissive', G++ will accept your code,
but allowing the use of an undeclared name is deprecated)
Command.h:307: error: 'boost' has not been declared
Command.h:307: error: there are no arguments to 'format' that depend on a
template parameter, so a declaration of 'format' must be available
Command.h:312: error: 'boost' has not been declared
Command.h:312: error: there are no arguments to 'format' that depend on a
template parameter, so a declaration of 'format' must be available
PgGeometry.h: At global scope:
PgGeometry.h:29: error: 'boost' has not been declared
PgGeometry.h:54: error: 'boost' has not been declared
PgGeometry.h: In static member function 'static Target
fdo::postgis::ewkb::read_data<Target>::from(const uint8_t*)':
PgGeometry.h:56: error: 'boost' has not been declared
PgGeometry.h:56: error: 'is_integral' was not declared in this scope
PgGeometry.h:56: error: expected primary-expression before '>' token
PgGeometry.h:56: error: '::value' has not been declared
PgGeometry.h:56: error: there are no arguments to 'BOOST_STATIC_ASSERT' that
depend on a template parameter, so a declaration of 'BOOST_STATIC_ASSERT'
must be available
PgGeometry.h: At global scope:
PgGeometry.h:74: error: 'boost' has not been declared
PgGeometry.h: In static member function 'static double
fdo::postgis::ewkb::read_data<double>::from(const uint8_t*)':
PgGeometry.h:76: error: 'boost' has not been declared
PgGeometry.h:76: error: 'BOOST_STATIC_ASSERT' was not declared in this scope
PgGeometry.h:78: error: 'boost' has not been declared
PgGeometry.h:78: error: 'boost' has not been declared
PgGeometry.h: At global scope:
PgGeometry.h:91: error: 'boost' has not been declared
PgGeometry.h:100: error: 'boost' has not been declared
PgGeometry.h:123: error: 'boost' has not been declared
PgGeometry.h:123: error: 'boost' has not been declared
PgGeometry.h:158: error: 'boost' has not been declared
PgGeometry.h:159: error: 'boost' has not been declared
PgGeometry.h:162: error: 'boost' has not been declared
ApplySchemaCommand.cpp: In member function 'void
fdo::postgis::ApplySchemaCommand::AddGeometryColumn(const std::string&,
FdoPtr<FdoGeometricPropertyDefinition>) const':
ApplySchemaCommand.cpp:259: error: 'boost' has not been declared
ApplySchemaCommand.cpp:259: error: 'format' was not declared in this scope
ApplySchemaCommand.cpp:259: error: 'str' was not declared in this scope
ApplySchemaCommand.cpp:261: error: 'boost' has not been declared
ApplySchemaCommand.cpp: In member function 'void
fdo::postgis::ApplySchemaCommand::CreateSequence(const std::string&,
FdoPtr<FdoDataPropertyDefinition>) const':
ApplySchemaCommand.cpp:309: error: 'boost' has not been declared
ApplySchemaCommand.cpp:309: error: 'format' was not declared in this scope
ApplySchemaCommand.cpp:310: error: 'str' was not declared in this scope
PgGeometry.h: In static member function 'static Target
fdo::postgis::ewkb::read_data<Target>::from(const uint8_t*) [with Target =
long long int]':
PgGeometry.h:78: instantiated from here
PgGeometry.h:56: error: 'BOOST_STATIC_ASSERT' was not declared in this scope
make[2]: *** [ApplySchemaCommand.lo] Error 1
make[2]: Leaving directory `/home/joc/fdosvn/Providers/PostGIS/Src/Provider'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/joc/fdosvn/Providers/PostGIS/Src'
make: *** [all-recursive] Error 1
Making install in Src
make[1]: Entering directory `/home/joc/fdosvn/Providers/PostGIS/Src'
Making install in Message
make[2]: Entering directory `/home/joc/fdosvn/Providers/PostGIS/Src/Message'
make[2]: Leaving directory `/home/joc/fdosvn/Providers/PostGIS/Src/Message'
Making install in Overrides
make[2]: Entering directory
`/home/joc/fdosvn/Providers/PostGIS/Src/Overrides'
make[3]: Entering directory
`/home/joc/fdosvn/Providers/PostGIS/Src/Overrides'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/home/joc/fdosvn/Providers/PostGIS/Src/Overrides'
make[2]: Leaving directory
`/home/joc/fdosvn/Providers/PostGIS/Src/Overrides'
Making install in Provider
make[2]: Entering directory
`/home/joc/fdosvn/Providers/PostGIS/Src/Provider'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++
-DPACKAGE_NAME=\"FDOPOSTGIS\" -DPACKAGE_TARNAME=\"fdopostgis\"
-DPACKAGE_VERSION=\"3.3.0\" -DPACKAGE_STRING=\"FDOPOSTGIS\ 3.3.0\"
-DPACKAGE_BUGREPORT=\"http://fdo.osgeo.org\" -DPACKAGE=\"fdopostgis\"
-DVERSION=\"3.3.0\" -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../ -I../../Inc -I../Message/Inc/
-I../../../../Fdo/Unmanaged/Inc -I../../../../Utilities/Common/Inc
-I../../../../Thirdparty/pgsql/include -O2 -MMD -MT -D__USE_GNU -DLINUX
-DLINUX_IA32 -MT ApplySchemaCommand.lo -MD -MP -MF
".deps/ApplySchemaCommand.Tpo" -c -o ApplySchemaCommand.lo
ApplySchemaCommand.cpp; \
then mv -f ".deps/ApplySchemaCommand.Tpo" ".deps/ApplySchemaCommand.Plo";
else rm -f ".deps/ApplySchemaCommand.Tpo"; exit 1; fi
g++ -DPACKAGE_NAME=\"FDOPOSTGIS\" -DPACKAGE_TARNAME=\"fdopostgis\"
-DPACKAGE_VERSION=\"3.3.0\" "-DPACKAGE_STRING=\"FDOPOSTGIS 3.3.0\""
-DPACKAGE_BUGREPORT=\"http://fdo.osgeo.org\" -DPACKAGE=\"fdopostgis\"
-DVERSION=\"3.3.0\" -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../ -I../../Inc -I../Message/Inc/
-I../../../../Fdo/Unmanaged/Inc -I../../../../Utilities/Common/Inc
-I../../../../Thirdparty/pgsql/include -O2 -MMD -MT -D__USE_GNU -DLINUX
-DLINUX_IA32 -MT ApplySchemaCommand.lo -MD -MP -MF
.deps/ApplySchemaCommand.Tpo -c ApplySchemaCommand.cpp -fPIC -DPIC -o
.libs/ApplySchemaCommand.o
In file included from Connection.h:20,
from Command.h:20,
from ApplySchemaCommand.h:20,
from ApplySchemaCommand.cpp:20:
SchemaDescription.h:24:33: warning: boost/noncopyable.hpp: No such file or
directory
In file included from Connection.h:22,
from Command.h:20,
from ApplySchemaCommand.h:20,
from ApplySchemaCommand.cpp:20:
PgUtility.h:26:33: warning: boost/tuple/tuple.hpp: No such file or directory
In file included from ApplySchemaCommand.h:20,
from ApplySchemaCommand.cpp:20:
Command.h:29:28: warning: boost/format.hpp: No such file or directory
In file included from ApplySchemaCommand.cpp:22:
PgGeometry.h:22:29: warning: boost/cstdint.hpp: No such file or directory
PgGeometry.h:23:33: warning: boost/type_traits.hpp: No such file or
directory
PgGeometry.h:24:35: warning: boost/static_assert.hpp: No such file or
directory
SchemaDescription.h:40: error: 'boost' has not been declared
SchemaDescription.h:41: error: expected class-name before '{' token
PgUtility.h:39: error: 'boost' has not been declared
PgUtility.h:40: error: expected initializer before '<' token
Connection.h:269: error: 'pgconn_params_t' in namespace
'fdo::postgis::details' does not name a type
Command.h: In member function 'void
fdo::postgis::Command<T>::PgGenerateExecParams(fdo::postgis::details::pgexec_params_t&)':
Command.h:301: error: 'boost' has not been declared
Command.h:301: error: there are no arguments to 'format' that depend on a
template parameter, so a declaration of 'format' must be available
Command.h:301: error: (if you use '-fpermissive', G++ will accept your code,
but allowing the use of an undeclared name is deprecated)
Command.h:307: error: 'boost' has not been declared
Command.h:307: error: there are no arguments to 'format' that depend on a
template parameter, so a declaration of 'format' must be available
Command.h:312: error: 'boost' has not been declared
Command.h:312: error: there are no arguments to 'format' that depend on a
template parameter, so a declaration of 'format' must be available
PgGeometry.h: At global scope:
PgGeometry.h:29: error: 'boost' has not been declared
PgGeometry.h:54: error: 'boost' has not been declared
PgGeometry.h: In static member function 'static Target
fdo::postgis::ewkb::read_data<Target>::from(const uint8_t*)':
PgGeometry.h:56: error: 'boost' has not been declared
PgGeometry.h:56: error: 'is_integral' was not declared in this scope
PgGeometry.h:56: error: expected primary-expression before '>' token
PgGeometry.h:56: error: '::value' has not been declared
PgGeometry.h:56: error: there are no arguments to 'BOOST_STATIC_ASSERT' that
depend on a template parameter, so a declaration of 'BOOST_STATIC_ASSERT'
must be available
PgGeometry.h: At global scope:
PgGeometry.h:74: error: 'boost' has not been declared
PgGeometry.h: In static member function 'static double
fdo::postgis::ewkb::read_data<double>::from(const uint8_t*)':
PgGeometry.h:76: error: 'boost' has not been declared
PgGeometry.h:76: error: 'BOOST_STATIC_ASSERT' was not declared in this scope
PgGeometry.h:78: error: 'boost' has not been declared
PgGeometry.h:78: error: 'boost' has not been declared
PgGeometry.h: At global scope:
PgGeometry.h:91: error: 'boost' has not been declared
PgGeometry.h:100: error: 'boost' has not been declared
PgGeometry.h:123: error: 'boost' has not been declared
PgGeometry.h:123: error: 'boost' has not been declared
PgGeometry.h:158: error: 'boost' has not been declared
PgGeometry.h:159: error: 'boost' has not been declared
PgGeometry.h:162: error: 'boost' has not been declared
ApplySchemaCommand.cpp: In member function 'void
fdo::postgis::ApplySchemaCommand::AddGeometryColumn(const std::string&,
FdoPtr<FdoGeometricPropertyDefinition>) const':
ApplySchemaCommand.cpp:259: error: 'boost' has not been declared
ApplySchemaCommand.cpp:259: error: 'format' was not declared in this scope
ApplySchemaCommand.cpp:259: error: 'str' was not declared in this scope
ApplySchemaCommand.cpp:261: error: 'boost' has not been declared
ApplySchemaCommand.cpp: In member function 'void
fdo::postgis::ApplySchemaCommand::CreateSequence(const std::string&,
FdoPtr<FdoDataPropertyDefinition>) const':
ApplySchemaCommand.cpp:309: error: 'boost' has not been declared
ApplySchemaCommand.cpp:309: error: 'format' was not declared in this scope
ApplySchemaCommand.cpp:310: error: 'str' was not declared in this scope
PgGeometry.h: In static member function 'static Target
fdo::postgis::ewkb::read_data<Target>::from(const uint8_t*) [with Target =
long long int]':
PgGeometry.h:78: instantiated from here
PgGeometry.h:56: error: 'BOOST_STATIC_ASSERT' was not declared in this scope
make[2]: *** [ApplySchemaCommand.lo] Error 1
make[2]: Leaving directory `/home/joc/fdosvn/Providers/PostGIS/Src/Provider'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/joc/fdosvn/Providers/PostGIS/Src'
make: *** [install-recursive] Error 1
========================
Any thoughts? I have searched for information on boost errors in both the
Mapguide and FDO forums with no luck. I have also tried this build on both
Ubuntu 6.06 and 7.04 (in case there were issues with versions of gcc etc)
and it fails at exactly the same point on both installs.
Many thanks
Jo
Jack Lee-3 wrote:
>
> Hi,
>
> Yes. You probably don't have that file on your machine.
>
>
--
View this message in context: http://www.nabble.com/Problems-with-new-fdo-ogr-build-on-Ubuntu-6.06-tf4695940s16610.html#a13430450
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list