Closed Bug 389798 Opened 17 years ago Closed 17 years ago

build failure, cannot find or see nsBuildID.h?

Categories

(Calendar :: Build Config, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 386925

People

(Reporter: ray, Unassigned)

Details

This is on Mac OS X 10.4.9 on a 2.16 GHz Intel Dual Core with 2 GB RAM.

I did the following:

% mkdir ~/mo/calendar
% cd ~/mo/calendar
% cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk

Then I fixed the client.mk file by changing "CVS = cvs" to "CVS = ocvs".

% make -f client.mk MOZ_CO_PROJECT=calendar

As you can see, I forgot to specify the "checkout" target. So, it tried to continue on through the call to configure and failed because it did not know to set --enable-application.

% ./configure-application --enable-application=calendar
% make

and I got:

+++ making chrome /Users/ray/mo/calendar/mozilla/calendar/sunbird/themes/pinstripe/sunbird  => ../../../../../dist/bin/chrome/classic.jar
  adding: icon.png (stored 0%)
  adding: preview.png (stored 0%)
nsCalendarApp.cpp
c++ -o nsCalendarApp.o -c -I../../../dist/include/system_wrappers -include ../../../config/gcc_hidden.h -DAB_CD=en-US -DAPP_VERSION="0.6a1" -DAPP_UA_NAME="Calendar" -DMOZILLA_INTERNAL_API -DOSTYPE=\"Darwin8.9.1\" -DOSARCH=Darwin -DSUNBIRD_ICO=\"../../../dist/branding/sunbird.ico\" -I../../../toolkit/xre -I../../../dist/include/appshell -I../../../dist/include/string -I../../../dist/include/xpcom -I../../../dist/include/xulapp -I../../../dist/include   -I../../../dist/include -I../../../dist/include/nspr  -DMOZ_PNG_READ -DMOZ_PNG_WRITE   -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar -I/Developer/Headers/FlatCarbon -pipe  -DNDEBUG -DTRIMMED -O  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsCalendarApp.pp nsCalendarApp.cpp
nsCalendarApp.cpp:45:23: error: nsBuildID.h: No such file or directory
gmake[4]: *** [nsCalendarApp.o] Error 1
gmake[3]: *** [libs] Error 2
gmake[2]: *** [libs_tier_app] Error 2
gmake[1]: *** [tier_app] Error 2
make: *** [default] Error 2

I noticed that the nsBuildID.h file was missing, so I tried a work-around. I copied config/nsBuildID.h.in to config/nsBuildID.h. I still got the same error.

I am not sure if the original configure, without the parameter, caused a problem, or if there is just a build issue. Will re-fetch and report later.
Ray, please search for duplicates before filing a bug. Searching for "nsBuildID.h" would have shown you the original bug.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.