PDA

View Full Version : building minimo



dbbolton
November 26th, 2006, 01:22 PM
so, i'm trying to build my own linux-compatible version of minimo.

a few references:
http://www.mozilla.org/projects/minimo/build.html
http://developer.mozilla.org/en/docs/Mozilla_Source_Code_Via_CVS
http://developer.mozilla.org/en/docs/Configuring_Build_Options#Using_a_.mozconfig_Confi guration_File

here's my mozconfig file:

# Mozilla configuration file
# http://developer.mozilla.org/en/docs/Configuring_Build_Options#Using_a_.mozconfig_Confi guration_File

. $topsrcdir/minimo/config/mozconfig

#########################
# these go to client.mk #
#########################
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
mk_add_options MOZ_CO_PROJECT=minimo

#########################
# these go to configure #
#########################
ac_add_options --enable-application=minimo

ac_add_options --enable-optimize
# Enables the default compiler optimization options

ac_add_options --enable-default-toolkit=gtk2
# Graphics Toolkit

ac_add_options --enable-xft
# Font Rendering

ac_add_options --disable-static --enable-shared
ac_add_options --disable-js-static-build
# Static build
when i run "make -f client.mk build_all", i get this error:


/usr/bin/ld: cannot find -lxpcom
collect2: ld returned 1 exit status
make[5]: *** [libpref.so] Error 1
make[5]: Leaving directory `/home/daniel/mozilla/obj-i686-pc-linux-gnu/modules/l ibpref/src'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/home/daniel/mozilla/obj-i686-pc-linux-gnu/modules/l ibpref'
make[3]: *** [libs_tier_necko] Error 2
make[3]: Leaving directory `/home/daniel/mozilla/obj-i686-pc-linux-gnu'
make[2]: *** [tier_necko] Error 2
make[2]: Leaving directory `/home/daniel/mozilla/obj-i686-pc-linux-gnu'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/daniel/mozilla/obj-i686-pc-linux-gnu'
make: *** [build] Error 2
does anyone know how to take care of this ?

dbbolton
November 26th, 2006, 09:02 PM
come on people. don't make me lose faith in the community.

dbbolton
November 26th, 2006, 11:19 PM
ok. thanks so much.

guadafan
July 29th, 2007, 09:06 AM
Had you try apt-get build-dep mozilla-firefox?

adamantivm
January 8th, 2008, 02:04 PM
I was just able to build and run minimo under Feisty

What I did is more or less:



apt-get build-dep mozilla-firefox


as suggested by guadafan.

Then, followed these insctuctions (http://forums.mozillazine.org/viewtopic.php?t=552627), which can be summarized in:



export CVSROOT=':pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot'
cvs co -r MOZILLA_1_8_BRANCH mozilla/client.mk mozilla/minimo/config/
cp mozilla/minimo/config/mozconfig/linux_x86 mozilla/mozconfig
cd mozilla
make -f client.mk checkout
make -f client.mk build_all


Everything seems to be fine.