[mapguide-users] Installing mapguide

Traian Stanev traian.stanev at autodesk.com
Fri May 5 09:29:24 EDT 2006


Yup, GDAL configured itself with Postgres support for some reason (may
be because you had the library?). I just ran configure and it was
disabled for me, since I don't have that library. MapGuide doesn't use
PG, so it would also have been possible to rerun configure for GDAL with
the --without-pg option to work around the problem.

Traian
 

-----Original Message-----
From: Javier de la Torre [mailto:jatorre at gmail.com] 
Sent: Friday, May 05, 2006 9:23 AM
To: users at mapguide.osgeo.org
Subject: Re: [mapguide-users] Installing mapguide

Sorry again,

But I managed to make it run :)

I added /usr/local/pgsql/lib to the /etc/ld.so.conf and reruned ldconfig

Now it is started...

I can start playing!

Thanks again for your support.

Javier.

On 5/5/06, Javier de la Torre <jatorre at gmail.com> wrote:
> Ohh! As you said...
>
> libpq is a PostgreSQL library. I have it in
/usr/local/pgsql/lib/libpq.so.4
>
> Could it be that mapguide can not find it because is not a shared
> library? Why is mapguide trying to use it?
>
> When I did the configure in the report at the end I got:
>
>   POSTGRESQL support:        yes
>
> So seems that is looking for it...
>
> Any idea on how can I solve this?
>
> Javi.
>
> On 5/5/06, Javier de la Torre <jatorre at gmail.com> wrote:
> > Ok... Now it seems that I got it fine until the "make check" where
it
> > proposes to report here.
> >
> > This is what I got when I did "make"
> > --------
> >   (cd .libs && rm -f libMapGuideJavaApi.la && ln -s
> > ../libMapGuideJavaApi.la libMapGuideJavaApi.la)
> > make[4]: Leaving directory
> > `/root/mapguide_install/mapguide-1.0.0/Web/src/JavaApi'
> > make[3]: Leaving directory
> > `/root/mapguide_install/mapguide-1.0.0/Web/src/JavaApi'
> > make[3]: Entering directory
`/root/mapguide_install/mapguide-1.0.0/Web/src'
> > make[3]: Nothing to be done for `all-am'.
> > make[3]: Leaving directory
`/root/mapguide_install/mapguide-1.0.0/Web/src'
> > make[2]: Leaving directory
`/root/mapguide_install/mapguide-1.0.0/Web/src'
> > make[2]: Entering directory
`/root/mapguide_install/mapguide-1.0.0/Web'
> > make[2]: Nothing to be done for `all-am'.
> > make[2]: Leaving directory
`/root/mapguide_install/mapguide-1.0.0/Web'
> > make[1]: Leaving directory
`/root/mapguide_install/mapguide-1.0.0/Web'
> > make[1]: Entering directory `/root/mapguide_install/mapguide-1.0.0'
> > make[1]: Nothing to be done for `all-am'.
> > make[1]: Leaving directory `/root/mapguide_install/mapguide-1.0.0'
> > [root at synthesys mapguide-1.0.0]#
> >  ------------
> >
> > Doesn't seem to have any error, but it also doesn't look like a
great success :)
> >
> > Then I do the make check and this is the result:
> >
> > ---------
> > Making check in Core
> > make[3]: Entering directory
> > `/root/mapguide_install/mapguide-1.0.0/Server/src/Core'
> > make  check-TESTS
> > make[4]: Entering directory
> > `/root/mapguide_install/mapguide-1.0.0/Server/src/Core'
> > GDAL_DATA=/root/mapguide_install/mapguide-1.0.0/Oem/gdal-1.3.0/data
> > PROJ_LIB=/root/mapguide_install/mapguide-1.0.0/Oem/proj-4.4.9/nad
> >
/root/mapguide_install/mapguide-1.0.0/Server/src/Core/.libs/lt-mgserver:
> > error while loading shared libraries: libpq.so.4: cannot open shared
> > object file: No such file or directory
> > FAIL: unittest.sh
> > ==============================================
> > 1 of 1 tests failed
> > Please report to http://www.mapguide.osgeo.org
> > ==============================================
> > make[4]: *** [check-TESTS] Error 1
> > make[4]: Leaving directory
> > `/root/mapguide_install/mapguide-1.0.0/Server/src/Core'
> > make[3]: *** [check-am] Error 2
> > make[3]: Leaving directory
> > `/root/mapguide_install/mapguide-1.0.0/Server/src/Core'
> > make[2]: *** [check-recursive] Error 1
> > make[2]: Leaving directory
`/root/mapguide_install/mapguide-1.0.0/Server/src'
> > make[1]: *** [check-recursive] Error 1
> > make[1]: Leaving directory
`/root/mapguide_install/mapguide-1.0.0/Server'
> > make: *** [check-recursive] Error 1
> > [root at synthesys mapguide-1.0.0]#
> > ----------
> >
> > If I do a a make install seems to work but when running the server I
> > get the same error (that seems to be detected by make check) with
the
> > libpq.so.4 library missing.
> >
> >
> > When I run ldd mgserver the only missing library seems to be
> > libpq.so.4 => not found (or at least this is where it stops)
> >
> > I will try to find the library...
> >
> > Thanks.
> >
> > Javier.
> >
> > On 5/5/06, Javier de la Torre <jatorre at gmail.com> wrote:
> > > Sorry,
> > >
> > > I had to start from scratch again :(
> > >
> > > By the way, the build_apt script does not work when using a
different
> > > prefix. For example this:
> > >
> > > ./build_apt.sh -prefix /usr/local/servers -port 80 -with-tomcat
> > >
> > > compiles fine but at the end Apache doe snot start because:
> > >
> > > "Bringing Apache online...
> > > /usr/local/servers/webserverextensions/apache2/bin
~/mapguide_install/LinuxApt
> > > httpd: could not open document config file
> > >
/usr/local/mapguideopensource/webserverextensions/apache2/conf/httpd.con
f"
> > >
> > > So, seems that in the build file does not replace the
> > > mapguideopensource prefix somewhere needed by apache.
> > >
> > > I will run it on the default so is no problem for me.
> > >
> > > Javier.
> > >
> > >
> > > On 5/5/06, Traian Stanev <traian.stanev at autodesk.com> wrote:
> > > > Hmm, I don't think we build that library so it probably won't
make a difference -- it's a PostgreSQL library and I'm not sure why it
needs it... Could you run "ldd mgserver" and see what other libraries it
is complaining about.
> > > >
> > > > Traian
> > > >
> > > >         -----Original Message-----
> > > >         From: Javier de la Torre [mailto:jatorre at gmail.com]
> > > >         Sent: Fri 5/5/2006 5:38 AM
> > > >         To: users at mapguide.osgeo.org
> > > >         Cc:
> > > >         Subject: Re: [mapguide-users] Installing mapguide
> > > >
> > > >
> > > >
> > > >         HI Trian,
> > > >
> > > >         Today I tried to start from scratch again with the
modifications that
> > > >         you gave me yesterday.
> > > >
> > > >         I manage to make and make install this time, but I
believe there were
> > > >         some errors (sorry I was not there when it executed and
it was in a
> > > >         batch...).
> > > >         After doing the make / make install I tried to run
mgserver.sh and
> > > >         this is what I got:
> > > >
> > > >         [root at synthesys bin]# ./mgserver.sh
> > > >         /usr/local/mapguideopensource/server/bin /usr/local/
> > > >         mapguideopensource/server/bin
> > > >         ./mgserver: error while loading shared libraries:
libpq.so.4: cannot
> > > >         open shared object file: No such file or directory
> > > >
> > > >         So this is probably because there were some errors in
the building no?
> > > >
> > > >         I will try the whole process again, but this time I will
check if it
> > > >         fails somewhere in the process.
> > > >
> > > >         Javier.
> > > >
> > > >
> > > >         On 04/05/2006, at 20:29, Traian Stanev wrote:
> > > >
> > > >         >
> > > >         > Looks like it's still complaining about ACE. Actually,
ACE is supposed
> > > >         > to build as part of the build_oem.sh script. However,
when you ran
> > > >         > build_oem.sh, ACE probably failed but did not exit the
script (the
> > > >         > script in the released tar has that problem), so it
was really broken
> > > >         > from the start. I don't know how much this has messed
up the build
> > > >         > environment, so what I would do is to clean out the
mapguide-1.0.0
> > > >         > directory completely, unzip the mapguide source again,
then apply this
> > > >         > change *before* building anything.
> > > >         >
> > > >         > Traian
> > > >         >
> > > >         >
> > > >         > -----Original Message-----
> > > >         > From: Javier de la Torre [mailto:jatorre at gmail.com]
> > > >         > Sent: Thursday, May 04, 2006 2:16 PM
> > > >         > To: users at mapguide.osgeo.org
> > > >         > Subject: Re: [mapguide-users] Installing mapguide
> > > >         >
> > > >         > I am loading lot of data in a PostGIS database so I am
bored :)
> > > >         >
> > > >         > I tried modifying this as you said and now I got a
different error...
> > > >         > I could try to upgrade to gcc 4 but this is hard, this
is a
> > > >         > dependencies nightmare...
> > > >         >
> > > >         > For your info this is the error I get now:
> > > >         > .....
> > > >         > de-1.0.0/Server/src/UnitTesting/.libs
> > > >         > /usr/bin/ld: cannot find -lACE
> > > >         > collect2: ld returned 1 exit status
> > > >         > make[3]: *** [mgserver] Error 1
> > > >         > make[3]: Leaving directory
> > > >         >
`/root/mapguide_install/mapguide-1.0.0/Server/src/Core'
> > > >         > make[2]: *** [all-recursive] Error 1
> > > >         > make[2]: Leaving directory
> > > >         > `/root/mapguide_install/mapguide-1.0.0/Server/src'
> > > >         > make[1]: *** [all-recursive] Error 1
> > > >         > make[1]: Leaving directory
> > > >         > `/root/mapguide_install/mapguide-1.0.0/Server'
> > > >         > make: *** [all-recursive] Error 1
> > > >         >
> > > >         > On 5/4/06, Traian Stanev <traian.stanev at autodesk.com>
wrote:
> > > >         >>
> > > >         >> OK. This more or less matches what I was seeing -- I
was trying to
> > > >         >> compile on gentoo with gcc 3.4 yesterday. It has to
do with some
> > > >         >> templates in the ACE component. If I fix it I will
send you the patch
> > > >         >> needed to the ACE global header.
> > > >         >>
> > > >         >> If you are feeling bored until then, you could try
opening
> > > >         >> ./Oem/ACE/ACE_wrappers/ace/Global_Macros.h and
replace the two
> > > >         >> occurences of (__GNUC__ >= 4) by (__GNUC__ >= 3).
However, I am not
> > > >         > sure
> > > >         >> this is sufficient, since I haven't gotten through
the whole ACE
> > > >         >> build
> > > >         >> successfully yet.
> > > >         >>
> > > >         >> Or you could try a different version of gcc but
that's probably more
> > > >         >> painful if you don't have one installed already.
> > > >         >>
> > > >         >> Traian
> > > >         >>
> > > >         >>
> > > >         >>
> > > >         >> -----Original Message-----
> > > >         >> From: Javier de la Torre [mailto:jatorre at gmail.com]
> > > >         >> Sent: Thursday, May 04, 2006 1:35 PM
> > > >         >> To: users at mapguide.osgeo.org
> > > >         >> Subject: Re: [mapguide-users] Installing mapguide
> > > >         >>
> > > >         >> 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
> > > >         >>>
> > > >         >>>
> > > >         >>
> > > >         >>
---------------------------------------------------------------------
> > > >         >> 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