[mapguide-users] Installing mapguide
Javier de la Torre
jatorre at gmail.com
Thu May 4 13:34:46 EDT 2006
gcc (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)
On 5/4/06, Traian Stanev <traian.stanev at autodesk.com> wrote:
>
> I think I have seen this problem before. What version of gcc are you
> using?
>
> -----Original Message-----
> From: Javier de la Torre [mailto:jatorre at gmail.com]
> Sent: Thursday, May 04, 2006 1:03 PM
> To: users at mapguide.osgeo.org
> Subject: Re: [mapguide-users] Installing mapguide
>
> Ok... I hope this is enough:
>
> make[2]: Entering directory
> `/root/mapguide_install/mapguide-1.0.0/Common/Service'
> if /bin/sh ../../libtool --mode=compile --tag=CXX g++
> -DPACKAGE_NAME=\"mapguide\" -DPACKAGE_TARNAME=\"mapguide\"
> -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"mapguide\ 1.0.0\"
> -DPACKAGE_BUGREPORT=\"http://www.mapguide.osgeo.org\"
> -DPACKAGE=\"mapguide\" -DVERSION=\"1.0.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 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1
> -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_SOCKET=1
> -DHAVE_HTONS=1 -DHAVE_CONNECT=1 -DHAVE_SHUTDOWN=1 -I. -I.
> -IController -ICoordinateSystem -IData -IException -IGeometry
> -IMapLayer -INet -IServices -ISystem -IUtil -I../Security
> -I../MdfParser -I../MdfModel -I../../Oem/ACE/ACE_wrappers
> -I../../Oem/geos-2.2.0/source/headers
> -I../../Oem/dbxml-2.2.13/xerces-c-src/src -I../../Oem/proj-4.4.9/src
> -I../../Oem/gdal-1.3.0/ogr -I../../Oem/gdal-1.3.0/port
> -I../../Common/CoordinateSystem -g -D_DEBUG -MT
> ServiceControllerBuild.lo -MD -MP -MF
> ".deps/ServiceControllerBuild.Tpo" -c -o ServiceControllerBuild.lo
> `test -f 'Controller/ServiceControllerBuild.cpp' || echo
> './'`Controller/ServiceControllerBuild.cpp; \
> then mv -f ".deps/ServiceControllerBuild.Tpo"
> ".deps/ServiceControllerBuild.Plo"; else rm -f
> ".deps/ServiceControllerBuild.Tpo"; exit 1; fi
> g++ -DPACKAGE_NAME=\"mapguide\" -DPACKAGE_TARNAME=\"mapguide\"
> -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"mapguide 1.0.0\""
> -DPACKAGE_BUGREPORT=\"http://www.mapguide.osgeo.org\"
> -DPACKAGE=\"mapguide\" -DVERSION=\"1.0.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 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1
> -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_SOCKET_H=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_SOCKET=1
> -DHAVE_HTONS=1 -DHAVE_CONNECT=1 -DHAVE_SHUTDOWN=1 -I. -I. -IController
> -ICoordinateSystem -IData -IException -IGeometry -IMapLayer -INet
> -IServices -ISystem -IUtil -I../Security -I../MdfParser -I../MdfModel
> -I../../Oem/ACE/ACE_wrappers -I../../Oem/geos-2.2.0/source/headers
> -I../../Oem/dbxml-2.2.13/xerces-c-src/src -I../../Oem/proj-4.4.9/src
> -I../../Oem/gdal-1.3.0/ogr -I../../Oem/gdal-1.3.0/port
> -I../../Common/CoordinateSystem -g -D_DEBUG -MT
> ServiceControllerBuild.lo -MD -MP -MF .deps/ServiceControllerBuild.Tpo
> -c Controller/ServiceControllerBuild.cpp -fPIC -DPIC -o
> .libs/ServiceControllerBuild.o
> In file included from
> ../../Oem/ACE/ACE_wrappers/ace/Hash_Map_Manager_T.h:940,
> from ../../Oem/ACE/ACE_wrappers/ace/Strategies_T.h:18,
> from ../../Oem/ACE/ACE_wrappers/ace/Acceptor.h:24,
> from ./AceCommon.h:56,
> from Controller/Controller.cpp:18,
> from Controller/ServiceControllerBuild.cpp:18:
> ../../Oem/ACE/ACE_wrappers/ace/Hash_Map_Manager_T.cpp: In member
> function `int ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, HASH_KEY,
> COMPARE_KEYS, ACE_LOCK>::close_i()':
> ../../Oem/ACE/ACE_wrappers/ace/Hash_Map_Manager_T.cpp:158: error:
> expected class-name before '(' token
> ../../Oem/ACE/ACE_wrappers/ace/Hash_Map_Manager_T.cpp: In member
> function `int ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, HASH_KEY,
> COMPARE_KEYS, ACE_LOCK>::unbind_all_i()':
> ../../Oem/ACE/ACE_wrappers/ace/Hash_Map_Manager_T.cpp:190: error:
> expected class-name before '(' token
> ../../Oem/ACE/ACE_wrappers/ace/Hash_Map_Manager_T.cpp: In member
> function `int ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, HASH_KEY,
> COMPARE_KEYS, ACE_LOCK>::unbind_i(ACE_Hash_Map_Entry<EXT_ID,
> INT_ID>*)':
> ../../Oem/ACE/ACE_wrappers/ace/Hash_Map_Manager_T.cpp:289: error:
> expected class-name before '(' token
> In file included from
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.h:286,
> from
> ../../Oem/ACE/ACE_wrappers/ace/Thread_Manager.h:26,
> from ../../Oem/ACE/ACE_wrappers/ace/Strategies_T.h:25,
> from ../../Oem/ACE/ACE_wrappers/ace/Acceptor.h:24,
> from ./AceCommon.h:56,
> from Controller/Controller.cpp:18,
> from Controller/ServiceControllerBuild.cpp:18:
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp: In member function
> `void ACE_Unbounded_Queue<T>::delete_nodes()':
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp:133: error:
> expected class-name before '(' token
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp: In destructor
> `ACE_Unbounded_Queue<T>::~ACE_Unbounded_Queue()':
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp:153: error:
> expected class-name before '(' token
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp: In member function
> `int ACE_Unbounded_Queue<T>::dequeue_head(T&)':
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp:223: error:
> expected class-name before '(' token
> In file included from
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Set.h:307,
> from ../../Oem/ACE/ACE_wrappers/ace/Containers_T.h:34,
> from ../../Oem/ACE/ACE_wrappers/ace/Containers.h:69,
> from
> ../../Oem/ACE/ACE_wrappers/ace/Thread_Manager.h:27,
> from ../../Oem/ACE/ACE_wrappers/ace/Strategies_T.h:25,
> from ../../Oem/ACE/ACE_wrappers/ace/Acceptor.h:24,
> from ./AceCommon.h:56,
> from Controller/Controller.cpp:18,
> from Controller/ServiceControllerBuild.cpp:18:
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Set.cpp: In member function
> `void ACE_Unbounded_Set<T>::delete_nodes()':
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Set.cpp:107: error: expected
> class-name before '(' token
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Set.cpp: In destructor
> `ACE_Unbounded_Set<T>::~ACE_Unbounded_Set()':
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Set.cpp:126: error: expected
> class-name before '(' token
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Set.cpp: In member function
> `int ACE_Unbounded_Set<T>::remove(const T&)':
> ../../Oem/ACE/ACE_wrappers/ace/Unbounded_Set.cpp:230: error: expected
> class-name before '(' token
> In file included from
> ../../Oem/ACE/ACE_wrappers/ace/Containers_T.h:1986,
> from ../../Oem/ACE/ACE_wrappers/ace/Containers.h:69,
> from
> ../../Oem/ACE/ACE_wrappers/ace/Thread_Manager.h:27,
> from ../../Oem/ACE/ACE_wrappers/ace/Strategies_T.h:25,
> from ../../Oem/ACE/ACE_wrappers/ace/Acceptor.h:24,
> from ./AceCommon.h:56,
> from Controller/Controller.cpp:18,
> from Controller/ServiceControllerBuild.cpp:18:
> ../../Oem/ACE/ACE_wrappers/ace/Containers_T.cpp: In member function
> `void ACE_Unbounded_Stack<T>::delete_all_nodes()':
> ../../Oem/ACE/ACE_wrappers/ace/Containers_T.cpp:171: error: expected
> class-name before '(' token
> ../../Oem/ACE/ACE_wrappers/ace/Containers_T.cpp: In destructor
> `ACE_Unbounded_Stack<T>::~ACE_Unbounded_Stack()':
> ../../Oem/ACE/ACE_wrappers/ace/Containers_T.cpp:239: error: expected
> class-name before '(' token
> ../../Oem/ACE/ACE_wrappers/ace/Containers_T.cpp: In member function
> `int ACE_Unbounded_Stack<T>::pop(T&)':
> ../../Oem/ACE/ACE_wrappers/ace/Containers_T.cpp:275: error: expected
> class-name before '(' token
> ../../Oem/ACE/ACE_wrappers/ace/Containers_T.cpp: In member function
> `int ACE_Unbounded_Stack<T>::remove(const T&)':
> ../../Oem/ACE/ACE_wrappers/ace/Containers_T.cpp:334: error: expected
> class-name before '(' token
> ../../Oem/ACE/ACE_wrappers/ace/Containers_T.cpp: In member function
> `int ACE_Ordered_MultiSet<T>::remove(const T&)':
> ../../Oem/ACE/ACE_wrappers/ace/Containers_T.cpp:1582: error: expected
> class-name before '(' token
> ../../Oem/ACE/ACE_wrappers/ace/Containers_T.cpp: In member function
> `void ACE_Ordered_MultiSet<T>::delete_nodes()':
> ../../Oem/ACE/ACE_wrappers/ace/Containers_T.cpp:1786: error: expected
> class-name before '(' token
> make[2]: *** [ServiceControllerBuild.lo] Error 1
> make[2]: Leaving directory
> `/root/mapguide_install/mapguide-1.0.0/Common/Service'
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory
> `/root/mapguide_install/mapguide-1.0.0/Common'
> make: *** [check-recursive] Error 1
>
>
>
> On 5/4/06, Walt Welton-Lair <walt.welton-lair at autodesk.com> wrote:
> > You need to show us more of the error trace...
> >
> > -----Original Message-----
> > From: Javier de la Torre [mailto:jatorre at gmail.com]
> > Sent: Thursday, May 04, 2006 12:58 PM
> > To: users at mapguide.osgeo.org
> > Subject: Re: [mapguide-users] Installing mapguide
> >
> > Ups...
> >
> > Now it fails somehwere else. Now I get this at the end of "make"
> >
> > make[2]: *** [ServiceControllerBuild.lo] Error 1
> > make[2]: Leaving directory
> > `/root/mapguide_install/mapguide-1.0.0/Common/Service'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/root/mapguide_install/mapguide-1.0.0/Common'
> > make: *** [all-recursive] Error 1
> >
> > Any idea of what can this be?
> >
> > Thanks.
> >
> > On 5/4/06, Javier de la Torre <jatorre at gmail.com> wrote:
> > > Thanks all,
> > >
> > > I finally did a yum install libjpeg-devel and this installed the
> > > requiered libraries.
> > > Seems that I passed this step now :)
> > >
> > > It could be interesting to include in the documentation that the
> > > package that is needed is libjpeg-devel. Most people can then do a
> > > up2date or yum or apt-get to install it easily.
> > >
> > > Thanks again.
> > >
> > > Javier.
> > >
> > > On 5/4/06, Jason Birch <Jason.Birch at nanaimo.ca> wrote:
> > > > You might have to specify --enable-shared as an input to the
> > configure
> > > > script.
> > > >
> > > > Jason
> > > >
> > > > -----Original Message-----
> > > > From: Javier de la Torre [mailto:jatorre at gmail.com]
> > > > Sent: Thursday, May 04, 2006 09:36
> > > > To: users at mapguide.osgeo.org
> > > > Subject: Re: [mapguide-users] Installing mapguide
> > > >
> > > > no, there is nothing there...
> > > >
> > > > Am I installing the correct library? In the documentation it says:
> > > >
> > > > ----
> > > > The libjpeg.so library is required. It is installed by default
> with
> > most
> > > > Linux distributions. If you do not have it, you can download the
> > source
> > > > from the Independent JPEG Group: www.ijg.org.
> > > > ----
> > > >
> > > > I downloaded from there:
> > > >
> > > > http://www.ijg.org/files/jpegsrc.v6b.tar.gz
> > > >
> > > > Now I am not sure...
> > > >
> > > > JAvier.
> > > >
> > > >
> > > > On 5/4/06, Traian Stanev <traian.stanev at autodesk.com> wrote:
> > > > >
> > > > > Did it put it under /usr/local/include by any chance?
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Javier de la Torre [mailto:jatorre at gmail.com]
> > > > > Sent: Thursday, May 04, 2006 12:23 PM
> > > > > To: users at mapguide.osgeo.org
> > > > > Subject: Re: [mapguide-users] Installing mapguide
> > > > >
> > > > > Yes, I was logged as root.
> > > > > The file /usr/include/jpeglib.h does not exist.
> > > > > I downloaded the jpeg-6b and installed it but does not seems to
> > > > > include this file. It copies others to usr/local/bin.
> > > > >
> > > > > Thanks.
> > > > >
> > > > > On 5/4/06, Traian Stanev <traian.stanev at autodesk.com> wrote:
> > > > > >
> > > > > > Were you logged in as root when you did make install? Do you
> > have
> > > > > > jpeg installed (i.e. does /usr/include/jpeglib.h exist)?
> > > > > >
> > > > > > Traian
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Javier de la Torre [mailto:jatorre at gmail.com]
> > > > > > Sent: Thursday, May 04, 2006 12:09 PM
> > > > > > To: users at mapguide.osgeo.org
> > > > > > Subject: [mapguide-users] Installing mapguide
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I am installing mapguide right now, but I am having some
> > problems
> > > > > > following the instructions on the PDF file.
> > > > > >
> > > > > > I am trying to use all the default settings on an Intel with
> Red
> > Hat
> > > > > 9.
> > > > > >
> > > > > > First I installed Apache, Tomcat and PHP (APT) using the
> > provided
> > > > > > package. Everything seems to be fine, the servers are
> available
> > and
> > > > > > everyhting worked fine.
> > > > > >
> > > > > > Then I download the Mapguide server an Mapguider server
> > extensions
> > > > > > and I build the OEMcomponents. This also seems to compile
> fine.
> > > > > > IMake 1.0: Build Successful ........................
> > > > > > Done building OEM components .......................
> > > > > >
> > > > > > Then I go and try to build and install the default
> > configuration:
> > > > > >
> > > > > > aclocal I get this:
> > > > > >
> > > > > > ------------
> > > > > > acinclude.m4:7: warning: underquoted definition of
> > MAP_HELP_STRING
> > > > > > run info '(automake)Extending aclocal'
> > > > > > or see
> > > > > >
> > http://sources.redhat.com/automake/automake.html#Extending-aclocal
> > > > > > acinclude.m4:12: warning: underquoted definition of MAP_SUBST
> > > > > > acinclude.m4:19: warning: underquoted definition of
> > MAP_FAST_OUTPUT
> > > > > > acinclude.m4:25: warning: underquoted definition of
> > > > > MAP_GEN_CONFIG_VARS
> > > > > > acinclude.m4:67: warning: underquoted definition of
> > > > > > MAP_GENERATE_MAKEFILES
> > > > > > acinclude.m4:74: warning: underquoted definition of MAP_OUTPUT
> > > > > > acinclude.m4:83: warning: underquoted definition of
> > > > > > MAP_DEFINE_TYPE_RLIM_T
> > > > > > acinclude.m4:108: warning: underquoted definition of
> > > > > > MAP_SUBST_EXPANDED_ARG
> > > > > > acinclude.m4:115: warning: underquoted definition of
> > > > > > MAP_EXPORT_ARGUMENTS
> > > > > > -------------
> > > > > >
> > > > > >
> > > > > > libtoolize --force OK
> > > > > > automake --add-missing --copy OK
> > > > > > autoconf OK
> > > > > > ./configure OK
> > > > > > make OK
> > > > > > make check OK
> > > > > > make install get into troubles... After lot of messages I
> start
> > > > > > getting errors, this is the first one:
> > > > > >
> > > > > > BOpcodeHandler.cpp:52:29: jpeglib.h: No such file or directory
> > > > > > BOpcodeHandler.cpp:4970: error: field `jerr' has incomplete
> type
> > > > > > ........
> > > > > >
> > > > > > And I can not continue following the instructions :(
> > > > > >
> > > > > > Anybody can help?
> > > > > >
> > > > > > Thanks in advance.
> > > > > >
> > > > > > Javier.
> > > > > >
> > > > > >
> > --------------------------------------------------------------------
> > > > > > - To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> > > > > > For additional commands, e-mail: users-help at mapguide.osgeo.org
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > --------------------------------------------------------------------
> > > > > > - To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> > > > > > For additional commands, e-mail: users-help at mapguide.osgeo.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> > > > > For additional commands, e-mail: users-help at mapguide.osgeo.org
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> > > > > For additional commands, e-mail: users-help at mapguide.osgeo.org
> > > > >
> > > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> > > > For additional commands, e-mail: users-help at mapguide.osgeo.org
> > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> > > > For additional commands, e-mail: users-help at mapguide.osgeo.org
> > > >
> > > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> > For additional commands, e-mail: users-help at mapguide.osgeo.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> > For additional commands, e-mail: users-help at mapguide.osgeo.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
>
>
More information about the Mapguide-users
mailing list