[fdo-internals] Linux PostGIS provider build failure
larry white
larz at neomatix.ca
Thu Oct 25 17:07:53 EDT 2007
Thanks, that did the trick.
By the way, I wasn't really looking at it as just 'my problem'. I wanted
to report back to the code maintainers, so that they are aware of the
problem.
Also, the UnitTest executable doesn't appear to be part of the build
process. Not sure if this is an oversight or is intentional. I find the
unit tests the easy way to check the build, as opposed to trying to use
the provider in MapGuide OS because this adds additional levels of
complexity where things can go wrong.
output from configure
config.status: creating Makefile
config.status: creating Inc/Makefile
config.status: creating Src/Makefile
config.status: creating Src/Message/Makefile
config.status: creating Src/Overrides/Makefile
config.status: creating Src/Provider/Makefile
config.status: creating Doc/Makefile
As you can see there is no Makefile for Src/UnitTest.
-- larry
Jack Lee wrote:
> Hi,
>
> Removing "Connection::" should fix your problem.
>
>
> -----Original Message-----
> From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of larry white
> Sent: Thursday, October 25, 2007 4:44 PM
> To: FDO Internals Mail List
> Subject: Re: [fdo-internals] Linux PostGIS provider build failure
>
> oops, I should have included the line prior to the error message.
>
>
> 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
>
> -- larry
>
>
>
> larry white wrote:
>> Here is some info on an initial attempt to build the linux PostGIS
>> provider.
>>
>>
>> Build environment
>> Fedora Core 6
>> gcc 4.1.1
>> (same environment I've used for previous builds of FDO and MapGuide OS)
>>
>>
>> fdocore compiled without any problems and FDO unit tests ran successfully.
>> However, there was an error during the PostGIS provider build.
>>
>>
>> Here's the error:
>>
>> Connection.h:273: error: extra qualification
>> 'fdo::postgis::Connection::' on member 'GetPgCurrentSchema'
>>
>> make[2]: *** [ApplySchemaCommand.lo] Error 1
>>
>> make[2]: Leaving directory
>> `/home/mgDev/fdo-3-3.0/trunk/Providers/PostGIS/Src/Provider'
>>
>>
>>
>>
>> -- larry
>> _______________________________________________
>> fdo-internals mailing list
>> fdo-internals at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/fdo-internals
> _______________________________________________
> fdo-internals mailing list
> fdo-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-internals
> _______________________________________________
> fdo-internals mailing list
> fdo-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-internals
More information about the fdo-internals
mailing list