Firefox

Firefox 3.x Intel Mac build

http://wiki.kncn.net/index.php?Firefox%203.x%20Intel%20Mac%20build

make

make -f client.mk build

dmg 作る

make -C obj-ff/browser/installer

To verify a signature

Get the public key.

gpg --recv-keys --keyserver hkp://subkeys.pgp.net 17785FE8

Verify.

gpg --verify firefox-3.5.1-source.tar.bz2.asc

いろいろな解決策

10.6 Snow Leopard で /opt/local/lib/libIDL-2.dylib, file is not of required architecture と出たら

http://richwklein.com/2009/10/27/fail-libidl-on-mac-os-x-10-6-snow-leopard/

sudo port clean libidl
sudo port install libidl +universal

?

build のときに dyld: Library not loaded: /usr/lib/libsqlite3.dylib Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security とか出たら

export DYLD_INSERT_LIBRARIES=/usr/lib/libsqlite3.dylib

http://www.mail-archive.com/mac@porting.openoffice.org/msg03502.html

うまくいかないこと

****/src/mozilla-1.9.1/obj-ff/nss/shlibsign -v -i ****/src/mozilla-1.9.1/obj-ff/dist/lib/libsoftokn3.dylib
dyld: Library not loaded: /usr/lib/libsqlite3.dylib
  Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
  Reason: Incompatible library version: Security requires version 9.0.0 or later, but libsqlite3.dylib provides version 1.0.0
****/src/mozilla-1.9.1/security/nss/cmd/shlibsign/./sign.sh: line 2: 32536 Trace/BPT trap

これは

export DYLD_INSERT_LIBRARIES=/usr/lib/libsqlite3.dylib

ってやったら通過。でも次は

***/mozilla-1.9.1/obj-ff/nss/shlibsign -v -i ***/mozilla-1.9.1/obj-ff/dist/lib/libsoftokn3.dylib
***/mozilla-1.9.1/security/nss/cmd/shlibsign/./sign.sh: line 2: 95341 Bus error               ${2}/shlibsign -v -i ${5}
gmake[5]: *** [/***/mozilla-1.9.1/obj-ff/dist/lib/libsoftokn3.chk] エラー 138
gmake[5]: ディレクトリ `/***/mozilla-1.9.1/security/nss/cmd/shlibsign' から出ます
gmake[4]: *** [libs] エラー 2

以下略

これでうまくいった https://developer.mozilla.org/En/Mac_OS_X_Build_Prerequisites

6b. OS X 10.6 Only:

In order to run mochitests (and possibly other tests), as well as start up using the 'firefox' shell script, you'll need to apply two patches:

Attachment 411453 from bug 513747
Attachment 412977 from bug 519550

いじり

docshell/base/nsDocShell.cpp

rv = NS_OK;//ConfirmRepost(&repost);
更新日時:2010/06/25 12:31:00
キーワード:
参照:[計算機関連]