Opened 15 years ago

Closed 14 years ago

#1017 closed defect (fixed)

X64 Build errors for Web Extension on Windows

Reported by: hubu Owned by: hubu
Priority: medium Milestone: 2.2
Component: Web API Version: 2.1.0
Severity: major Keywords:
Cc: External ID: 1233855

Description

There are some x64 build errors for Web Extension on Windows XP. When compile the ApacheAgent, the compiler complaints like this:

1>ApacheAgent.cpp 1>.\ApacheAgent.cpp(19) : fatal error C1083: Cannot open include file: 'httpd.h': No such file or directory 1>ApachePostParser.cpp 1>c:\mapguideenterprise\mgdev\os\web\src\apacheagent\ApachePostParser.h(21) : fatal error C1083: Cannot open include file: 'httpd.h': No such file or directory 1>ApacheResponseHandler.cpp 1>c:\mapguideenterprise\mgdev\os\web\src\apacheagent\ApacheResponseHandler.h(22) : fatal error C1083: Cannot open include file: 'httpd.h': No such file or directory

I believe there are some configure errors for this project on X64. For fix this issue, we just need to get the 64-bits Apache HTTP Server 2.2.4, and make some update for the project setting of ApacheAgent.

Attachments (2)

#1233855.patch (8.4 KB ) - added by hubu 15 years ago.
extra patch for 1017.patch (760 bytes ) - added by hubu 15 years ago.
this is the extra patch for this ticket

Download all attachments as: .zip

Change History (14)

comment:1 by hubu, 15 years ago

External ID: #1017

comment:2 by hubu, 15 years ago

External ID: #10171233855

comment:3 by hubu, 15 years ago

And there are some Link Errors for PhpMapGuideApiEnvConfig and PhpApi, because we missing the php-5.2.5 (x64).

comment:4 by jbirch, 15 years ago

Sure would be nice to take this opportunity to upgrade Apache to the latest 2.2 (2.2.11 as of this note) rather than adding another outdated dependency.

I'm guessing that the milestone for this ticket should be 2.2?

comment:5 by jbirch, 15 years ago

Component: Web Site (mapguide.osgeo.org)Web API

comment:6 by hubu, 15 years ago

Milestone: 2.12.2

by hubu, 15 years ago

Attachment: #1233855.patch added

comment:7 by hubu, 15 years ago

Resolution: fixed
Status: newclosed

by hubu, 15 years ago

Attachment: extra patch for 1017.patch added

this is the extra patch for this ticket

comment:8 by hubu, 15 years ago

Resolution: fixed
Status: closedreopened

There are some build error on Linux after the last submission. So I need to reopen this ticket and make the other submission to fix the break build on Linux.

comment:9 by tomfukushima, 15 years ago

Resolution: fixed
Status: reopenedclosed

comment:10 by hubu, 15 years ago

Resolution: fixed
Status: closedreopened

Sorry, there are still some build errors, because we didn't update the makefile.am for ApacheAgent. In this makefile.am, we need to update the apache from httpd-2.2.4 to httpd-2.2.11. So I have reopen the ticket again, and attach another patch for fix this build break.

comment:11 by tomfukushima, 15 years ago

Patch not attached? Anyway, I found the changes required in the makefile.am file and updated the references: r4010.

comment:12 by trevorwekel, 14 years ago

Resolution: fixed
Status: reopenedclosed

The build works now.

Note: See TracTickets for help on using tickets.