Using subversion rather the tar ball is a lot easier z
On Tue, Jun 17, 2008 at 1:56 PM, SD <[EMAIL PROTECTED]> wrote: > On 6/16/08, SD <[EMAIL PROTECTED]> wrote: >> Background: >> - went through normal install steps at >> http://mapguide.osgeo.org/2.0/docs/BuildInstallQuickStartLinux.html >> - using files from >> http://download.osgeo.org/mapguide/releases/2.0.1/mapguide-2.0.1.2716.tar.gz >> >> Everything works until running ./build_oem.sh where this error occurs: >> >> /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. >> -g0 -O2 -pipe -Wall -Wno-long-long -Wnon-virtual-dtor -Wsign-promo >> -Wsign-compare -Wundef -Wstrict-prototypes -fforce-addr >> -finline-functions -ffast-math -fno-strict-aliasing -MT >> BufferOutputStream.lo -MD -MP -MF .deps/BufferOutputStream.Tpo -c -o >> BufferOutputStream.lo BufferOutputStream.cpp >> g++ -DHAVE_CONFIG_H -I.. -g0 -O2 -pipe -Wall -Wno-long-long >> -Wnon-virtual-dtor -Wsign-promo -Wsign-compare -Wundef >> -Wstrict-prototypes -fforce-addr -finline-functions -ffast-math >> -fno-strict-aliasing -MT BufferOutputStream.lo -MD -MP -MF >> .deps/BufferOutputStream.Tpo -c BufferOutputStream.cpp -fPIC -DPIC -o >> .libs/BufferOutputStream.o >> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >> for Ada/C/ObjC but not for C++ >> BufferOutputStream.cpp: In member function 'virtual size_t >> DWFCore::DWFBufferOutputStream::write(const void*, size_t)': >> BufferOutputStream.cpp:192: error: expected primary-expression before '?' >> token >> BufferOutputStream.cpp:192: error: expected `:' before ';' token >> BufferOutputStream.cpp:192: error: expected primary-expression before ';' >> token >> make[2]: *** [BufferOutputStream.lo] Error 1 >> make[2]: Leaving directory >> `/opt/install/mapguide-2.0.1/Oem/DWFTK7.1/develop/global/src/dwfcore' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory >> `/opt/install/mapguide-2.0.1/Oem/DWFTK7.1/develop/global/src/dwfcore' >> make: *** [all] Error 2 >> DWFCORE 1.0: Error build failed (0)................. >> >> >> I thought maybe the BufferOutputStream.cpp was corrupted, so compared >> it with version at >> http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1/develop/global/src/dwfcore/BufferOutputStream.cpp >> which was identical. >> >> There is a '?' in the file, but it is on line 110, not 192. >> >> Anyone know what I'm doing wrong? :-) >> > > > > Ok, I see the problem. > > The downlaod .tar.gz file at > http://download.osgeo.org/mapguide/releases/2.0.1/mapguide-2.0.1.2716.tar.gz > has an invalid ansi/Core.h > > The correct version can be found at > http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1/develop/global/src/dwfcore/ansi/Core.h > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
