Opened 11 years ago

Closed 10 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 11 years ago.
extra patch for 1017.patch (760 bytes) - added by hubu 11 years ago.
this is the extra patch for this ticket

Download all attachments as: .zip

Change History (14)

comment:1 Changed 11 years ago by hubu

External ID: #1017

comment:2 Changed 11 years ago by hubu

External ID: #10171233855

comment:3 Changed 11 years ago by hubu

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

comment:4 Changed 11 years ago by jbirch

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 Changed 11 years ago by jbirch

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

comment:6 Changed 11 years ago by hubu

Milestone: 2.12.2

Changed 11 years ago by hubu

Attachment: #1233855.patch added

comment:7 Changed 11 years ago by hubu

Resolution: fixed
Status: newclosed

Changed 11 years ago by hubu

Attachment: extra patch for 1017.patch added

this is the extra patch for this ticket

comment:8 Changed 11 years ago by hubu

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 Changed 11 years ago by tomfukushima

Resolution: fixed
Status: reopenedclosed

comment:10 Changed 11 years ago by hubu

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 Changed 11 years ago by tomfukushima

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

comment:12 Changed 10 years ago by trevorwekel

Resolution: fixed
Status: reopenedclosed

The build works now.

Note: See TracTickets for help on using tickets.