ich versuche im moment mir einen Firefox sselber zu bauen mit einer Mischung aus den Debian- und den Swiftfox-Flags. Das sieht dann ungefähr so aus:
Zitat
./configure --prefix=/usr '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --with-distribution-id=org.debian --enable-default-toolkit=gtk2 --with-default-mozilla-five-home=/usr/lib/iceweasel --enable-pango --with-user-appdir=.mozilla --with-system-png=/usr --with-system-jpeg=/usr --disable-mailnews --disable-composer --disable-ldap --enable-postscript --disable-installer --enable-xprint --enable-crypto --disable-strip --disable-strip-libs --enable-canvas --enable-svg --enable-svg-renderer=cairo --enable-system-cairo --enable-mathml --disable-tests --disable-gtktest --disable-debug --enable-xft --with-system-zlib=/usr --with-system-nspr --with-system-nss --enable-xinerama --enable-extensions=default --disable-pedantic --disable-long-long-warning --enable-single-profile --disable-profilesharing --enable-gnomevfs --enable-application=browser --disable-installer --disable-updater --enable-chrome-format=flat --disable-elf-dynstr-gc --enable-system-hunspell --enable-static --disable-shared '--enable-optimize=-O3 -march=athlon-xp -freorder-blocks -fno-reorder-functions -msse -mmmx -m3dnow -mfpmath=sse -D_FORTIFY_SOURCE=2' --with-pthreads --disable-freetype2
make[3]: Entering directory `/home/skaven/firefox/mozilla/modules/plugin/samples/unixprinting' rm -f libunixprintplugin.so c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O3 -march=athlon-xp -freorder-blocks -fno-reorder-functions -msse -mmmx -m3dnow -mfpmath=sse -D_FORTIFY_SOURCE=2 -fPIC -shared -Wl,-z,defs -Wl,-h,libunixprintplugin.so -o libunixprintplugin.so npshell.o printplugin.o npunix.o -L../../../../dist/bin -lxpcom -lxpcom_core -L../../../../dist/bin -L../../../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm printplugin.o: In function `privatePrintScreenMessage': printplugin.c:(.text+0x274): undefined reference to `XCreateGC' printplugin.c:(.text+0x2b7): undefined reference to `XDrawRectangle' printplugin.c:(.text+0x2d5): undefined reference to `XFreeGC' printplugin.c:(.text+0x321): undefined reference to `XDrawString' printplugin.o: In function `printScreenMessage': printplugin.c:(.text+0x374): undefined reference to `XDefineCursor' printplugin.c:(.text+0x389): undefined reference to `XtWindowToWidget' printplugin.c:(.text+0x3a7): undefined reference to `XSelectInput' printplugin.c:(.text+0x3d0): undefined reference to `XtAddEventHandler' printplugin.c:(.text+0x3ef): undefined reference to `XCreateFontCursor' printplugin.o: In function `xt_event_handler': printplugin.c:(.text+0x458): undefined reference to `XCheckTypedWindowEvent' collect2: ld returned 1 exit status make[3]: *** [libunixprintplugin.so] Error 1 make[3]: Leaving directory `/home/skaven/firefox/mozilla/modules/plugin/samples/unixprinting' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/home/skaven/firefox/mozilla/modules/plugin' make[1]: *** [tier_9] Error 2 make[1]: Leaving directory `/home/skaven/firefox/mozilla' make: *** [default] Error 2 skaven@re:~/firefox/mozilla$
Irgendwer 'ne Idee was da kaputt ist/fehlt?
Gruß,
sкavєи
P.S.: Auch Vorschläge für bessere Configure-Flags sind sehr willkommen. Ist das erste mal, dass ich mich an den Firefox heranwage und wollte mal sehen was so am besten läuft. Insbesondere in Bezug auf Renderzeiten, Gesamtladezeiten und Speicherverbrauch.
Ach ja, Distribution ist Debian Lenny.
Dieser Beitrag wurde von sкavєи bearbeitet: 16. November 2007 - 07:39