[mapguide-users] MapGuide on Fedora Core 5

Traian Stanev traian.stanev at autodesk.com
Tue Jul 18 15:07:56 EDT 2006


The mapagent is a cgi agent that apache is supposed to instantiate. It's
not surprising that it fails from the command line, since Apache does
provide some context and environment variables for it to run
successfully.

To start the server process, you will need to locate and run a script
called mgserver.sh. It should be under
/usr/local/mapguideopensource/server/Bin. Once the server process is
started successfully, you can navigate a web browser to:

http://localhost/mapguide/mapagent/index.html and execute some server
commands from the html page to see if things are working.


Traian
 

-----Original Message-----
From: Marcus Spurkel [mailto:mspurkel at pacbell.net] 
Sent: Tuesday, July 18, 2006 3:02 PM
To: users at mapguide.osgeo.org
Subject: Re: [mapguide-users] MapGuide on Fedora Core 5

Urk!  Sorry -- lame brain mistake on my part.  Of course you can't pass 
the query string on the command line like that.  What I meant to run is 
simply:
# /usr/local/mapguideopensource/webserverextensions/bin/mapagent
And I got back a "Segmentation fault".  Does this indicate a problem 
with the entire server, or just the mapagent program?

-Marcus

Marcus Spurkel wrote:

> Thanks Traian.
>
> I've made good progress (I think): Got MapGuide to compile & install 
> and I have successfully built FastCGI, which was also a challenge in 
> Apache 2.2.  Since I already have Apache installed, I went through the

> build script and applied the settings manually.  I thought I was ready

> to try the mapagent.fcgi test from the "Building and Configuring on 
> Linux" PDF, but alas, the server returns a 500 error.  Just for fun, I

> tried running it from a command prompt on the server and got the 
> following message:
> # 
>
./mapagent?OPERATION=ENUMERATERESOURCES&VERSION=1.0.0&RESOURCEID=Library
:// 
>
> [1] 18444
> [2] 18445
> -bash: ./mapagent?OPERATION=ENUMERATERESOURCES: No such file or
directory
>
> "No such file or directory"?  Does that mean I don't have something 
> configured right?  Is this an obvious error to you?  A little help 
> would be greatly appreciated.
>
> -Marcus
>
> Traian Stanev wrote:
>
>>
>> Hi Marcus.
>>
>> The highest gcc we have tried so far is 4.0.2. The "extra 
>> qualification" stuff we've already fixed. Only the -pedantic setting 
>> in gcc would throw that error before 4.1, and we didn't use that so 
>> that's why we didn't catch it.
>>
>> Your solution to the template instantiation is also correct. Removing

>> it shouldn't hurt as far as I know. We'll take care of that too.
>>
>> Please let us know if you have more problems (at least the ones 
>> related to MapGuide, hehe).
>>
>>
>> Traian
>>
>>
>>     -----Original Message-----     From: Marcus Spurkel 
>> [mailto:mspurkel at pacbell.net]     Sent: Mon 7/17/2006 4:51 PM     To:

>> users at mapguide.osgeo.org     Cc:     Subject: [mapguide-users] 
>> MapGuide on Fedora Core 5
>>     
>>     
>>
>>     Okay, I may be completely out of my mind here (as well as new to 
>> this
>>     project so I probably just don't know any better <g>) but I'm 
>> trying to
>>     compile MapGuide on my Fedora Core 5 server with gcc 4.1.1.
>>     
>>     Having a devil of a time.  It basically boils down to running
make,
>>     waiting for it to bomb out and then looking at and hopefully 
>> fixing the
>>     error.
>>     
>>     And there are lots of 'em!  Most of the complaints were of the 
>> "extra
>>     qualification..." variety so I just deleted the offending 
>> qualifier.  I
>>     also ran into the "explicit instantiation of non-template 
>> type..." error
>>     in ChannelBand.h.  The best solution I've found so far was to 
>> comment
>>     out the line entirely -- it doesn't seem to hurt the 
>> compilation.  The
>>     new gcc seems to be a lot less forgiving than the version that 
>> MapGuide
>>     is normally compiled with (3.4?)  This may be a fool's quest.
>>     
>>     But I _did_ finally get it to compile!
>>     
>>     I'm running "make check" right now (so far, so good -- it's an
old
>>     machine so it'll take a while) and looking forward to seeing if 
>> it will
>>     actually work...
>>     
>>     Has anyone else had any experience with MapGuide on a new system?
>>     
>>
--------------------------------------------------------------------- 
>>
>>     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
>>
>>
------------------------------------------------------------------------
>>
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 
>> 7/17/2006
>>  
>>
>
> ---------------------------------------------------------------------
> 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