- Install are the required tools on your mac
- Install git on mac (package git-core from macports)
- clone the git repo form Chris:
- cd to the mozilla directory, create a .mozconfig and run the build command:
- after some time, and if nothing goes wrong you should have now a firefox binary
- To build on windows, first share the folder with the cloned git repository in Parallels.
- Start Windows XP as Parallels VM and install the mozilla build tools
- Also install the free Microsoft Visual C++IDE and the Microsoft platform SDK
- Map the shared folder to a network drive (Context menu).
- Mount in C:\mozilla-build\msys\etc\fstab the network drive
- Reboot windows to activate the mount point
- Start the shell:
- Go to your mozilla source directory and run the build command again.
- Now it takes even longer to build, because of the Parallels VM overhead (vmware fusion might be faster ???)
- Next comes the Linux build, but I am still waiting at 14) !!
after about 8 hours the windows build was done (on mac it was just one hour). Unfortunately the Windows XP Firefox crashed when trying to run.
Update II:
The Windows XP build did not crash, it just took extremely long to start, I guess because of the Parallels network drive.
Update III:
Now the Linux build: there are three possibilities to access the source tree from Linux: NFS, Samba and FUSE-based sshfs. Because the first two options require a lot of tricky configuration, I went for the last, below the few steps required (on Ubuntu Feisty):
- Allow Remote Login on Mac (System Preferences > Sharing)
- Start Linux VM
- On Linux, install sshfs:
- Add user to fuse group:
- Log off and on again to activate the group setting
- create a directory:
- mount the mac filesystem:
- build it again (should be straight forward on Linux, haven't done that yet)
- To unmount:
No comments:
Post a Comment