Closed Bug 584046 Opened 14 years ago Closed 14 years ago

seamonkey-2.1: mailnews build system does not honor --disable-printing

Categories

(SeaMonkey :: Build Config, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 362455

People

(Reporter: polynomial-c, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100802 Gentoo/2.0.6 SeaMonkey/2.0.6 Build Identifier: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/2.1a2/source/seamonkey-2.1a2.source.tar.bz2 This bug was cloned from bug #362455 The mailnews build system does not honor this ./configure option: --disable-printing . The make fails with this output: i686-pc-linux-gnu-g++ -o nsMessenger.o -c -I../../../mozilla/dist/stl_wrappers -I../../../mozilla/dist/system_wrappers -include ../../../mozilla/config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DMOZ_SUITE=1 -DOSTYPE=\"Linux2.6.32\" -DOSARCH=Linux -DHAVE_MOVEMAIL -I. -I. -I../../../mozilla/dist/include -I../../../mozilla/dist/include/nsprpub -I/usr/include/nspr -I/usr/include/nss -fPIC -fno-rtti -fno-handle-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-long-long -march=barcelona -pipe -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -DMOZILLA_CLIENT -include ../../../comm-config.h -Wp,-MD,.deps/nsMessenger.pp nsMessenger.cpp nsMessenger.cpp:81:32: error: nsIWebBrowserPrint.h: No such file or directory In file included from nsMessenger.cpp:126: nsMsgPrintEngine.h:60:30: error: nsIPrintProgress.h: No such file or directory nsMsgPrintEngine.h:61:36: error: nsIPrintProgressParams.h: No such file or directory nsMsgPrintEngine.h:62:38: error: nsIPrintingPromptService.h: No such file or directory In file included from nsMessenger.cpp:126: nsMsgPrintEngine.h:119: error: ‘nsIPrintingPromptService’ was not declared in this scope nsMsgPrintEngine.h:119: error: template argument 1 is invalid nsMsgPrintEngine.h:121: error: ‘nsIPrintProgress’ was not declared in this scope nsMsgPrintEngine.h:121: error: template argument 1 is invalid nsMsgPrintEngine.h:122: error: ‘nsIPrintProgressParams’ was not declared in this scope nsMsgPrintEngine.h:122: error: template argument 1 is invalid make[4]: *** [nsMessenger.o] Error 1 Most probably there are many other places in the code where the --disable-priting option isn't recognized also. Reproducible: Always Steps to Reproduce: 1. Install seamonkey-2.1a2 sources 2. Configure it with the --disable-printing option to ./configure 3. Compile Seamonkey using "make" (GNU make). Actual Results: Compilation fails with the above mentioned error. Expected Results: Compilation should finish successfully.
This patch is a slightly reworked version of https://bug362455.bugzilla.mozilla.org/attachment.cgi?id=462312 to fit for seamonkey's mailnews code.
Why, oh, why, are you redoing the work I already have around for bug 482312? :P
(In reply to comment #2) > Why, oh, why, are you redoing the work I already have around for bug 482312? :P This is not how bugs should be handled. You should not be mixing to completely different bugs. That said your wip patch is a long way from qt-cairo build error hense it belongs as a seperate bug report.
(In reply to comment #3) > (In reply to comment #2) > > Why, oh, why, are you redoing the work I already have around for bug 482312? :P > > This is not how bugs should be handled. You should not be mixing to completely > different bugs. That said your wip patch is a long way from qt-cairo build > error hense it belongs as a seperate bug report. It's not a long way, it's the fix for the build error.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: