Closed Bug 789787 Opened 12 years ago Closed 11 years ago

Thunderbird build with Windows SDK 8.0 fails because MAPI headers are missing

Categories

(MailNews Core :: Build Config, defect)

x86_64
Windows 8
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 25.0

People

(Reporter: rain1, Assigned: m_kato)

References

Details

Attachments

(2 files, 6 obsolete files)

Installing the MAPI headers separately seems to be the only option. I've hacked the install path into INCLUDE locally. http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=12905 I couldn't find the path anywhere in the registry, so the reg trick we use to locate the DirectX SDK won't work. This sucks. We'll probably have to hardcode the default path and provide a configure option to set it.
We should check mapix.h in configure.in
Component: Simple MAPI → Build Config
Assignee: nobody → m_kato
Attached patch Part 2. can build mailnews if no mapi header (obsolete) (deleted) — Splinter Review
Comment on attachment 721060 [details] [diff] [review] Part 1. Build config change (detect MAPI header and add --disable-mapi) Windows 8 SDK has no MAPI headers. Even if no MAPI header, we should support it with --disable-mapi. Also we can download MAPI header from microsoft.com.
Attachment #721060 - Flags: review?(bugspam.Callek)
Comment on attachment 721062 [details] [diff] [review] Part 2. can build mailnews if no mapi header If no MAPI header in build environment, we should support it even if MSVC.
Attachment #721062 - Flags: review?(mbanner)
Comment on attachment 721060 [details] [diff] [review] Part 1. Build config change (detect MAPI header and add --disable-mapi) Hi Makato, could you refresh this now that bug 846540 has landed - you need to move the changes to mail/configure.in and suite/configure.in. I'll be happy to review both patches - I can review them as one.
Attachment #721060 - Flags: review?(bugspam.Callek)
Attachment #721062 - Flags: review?(mbanner)
Attachment #721060 - Attachment is obsolete: true
Attachment #737783 - Flags: review?(mbanner)
Attached patch Part 2. can build mailnews if no mapi header (obsolete) (deleted) — Splinter Review
Attachment #721062 - Attachment is obsolete: true
Attachment #737785 - Flags: review?(mbanner)
Comment on attachment 737783 [details] [diff] [review] Part 1. Build config change (detect MAPI header and add --disable-mapi) I need update again.
Attachment #737783 - Flags: review?(mbanner)
Attached patch Part 1. build config change (obsolete) (deleted) — Splinter Review
Attachment #737783 - Attachment is obsolete: true
Attachment #738367 - Flags: review?(mbanner)
Comment on attachment 737785 [details] [diff] [review] Part 2. can build mailnews if no mapi header Sorry, I forget update suite/*
Attachment #737785 - Flags: review?(mbanner)
Comment on attachment 738367 [details] [diff] [review] Part 1. build config change sorry, I forget udapte suite/*
Attachment #738367 - Flags: review?(mbanner)
Attached patch Part 1. build config change (obsolete) (deleted) — Splinter Review
add --disable-mapi flag
Attachment #738367 - Attachment is obsolete: true
Attachment #738368 - Flags: review?(mbanner)
Comment on attachment 738368 [details] [diff] [review] Part 1. build config change As this is just manually disabling, I think that's fine.
Attachment #738368 - Flags: review?(mbanner) → review+
Attached patch Part 1. build config change v2 (deleted) — Splinter Review
and here's the unbitrotted patch for you.
Attachment #738368 - Attachment is obsolete: true
Attachment #746969 - Flags: review+
I'm fine with this patch as well (attaching unbitrotted version).
Attachment #737785 - Attachment is obsolete: true
Attachment #746971 - Flags: review+
I've just landed this as it'll help people struggling with the mapi headers. https://hg.mozilla.org/comm-central/rev/a5ad797c274a https://hg.mozilla.org/comm-central/rev/bfe4e360ee05
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 25.0
(In reply to Philip Chee from comment #19) > Doesn't Suite need this bit as well? > https://hg.mozilla.org/comm-central/rev/bfe4e360ee05#l1.12 https://hg.mozilla.org/comm-central/rev/a5ad797c274a has buildconfig change for suite too.
Depends on: 913493
Where do the headers need to go? I'm assuming they aren't being looked for in C:\Office 2010 Developer Resources\Outlook 2010 MAPI Headers
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: