I build xulrunner 24 on mac os 10.9.1 maverick (Xcode 5.0.2). Its my configuration
if [ "$BUILD_TYPE" = "release" ]; then
SDK_DIR=../Mozilla-24.0.0-SDK
DIST_DIR=./release/dist
echo "mk_add_options MOZ_CO_PROJECT=xulrunner
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/release
mk_add_options MOZ_MAKE_FLAGS=-j1
ac_add_options --with-macos-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
ac_add_options --target=i386-apple-darwin10.0.0
ac_add_options --enable-macos-target=10.6
ac_add_options --enable-application=xulrunner
ac_add_options --enable-jemalloc
ac_add_options --enable-optimize
ac_add_options --enable-shared-js
ac_add_options --enable-cpp-rtti
ac_add_options --with-libxul-sdk
ac_add_options --disable-javaxpcom
ac_add_options --disable-webgl
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --disable-crashreporter
ac_add_options --disable-webm
ac_add_options --disable-libjpeg-turbo
ac_add_options --disable-dash
ac_add_options --disable-webrtc
ac_add_options --disable-ogg
ac_add_options --disable-jsd
ac_add_options --disable-feeds
ac_add_options --disable-view-source
ac_add_options --disable-installer
ac_add_options --disable-updater
CC=\"clang -arch i386\"
CXX=\"clang++ -arch i386\"
RANLIB=ranlib
AR=ar
AS=$CC
LD=ld
STRIP=\"strip -x -S\"
CROSS_COMPILE=1" > .mozconfig
fi
date
python build/pymake/make.py -f client.mk build
#
# Preparing the SDK directory
#
SDK_DIR_LIB=$SDK_DIR/lib
SDK_DIR_BIN=$SDK_DIR/bin
SDK_DIR_INCLUDE=$SDK_DIR/include
SDK_DIR_IDL=$SDK_DIR/idl
rm -f -r $SDK_DIR
#read -p "Press ENTER key to continue"
mkdir -p $SDK_DIR
mkdir -p $SDK_DIR_BIN
mkdir -p $SDK_DIR_LIB
mkdir -p $SDK_DIR_INCLUDE
mkdir -p $SDK_DIR_IDL
echo cp -f -r $DIST_DIR/bin/ $SDK_DIR_BIN
cp -f -r $DIST_DIR/bin/* $SDK_DIR_BIN
echo cp -f -r $DIST_DIR/include/ $SDK_DIR_INCLUDE
cp -f -r $DIST_DIR/include/* $SDK_DIR_INCLUDE
echo cp -f -r $DIST_DIR/idl/ $SDK_DIR_IDL
cp -f -r $DIST_DIR/idl/* $SDK_DIR_IDL
echo cp -f -r $DIST_DIR/sdk/lib/ $SDK_DIR_LIB
cp -f -r $DIST_DIR/sdk/lib/* $SDK_DIR_LIB
date
echo
echo " --- THE END ---"
Xulrunner build all right. But I can not find libxpcom.dylib and libnspr4.dylib, which used in my application. Maybe there is a error in my configuration.
Please help me!
xulrunner 24
Discuss building things with or for the Mozilla Platform.
Return to “Mozilla Development”
Jump to
- Mozilla Firefox
- ↳ Firefox Support
- ↳ Firefox General
- ↳ Firefox Builds
- ↳ Firefox Features
- ↳ Firefox Bugs
- Mozilla Thunderbird
- ↳ Thunderbird Support
- ↳ Thunderbird General
- ↳ Thunderbird Builds
- ↳ Thunderbird Features
- ↳ Thunderbird Bugs
- SeaMonkey/Mozilla Suite
- ↳ SeaMonkey Support
- ↳ SeaMonkey General
- ↳ SeaMonkey Builds
- ↳ SeaMonkey Features
- ↳ SeaMonkey Bugs
- Other Mozilla Discussion
- ↳ Camino
- ↳ Calendar
- ↳ Mobile
- ↳ Miscellaneous Support
- ↳ Other Applications and Distributions
- Extensions and Themes
- ↳ Extension/Theme Releases
- ↳ Extension Development
- ↳ Theme Development
- Development
- ↳ Mozilla Development
- ↳ Web Development / Standards Evangelism
- ↳ Third Party/Unofficial Builds
- MozillaZine
- ↳ MozillaZine Site Discussion
- ↳ MozillaZine Tech