Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Firefox / Mozilla / March 2005



Tip: Looking for answers? Try searching our database.

--enable-standalone-modules=xpcom,plugin

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Derk-Jan Hartman - 09 Mar 2005 13:46 GMT
Hello all,

A long, long time ago (2 years?) someone ported VLC media players
(http://www.videolan.org/vlc) mozilla module to OS X. Developement on
this never really continued, basically because compiling the entire
Mozilla tree just to build a plugin on OS X was getting annoying quite
fast (and there was also a problem with video, but this has been
corrected since).

Now that I have my new (faster) Mac, i thought i'd give it a shot again.
 Compiling the entire mozilla tree is still annoying, but i'd thought
I'd give it a try again. Compiling the entire mozilla tree (though it
works) is annoying, because every developer would have to do it and it
just takes hours which ppl don't want to spent waiting. Also because of
our selfcontained "ports" like system for 3rd party dependencies, our
nightlies would now take an extra 5 hours to finish. There is still no
gecko-sdk for OSX, but i was thinking that i'd might try creating a
minimal mozilla setup instead, that would be suited for linking mozilla
plugins to.

Did some looking around and figured that
--enable-standalone-modules=xpcom would be something useful for me.
Tried it with 1.7.5 and built just fine. I soon realized though, I also
needed plugin to be built. And this is where stuff goes wrong. On
everything from 1.6 trough 1.8b1 i get builderrors with this configure
line (--enable-standalone-modules=xpcom,plugin). Most often because it
wants to link to libmozreg_s.a.
I tried adding libreg to the modules list, but this adds a slew of other
stuff which I probably won't need (and besides it doesn't build as
standalone either).

http://sidequest.org/weblog/archives/2005/03/mozilla_plugin.html

Anyone got any other ideas on what i can try?
DJ
Christian Biesinger - 09 Mar 2005 15:59 GMT
> Most often because it wants to link to libmozreg_s.a.

Hm, I now thought of a maybe better list of available modules:
 http://lxr.mozilla.org/seamonkey/source/build/unix/modules.mk#64

Anyway, do things work if you add libreg to the
--enable-standalone-modules list?
Derk-Jan Hartman - 09 Mar 2005 19:15 GMT
>> Most often because it wants to link to libmozreg_s.a.
>
[quoted text clipped - 3 lines]
> Anyway, do things work if you add libreg to the
> --enable-standalone-modules list?

No, it doesn't.
I didn't test this on all the versions, but 1.7.5 gives:

with:
--enable-standalone-modules=libreg,xpcom,plugin

+++ overriding content/communicator-platform/contents.rdf
content/communicator-region/contents.rdf content/communicator/contents.rdf
  adding: content/communicator-platform/contents.rdf (stored 0%)
  adding: content/communicator-region/contents.rdf (stored 0%)
  adding: content/communicator/contents.rdf (stored 0%)
+++ making chrome
/Volumes/Genitus/pjotr/Development/vlc/extras/contrib/src/mozilla/xpfe/communicator
 => ../../dist/bin/chrome/en-US.jar
+++ updating chrome ../../dist/bin/chrome/installed-chrome.txt
+++
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/communicator/
  adding: locale/en-US/communicator/utilityOverlay.dtd (stored 0%)
  adding: locale/en-US/communicator/utilityOverlay.properties (stored 0%)
  adding: locale/en-US/communicator/openLocation.dtd (stored 0%)
  adding: locale/en-US/communicator/openLocation.properties (stored 0%)
  adding: locale/en-US/communicator/tasksOverlay.dtd (stored 0%)
  adding: locale/en-US/communicator/contentAreaCommands.dtd (stored 0%)
  adding: locale/en-US/communicator/contentAreaCommands.properties
(stored 0%)
  adding: locale/en-US/communicator/askViewZoom.dtd (stored 0%)
  adding: locale/en-US/communicator/viewZoomOverlay.dtd (stored 0%)
  adding: locale/en-US/communicator/viewZoomOverlay.properties (stored 0%)
  adding: locale/en-US/communicator/printPreview.dtd (stored 0%)
  adding: locale/en-US/communicator/popupManager.dtd (stored 0%)
  adding: locale/en-US/communicator/popupManager.properties (stored 0%)
  adding: locale/en-US/communicator/aboutPopups.dtd (stored 0%)
  adding: locale/en-US/communicator/plugins.properties (stored 0%)
+++ overriding locale/en-US/communicator/contents.rdf
  adding: locale/en-US/communicator/contents.rdf (stored 0%)
+++ making chrome
/Volumes/Genitus/pjotr/Development/vlc/extras/contrib/src/mozilla/xpfe/communicator
 => ../../dist/bin/chrome/US.jar
+++ adding chrome ../../dist/bin/chrome/installed-chrome.txt
+++
locale,install,url,jar:resource:/chrome/US.jar!/locale/US/communicator-region/
  adding: locale/US/communicator-region/region.properties (stored 0%)
+++ overriding locale/US/communicator-region/contents.rdf
  adding: locale/US/communicator-region/contents.rdf (stored 0%)
+++ making chrome
/Volumes/Genitus/pjotr/Development/vlc/extras/contrib/src/mozilla/xpfe/communicator
 => ../../dist/bin/chrome/en-win.jar
  adding:
