All embedding/minimo stuff is deprecated. try:
$ cd your_top_obj_dir/ --------- note it might be your mozilla/
$ make package -C minimo/base it creates a dist/minimo with things you need. regards --Antonio Gomes ext Matthew Herren wrote:
Hi, I'm trying to compile Minimo on my Ubuntu 06.10 desktop (I'm developing a XUL application that runs of Familiar Linux, but I need to get minimo up on a desktop machine to develop and test...) I'm following the instructions from the Minimo project page on Mozilla.org, and trying to build from the 1.8 Branch. I use the default mozconfig from the CVS, though I add in an option to guess and use an object directory. I manage to build it with the "make -f client.mk build all" command, and I can then launch Minimo and it works (although it always displays segmentation fault errors when quiting). But then when when I want to package it all up, with these commands: cd $MOZ_OBJDIR/embedding/minimo make cd /path/to/mozilla/embedding/minimo ./package.sh I get this error at the make: make[2]: Entering directory `/home/test/devel/mozilla/obj-i686-pc-linux-gnu/embedding/minimo/app' Minimo.cpp c++ -o Minimo.o -c -I../../../dist/include/system_wrappers -include /home/test/devel/mozilla/config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -I/home/test/devel/mozilla/config -I../../../dist/include/gtkembedmoz -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/dom -I../../../dist/include/chrome -I../../../dist/include/locale -I../../../dist/include/webbrowserpersist -I../../../dist/include/find -I../../../dist/include/docshell -I../../../dist/include/webshell -I../../../dist/include/widget -I../../../dist/include/content -I../../../dist/include/browser -I../../../dist/include/necko -I../../../dist/include/pref -I../../../dist/include/history -I../../../dist/include/gfx -I../../../dist/include/webbrowserpersist -I../../../dist/include/layout -I../../../dist/include/webbrwsr -I../../../dist/include/history -I../../../dist/include/txtsvc -I../../../dist/include/windowwatcher -I../../../dist/include/appcomps -I../../../dist/include/xpcom -I../../../dist/include/nspr -I../../../dist/include/xpcom_obsolete -I../../../dist/include/minimo -I../../../dist/include -I../../../dist/include/nspr -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -Os -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/Minimo.pp /home/test/devel/mozilla/embedding/minimo/app/Minimo.cpp ../../../dist/include/gfx/nsCoord.h: In function ‘float NS_IEEEPositiveInfinity()’: ../../../dist/include/gfx/nsCoord.h:65: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../../dist/include/gfx/nsCoord.h: In function ‘PRBool NS_IEEEIsNan(float)’: ../../../dist/include/gfx/nsCoord.h:69: warning: dereferencing type-punned pointer will break strict-aliasing rules /home/test/devel/mozilla/embedding/minimo/app/Minimo.cpp: In function ‘void create_open_dialog(MinimoBrowser*)’: /home/test/devel/mozilla/embedding/minimo/app/Minimo.cpp:651: error: invalid lvalue in assignment make[2]: *** [Minimo.o] Error 1 make[2]: Leaving directory `/home/test/devel/mozilla/obj-i686-pc-linux-gnu/embedding/minimo/app' make[1]: *** [libs] Error 2 make[1]: Leaving directory `/home/test/devel/mozilla/obj-i686-pc-linux-gnu/embedding/minimo' make: *** [all] Error 2 I'm completely stuck, and would appreciate any pointers... best, matt _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
_______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
