[mapguide-users] build_oem.sh issues
Jonathan Bolich
jwb at entecheng.com
Thu Apr 5 09:39:02 EDT 2007
I will try to upgrade my gcc and see if that works. I will let you know
what happens.
thanks
>>> walt.welton-lair at autodesk.com 4/5/2007 9:35:30 AM >>>
Ok, I guess that one is bad too. Probably a problem with all the 3.4.x
versions. I know it compiles fine with gcc 4.0.x.
If you can't upgrade your machine to gcc 4.0, the only thing you can do
is fix the code to make the compiler happy. Maybe someone has already
posted on the internet what changes need to be made.
Walt
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jonathan
Bolich
Sent: Thursday, April 05, 2007 3:29 PM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] build_oem.sh issues
I am using 3.4.6
[root at jbolich ~]# gcc -dumpberverision
3.4.6
[root at jbolich ~]# exit
logout
>>> walt.welton-lair at autodesk.com 4/5/2007 9:19:49 AM >>>
What version of gcc is this? 3.4.2? See
http://gcc.gnu.org/ml/gcc-help/2004-12/msg00088.html.
ACE has problems with 3.4.2. Earlier and later versions are ok.
Walt
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jonathan
Bolich
Sent: Thursday, April 05, 2007 2:42 PM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] build_oem.sh issues
Walt,
I tried what you said, but it didn't work. still recieved the same
error. Here is the full error stack.
[root at jbolich ~]# mapccd /mapguide/mapguide-1.1.0
[root at jbolich mapguide-1.1.0]# build./build_oem.sh
MapGuide Open Source build script for OEM components
OEM Build Initialization ............................
Oem Libraries will be installed at: /usr/local/mapguideopensource
/mapguide/mapguide-1.1.0/Oem /mapguide/mapguide-1.1.0
ace: Initialization...........................
ace: Configure /Build...........................
/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers
/mapguide/mapguide-1.1.0/Oem /mapguide/mapguide-1.1.0
/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers/ace
/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers
/mapguide/mapguide-1.1.0/Oem /mapguide/mapguide-1.1.0
make[1]: Entering directory
`/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers/ace'
Makefile:
/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers/ace/Makefile.ace
g++ -W -Wall -Wpointer-arith -pipe -O3 -g -D_REENTRANT
-DACE_HAS_AIO_CALLS -D_GNU_SOURCE
-I/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers -DACE_HAS_EXCEPTIONS
-D__ACE_INLINE__ -DACE_BUILD_DLL -DACE_OS_BUILD_DLL -c -fPIC -o
.shobj/ARGV.o ARGV.cpp
In file included from
/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.h:286,
from
/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers/ace/ARGV.h:24,
from ARGV.cpp:6:
/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp:
In member function `void ACE_Unbounded_Queue<T>::delete_nodes()':
/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp:133:
error: expected class-name before '(' token
/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp:
In destructor `ACE_Unbounded_Queue<T>::~ACE_Unbounded_Queue()':
/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp:153:
error: expected class-name before '(' token
/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp:
In member function `int ACE_Unbounded_Queue<T>::dequeue_head(T&)':
/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp:223:
error: expected class-name before '(' token
make[1]: *** [.shobj/ARGV.o] Error 1
make[1]: Leaving directory
`/mapguide/mapguide-1.1.0/Oem/ACE/ACE_wrappers/ace'
make: *** [all] Error 2
ACE 5.4: Error build failed (0).................
[root at jbolich mapguide-1.1.0]#
Any idea?
>>> cgountanis at mpower-tech.com 4/4/2007 8:42:24 PM >>>
I am waiting the new packages for Linux as promised. I am assuming this
will be with the new release of Mapguide with possible Java fixes??? Any
ideas when those will be available so we can all try the Linux side of
things again. It seemed to be a consensus that no one wants to run
Fedora Core 4 since it is not supported and security updates will have
to be manual. Same with any out dated release be it CentOS or old school
RedHat. I got things running on the 2006.1 Gentoo and attached the
manual to this list awhile back but it was no piece of cake.Chris From:
mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Walt
Welton-Lair
Sent: Wednesday, April 04, 2007 4:16 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] build_oem.sh issues
Note: it's a good idea to include the full error stack so we can see
what the actual problem is. The last line doesn't help much. With ACE a
common build problem involves the file Svc_Conf.l.cpp, and the error
message usually includes something involving "unterminated if". Is this
the error you're getting? You'll run into this problem if you run
aclocal / libtoolize / automake / autoconf / configure before running
build_oem.sh. I suggest deleting your ACE directory and re-extract it,
and then try running build_oem.sh again. Walt
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jonathan
Bolich
Sent: Tuesday, April 03, 2007 8:50 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] build_oem.sh issuesI am trying to install
mapguide but can't get past build_oem.sh
It fails with the ace 5.4 section. the final lines say:
make: *** [all] Error 2
ACE 5.4: Error build failed (0)....................
I tried to increase my swap space but that didn't change anything.
Any thoughts or things I could try I would be grateful
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070405/17911198/attachment-0001.html
More information about the mapguide-users
mailing list