locale/en-US/communicator-platform/platformCommunicatorOverlay.dtd
(stored 0%)
+++ overriding locale/en-US/communicator-platform/contents.rdf
  adding: locale/en-US/communicator-platform/contents.rdf (stored 0%)
+++ making chrome
/Volumes/Genitus/pjotr/Development/vlc/extras/contrib/src/mozilla/xpfe/communicator
 => ../../dist/bin/chrome/en-unix.jar
  adding:
locale/en-US/communicator-platform/platformCommunicatorOverlay.dtd
(stored 0%)
+++ overriding locale/en-US/communicator-platform/contents.rdf
  adding: locale/en-US/communicator-platform/contents.rdf (stored 0%)
+++ making chrome
/Volumes/Genitus/pjotr/Development/vlc/extras/contrib/src/mozilla/xpfe/communicator
 => ../../dist/bin/chrome/en-mac.jar
+++ adding chrome ../../dist/bin/chrome/installed-chrome.txt
+++
locale,install,url,jar:resource:/chrome/en-mac.jar!/locale/en-US/communicator-platform/
  adding:
locale/en-US/communicator-platform/platformCommunicatorOverlay.dtd
(stored 0%)
+++ overriding locale/en-US/communicator-platform/contents.rdf
  adding: locale/en-US/communicator-platform/contents.rdf (stored 0%)
+++ updating chrome ../../dist/bin/chrome/installed-chrome.txt
+++
locale,install,url,jar:resource:/chrome/en-mac.jar!/locale/en-US/communicator-platform/
+++ making chrome
/Volumes/Genitus/pjotr/Development/vlc/extras/contrib/src/mozilla/xpfe/global/resources/content/mac
 => ../../../../../dist/bin/chrome/toolkit.jar
zip warning: ../toolkit.jar not found or empty
  adding: content/global/platformDialogOverlay.xul (stored 0%)
  adding: content/global/platformXUL.css (stored 0%)
  adding: content/global/platformDialog.xml (stored 0%)
+++ adding chrome ../../../../dist/bin/chrome/installed-chrome.txt
+++
content,install,url,jar:resource:/chrome/toolkit.jar!/content/global/
+++ adding chrome ../../../../dist/bin/chrome/installed-chrome.txt
+++
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/global/
/usr/bin/perl -I../../config ../../config/aboutime.pl build.dtd
../../config/build_number ./build.dtd.in
make[5]: *** No rule to make target `buildconfig.html', needed by
`libs'.  Stop.
make[4]: *** [libs] Error 2
make[3]: *** [libs] Error 2
make[2]: *** [default] Error 2
Derk-Jan Hartman - 10 Mar 2005 13:15 GMT
So looking at this again, it actually seems adding libreg works, it just
uncovers Yet Another problem with the plugin module ????

anyone?
Besides, why has plugin so many dependancies anyways? It's in the top15
of largest modules.
I mean damn this is a long list:

xpcom/string modules/libimg/png js/src/fdlibm js/src js/src/xpconnect
ipc/ipcd xpcom/obsolete embedding/components/profilesharingsetup
modules/libpref netwerk/cache intl/uconv/native webshell/public
widget/src/gtkxtbin netwerk/mime uriloader/base
embedding/components/windowwatcher/public rdf/util intl/unicharutil
parser/expat modules/libutil parser/htmlparser rdf
profile/dirserviceprovider xpfe/components/shistory
embedding/components/webbrowserpersist db/mdb/public db/mork/src
db/mork/build xpfe/browser/public xpfe
embedding/components/ui/progressDlg xpfe/components/download-manager
directory/xpcom/base editor/txmgr xpfe/components/directory
xpfe/components/find/public xpfe/components/find/src
xpfe/components/search/datasets xpfe/components/search/public
xpfe/components/search/src xpfe/components/related/public
xpfe/components/related/src xpfe/components/intl
xpfe/components/windowds xpfe/components/autocomplete/public
xpfe/components/autocomplete/src xpfe/components/bookmarks/public
xpfe/components/bookmarks/src xpfe/components/urlbarhistory/public
xpfe/components/urlbarhistory/src xpfe/components/build
xpfe/components/history/public xpfe/components/history
embedding/browser/webBrowser embedding/browser/build
profile/pref-migrator profile xpfe/appshell
xpfe/components/xremote/public xpfe/components/xremote widget/public
widget/src view editor/composer/public intl/lwbrk content/xul/content
content/xul/templates content/xul/document
embedding/components/ui/helperAppDlg embedding/components/find
embedding/components/commandhandler editor/txtsvc editor
uriloader/prefetch docshell embedding/components/jsconsole/public
embedding/base embedding/components/windowwatcher/src
embedding/components/appstartup/src embedding/components/jsconsole/src
embedding/components/printingui/src/unixshared
embedding/components/build intl/chardet/public intl/chardet/src
intl/uconv intl/locale accessible netwerk/protocol/viewsource
netwerk/protocol/gopher netwerk/build2 sun-java modules/libjar
js/src/liveconnect modules/oji other-licenses/libart_lgpl layout
rdf/chrome/src rdf/chrome/build content gfx/src/xprintutil
gfx/src/xlibrgb gfx jpeg modules/libpr0n netwerk intl/strres caps dom
uriloader/exthandler modules/plugin

DJ

>>> Most often because it wants to link to libmozreg_s.a.
>>
[quoted text clipped - 100 lines]
> make[3]: *** [libs] Error 2
> make[2]: *** [default] Error 2
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.