Closed Bug 493672 Opened 15 years ago Closed 15 years ago

build error due to xulrunner/dist/sdk/include missing.

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: hiro, Assigned: hiro)

References

Details

(Keywords: mobile)

Attachments

(2 files)

The errors are: 

configure: error: /c/cygwin/home/user/hg/mozilla-central/objdir-wm6-test1/xulrun
ner/dist/sdk/include/xpcom-config.h doesn't exist
*** Fix above errors and then restart with               "make -f client.mk buil
d"
make[2]: *** [configure] Error 1
make[2]: Leaving directory `/c/cygwin/home/user/hg/mozilla-central'
make[1]: *** [/c/cygwin/home/user/hg/mozilla-central/objdir-wm6-test1/mobile/Mak
efile] Error 2
make[1]: Leaving directory `/c/cygwin/home/user/hg/mozilla-central'
make: *** [build] Error 2

this issuse is caused by bug 488175. CCing Benjamin.
.mozconfig:

# Options for client.mk.
mk_add_options MOZ_BUILD_PROJECTS="xulrunner mobile"

# Uncomment this line to do parallel make jobs
#  -jN, where N=2 works best on MacBook Pro Dual Processors
# mk_add_options MOZ_MAKE_FLAGS=-j2

# Options for VS8 verses VS9 / Debug verses Release
# Debug/Non-Opt = ~28 MByte XUL.dll
# Debug/Opt     = ~20 MByte XUL.dll
# Release/Opt   = ~12 MByte XUL.dll
ac_add_options --enable-debug
ac_add_options --disable-optimize
ac_add_options --enable-jemalloc
ac_add_options --enable-plugins
ac_add_options --enable-xpinstall
ac_add_options --enable-timeline
ac_add_options --enable-installer
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-wm6-test1

# mobile options
ac_add_app_options mobile --enable-application=mobile
ac_add_app_options mobile --with-libxul-sdk=../xulrunner/dist

ac_add_options --enable-tests

#WINCE specific options
ac_add_options --disable-javaxpcom
ac_add_options --disable-accessibility
ac_add_options --disable-printing
ac_add_options --disable-oji
ac_add_options --disable-vista-sdk-requirements
ac_add_options --disable-updater
ac_add_options --enable-image-decoders="png gif jpeg bmp icon"
ac_add_options --disable-dbm
ac_add_options --disable-ogg

CROSS_COMPILE=1

MIDL=/c/Program\ Files/Microsoft\ Visual\ Studio\ 9.0/VC/ce/bin/x86_arm/midl.exe

ac_add_options --target=arm-wince
ac_add_options --enable-win32-target=WINCE
ac_add_options --enable-default-toolkit=cairo-windows

ac_add_options --with-wince-sdk="c:/program files/windows mobile 6 sdk/pocketpc"
I noticed set --with-libxul-sdk seems to work. Or fix default path of libxul-sdk in configure.in?
Oops! I am foolish, I set --with-libxul-sdk in .mozconfig.
We need to change the path for checking xpcom-config.h in configure.in.
Attachment #378225 - Flags: superreview?(ted.mielczarek)
Attachment #378225 - Flags: review?(benjamin)
Attachment #378225 - Flags: superreview?(ted.mielczarek)
Attachment #378225 - Flags: review?(benjamin)
Attachment #378225 - Flags: review+
Blocks: 488175
No longer depends on: 488175
https://hg.mozilla.org/mozilla-central/rev/7255df34c791
Assignee: nobody → ikezoe
Status: NEW → RESOLVED
Closed: 15 years ago
Component: General → Build Config
Keywords: checkin-needed
Product: Fennec → Core
QA Contact: general → build-config
Resolution: --- → FIXED
Flags: in-testsuite-
Target Milestone: --- → mozilla1.9.2a1
Attachment #427640 - Flags: review?(bugspam.Callek) → review+
Comment on attachment 427640 [details] [diff] [review]
(Bv1) Copy it to comm-central
[Checkin: Comment 7]


http://hg.mozilla.org/comm-central/rev/5bdb089265e9
Attachment #427640 - Attachment description: (Bv1) Copy it to comm-central → (Bv1) Copy it to comm-central [Checkin: Comment 7]
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: