Opened 16 years ago

Closed 16 years ago

#644 closed defect (fixed)

building the WebServer

Reported by: ssnc Owned by:
Priority: high Milestone:
Component: Build System Version: 2.0.1
Severity: blocker Keywords:
Cc: serginistal@… External ID: ssnc

Description

Hello, when I build the solution of Server.sln (file located in InstallDir?\mapguide-x.y.z\Server) I have problems with files that do not exist. The following is an example of problems with files that do not exist:

Status Description File

Warning 131 We did not find the following environment variables: $(USRCFLAGS) Proyect

Error 8 fatal error C1083: Unable to open file include: 'Fdo.h': No such file or directory c:\mapguide\mapguide-2.0.0\server\src\common\manager\FdoConnectionManager?.h 29

Error 1 fatal error C1083: Unable to open file include: 'Fdo.h': No such file or directory c:\MAPGUIDE\mapguide-2.0.0\Server\src\Gws\Include\GwsCommon?.h 29

Error 55 fatal error C1083: Unable to open file include: 'Fdo.h': No such file or directory c:\mapguide\mapguide-2.0.0\common\stylization\LineBuffer?.h 28

Error 142 fatal error U1073: do not know how to do '..\..\..\Common\bin\debug\MgStylizationd?.dll' NMAKE Error 143 error PRJ0019: A tool returned an error code of "Running actions archives project MAKE" PostBuild?

Error 99 fatal error LNK1104: Unable to open file '..\..\..\lib\debug\mgservermanagerd.lib' ServerAdminService?

Error 76 fatal error LNK1104: Unable to open file '..\..\..\lib\debug\mgservermanagerd.lib' ServerBase?

Error 98 fatal error LNK1104: Unable to open file '..\..\..\lib\debug\mgservermanagerd.lib' ServerDrawingService?

Error 85 fatal error C1083: Unable to open file include: 'Fdo.h': No such file or directory c:\mapguide\mapguide-2.0.0\server\src\services\feature\ServerFeatureServiceDefs?.h 24

Error 101 fatal error LNK1104: Unable to open file '..\..\..\lib\debug\mgserverresourceserviced.lib' ServerSiteService?

Error 97 fatal error LNK1104: Unable to open file '..\..\..\lib\debug\mgservermanagerd.lib' ServerTileService?

Error 20 fatal error C1083: Unable to open file include: 'Fdo.h': No such file or directory c:\mapguide\mapguide-2.0.0\server\src\gws\gwsqueryengine\stdafx.h 42

Error 11 fatal error C1083: Unable to open file include: 'Fdo.h': No such file or directory c:\mapguide\mapguide-2.0.0\common\stylization\Stylization.h 77

If you need more information, please contact me; my email is serginistal@…

Thanks

Attachments (2)

Resultados-Generar.txt (33.4 KB ) - added by ssnc 16 years ago.
Results of the build Server.sln
httpd.conf (19.4 KB ) - added by ssnc 16 years ago.

Download all attachments as: .zip

Change History (12)

by ssnc, 16 years ago

Attachment: Resultados-Generar.txt added

Results of the build Server.sln

comment:1 by tomfukushima, 16 years ago

You need to get FDO. Once you have that, all of your errors will probably go away. Tom

comment:2 by ssnc, 16 years ago

I have downloaded the FDO components and I have descompressed and I have this problem.

comment:3 by tomfukushima, 16 years ago

Check to make sure fdo.h is in Oem\FDO\inc. If there, the projects will find it automatically. Otherwise, you have to reconfigure the projects to find the fdo.h file.

comment:4 by ssnc, 16 years ago

Summary: Problem with "building the Server"Problem with "building the WebServer"

I have solved the "building the Server". Now, When I open the project WebInstallDir\src\WebTier.sln to "Building the Web Server Extensions", there are two projects, IsapiAgent.vcproj and MapAgentCommon.vcproj, who said they do not exist and it is true, the folder MapAgentCommon exits, but within the folder the file MapAgentCommon.vcproj does not exist and IsapiAgent.vcproj there isn´t neither the folder IsapiAgent (the files are not in the mapGuide.tar-2.0.1.2716.tar.gz). Does this influences when making the Building the Web Server Extensions?

comment:5 by tomfukushima, 16 years ago

Hi, I noticed that the IsapiAgent directory was missing, but it didn't affect me because I was building on Linux where there is no need for ISAPI. You can get the code by running the following commands in a DOS window:

$ cd mapguide2.0.1\Web\src
$ svn export http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/Web/src/IsapiAgent
$ cd MapAgentCommon
$ svn export http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/Web/src/MapAgentCommon/MapAgentCommon.vcproj

I recommend cutting and pasting the above svn commands.

comment:6 by ssnc, 16 years ago

Sorry for so many annoyances, but the file MapGuide-2.0.1\Web\src\ApacheAgent\ApacheAgent.rc is not in the MapGuide-2.0.1.2716.tar.gz, I've downloaded from http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/Web/src/ApacheAgent/. As for the ticket of 645 I also tried with 7-zip and the same thing occurs.

by ssnc, 16 years ago

Attachment: httpd.conf added

comment:7 by ssnc, 16 years ago

Summary: Problem with "building the WebServer"Problem with "Configuration with Apache"

Hello, I am in step "Configuration with Apache (configuring Apache to Use PHP)", but this does not work. I try to address http://localhost/mapguide/mapagent/mapagent.fcgi? OPERATION=ENUMERATERESOURCES&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library://&TYPE=&DEPTH=-1 in the explorer and he returns "Firefox can not establish a connection to the server at localhost." I sent you the configuration file apache (httpd.conf). I have created the debug version and I'm working on windows. Can you help me? Thanks.

comment:8 by tomfukushima, 16 years ago

Summary: Problem with "Configuration with Apache"building the WebServer

Hi, you should discuss configuration issues on the mailing lists. Also, please do not retask or reuse existing tickets for new problems; please create a new ticket instead. Thanks

comment:9 by tomfukushima, 16 years ago

BTW, I forgot to mention that there might be errors in the documentation. If you find errors, please enter a ticket for them so that we remember to update it. Thanks

comment:10 by jng, 16 years ago

Resolution: fixed
Status: newclosed

Closing this as the build scripts I have submitted makes building all aspects of MapGuide much simpler.

Note: See TracTickets for help on using tickets.