On 09/30/09 16:04, Christian Lohmaier wrote:
On Wed, Sep 30, 2009 at 2:06 PM, Stephan Bergmann
<stephan.bergm...@sun.com> wrote:
On 09/30/09 13:08, Christian Lohmaier wrote:
You can do a full build (with compiling seamonkey) since m53 without
the need for any third-party build-stuff.
What does the full configure command line look like in that case?

I build with:
--with-use-shell=bash --disable-build-mozilla --enable-werror

But without the --disable-build-mozilla you *do* need additional stuff. At least I do, at least on some random Leopard box. With the below script on that box configure fails with:

checking for seamonkey-1.1.14.source.tar.gz... not found
checking for seamonkey-1.1.14.source.tar.bz2... found
checking for pkg-config... no
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
configure: error: libIDL 0.6.3 or newer is needed to build mozilla with mac 
toolkit

The script:

#!/bin/bash
set -ev

# On Mac OS X 10.5.8 with Xcode 3.1.2:
# - install MacPorts 1.8.1
# (<http://distfiles.macports.org/MacPorts/MacPorts-1.8.1-10.5-Leopard.dmg>)
# sudo /opt/local/bin/port selfupdate
## sudo /opt/local/bin/port install libidl +universal
## sudo /opt/local/bin/port install mercurial pkgconfig wget
# sudo /opt/local/bin/port install mercurial wget

mkdir DEV300m60

#mkdir DEV300m60/pkgconfig
#ln -s /opt/local/lib/pkgconfig/glib-2.0.pc DEV300m60/pkgconfig/
#ln -s /opt/local/lib/pkgconfig/libIDL-2.0.pc DEV300m60/pkgconfig/
#export PKG_CONFIG=/opt/local/bin/pkg-config \
# PKG_CONFIG_LIBDIR=$PWD/DEV300m60/pkgconfig

/opt/local/bin/hg clone -r DEV300_m60 \
 http://hg.services.openoffice.org/hg/DEV300 DEV300m60/ooo
/opt/local/bin/wget \
 http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll \
 -P DEV300m60/ooo/external/unowinreg
/opt/local/bin/wget \
 
ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.14/seamonkey-1.1.14.source.tar.bz2
 \
 -P DEV300m60/ooo/moz/download

cd DEV300m60/ooo
./configure --enable-werror --with-use-shell=bash
./bootstrap
. MacOSXX86Env.Set.sh
shopt -s expand_aliases
cd smoketestoo_native
build --all -P2 -- -P2

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: mac-unsubscr...@porting.openoffice.org
For additional commands, e-mail: mac-h...@porting.openoffice.org

Reply via email to