Skip to content
This repository has been archived by the owner on Feb 9, 2018. It is now read-only.

No documentation on how to build deps blob #3

Open
freaktechnik opened this issue Feb 11, 2014 · 10 comments
Open

No documentation on how to build deps blob #3

freaktechnik opened this issue Feb 11, 2014 · 10 comments

Comments

@freaktechnik
Copy link
Member

We do have quite good building instructions on our wiki. However there are no instructions on how to craft a deps blob.
Maybe @johnmurrayvi or @ilikenwf could write about it, as they already built blobls in the past?

@johnmurrayvi
Copy link
Member

Yeah that's a good idea.
For xul-9:
I was trying to type some stuff up when I was waiting for the Windows deps to compile with this in mind. For Linux x86 and x86_64, the build script (build.sh) should work AFAIK. Windows is still a very large WIP since I've only gotten xulrunner to build (mostly) properly but not the rest yet.

@rsjtdrjgfuzkfg
Copy link
Member

@johnmurrayvi do you mind to share your setup? As with the setup I use for NG and taglib it doesn't seem to work on windows...

@johnmurrayvi
Copy link
Member

Certainly! Development on Windows is pretty new to me so I probably have a lot of extraneous stuff that isn't needed/is left over from other stuff. I'll do my best to keep this list short.

  • Windows 7 x86_64 SP1
  • MSVS 2010 Pro SP1
  • June 2010 DirectX SDK
  • MozillaBuild
  • CMake 2.8
  • Git
  • MinGW with the following installed:
    • mingw32-autoconf
    • mingw32-automake
    • mingw32-base
    • mingw32-binutils
    • mingw32-gcc
    • mingw32-gcc-g++
    • mingw32-gdb
    • mingw32-gettext
    • mingw32-libasprintf
    • mingw32-libgcc
    • mingw32-libgettextpo
    • mingw32-libgmp
    • mingw32-libgomp
    • mingw32-libiconv
    • mingw32-libintl
    • mingw32-libmpc
    • mingw32-libmpfr
    • mingw32-libpthread-old
    • mingw32-libpthreadgc
    • mingw32-libquadmath
    • mingw32-libssp
    • mingw32-libstdc++
    • mingw32-libtool
    • mingw32-libz
    • mingw32-make
    • mingw32-mingw-get
    • mingw32-mingwrt
    • mingw32-w32api
  • MSys (part of MinGW, but needed a break in such a long list of packages)
    • msys-base
    • msys-bash
    • msys-bzip2
    • msys-core
    • msys-coreutils
    • msys-diffutils
    • msys-dos2unix
    • msys-file
    • msys-findutils
    • msys-gawk
    • msys-grep
    • msys-gzip
    • msys-less
    • msys-libbz2
    • msys-libcrypt
    • msys-libexpat
    • msys-libgdbm
    • msys-libiconv
    • msys-libintl
    • msys-liblzma
    • msys-libmagic
    • msys-libregex
    • msys-libtermcap
    • msys-libxml2
    • msys-m4
    • msys-make
    • msys-perl
    • msys-sed
    • msys-tar
    • msys-termcap
    • msys-texinfo
    • msys-w32api
    • msys-xz
    • msys-zlib

My MozillaBuild is in C:\mozilla-build. In start-msvc10.bat, to set the paths up, I have the following at the end (after the 'cd "%USERPROFILE%"):

echo Set WDK
set INCLUDE=%INCLUDE%;C:\WinDDK\7600.16385.1\inc\api;C:\WinDDK\7600.16385.1\inc\crt;C:\WinDDK\7600.16385.1\inc\atl71;c:\MinGW\include
set LIB=%LIB%;c:\WinDDK\7600.16385.1\lib\wxp\i386;c:\WinDDK\7600.16385.1\lib\Crt\i386;C:\WinDDK\7600.16385.1\lib\ATL\i386;c:\MinGW\lib
set PATH=%PATH%;c:\WinDDK\7600.16385.1\bin\x86\x86;c:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin;c:\mozilla-build\msys\bin;c:\mozilla-build\moztools\bin;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;c:\MinGW\bin

"%MOZILLABUILD%\msys\bin\bash" --login -i

I hope I didn't forget anything important. I'm sure I did though. I had set different things up at different times and now I don't remember what all I did explicitly for NG and the deps. I can look deeper (which I probably should do at some point) if things still aren't working.

Are you trying to build xulrunner 1.9.2?
I don't think I ever spent the time to get everything working for 1.9.2 and get a successful build out of it. I've primarily been trying to get 9.0.1 deps built. I need to commit a ton of stuff, but I have been debating on how to deal with the massive amount of changes and the best way to update the xulrunner-1.9.2 dir in the deps repo.

@rsjtdrjgfuzkfg
Copy link
Member

@johnmurrayvi Yep, I tried 1.9.2. Maybe 9.0.1 is better there... and I see that I did not have the DirectX stuff installed. But if I remember correctly there was another issue with 1.9.2... I'm also not sure if I tried to build vanilla or the Songbird-patched version. But good to have such a list if I should ever find the time to do another attempt there.

@johnmurrayvi
Copy link
Member

Well crap, I apparently also have cygwin install as well... but it isn't sourced in any of the MozillaBuild files, so I hope it's negligible.

I remember having a fair number of problems with 1.9.2 as well.
I've been building from a vanilla xulrunner tar ball on the xul-9.0.1 branch. I need to push my current changes which have updates to build on Windows though. As soon as I figure out the easiest way to do that, I will! The GitHub app doesn't like the fact I still have a cloned a copy of the 1.9.2 branch apparently...

@johnmurrayvi
Copy link
Member

First stab at it. (Linux page is a bit short right now, but I was mainly focusing on Windows)
http://wiki.getnightingale.com/doku.php?id=build:dependencies

@rsjtdrjgfuzkfg
Copy link
Member

@johnmurrayvi great! There's also a major difference between our setups: you were on msvc10, while I build with msvc9 (as it was the most recent version when I started building Songbird, and my mozbuild is rather old). I won't find time to try that too soon I guess, but it is really great to finally have it somewhere.

@johnmurrayvi
Copy link
Member

Ahh that would do it.. Mozilla stopped supporting anything less than msvc10 at some point. Hopefully the instructions works, since it basically requires magic to get stuff to build haha.

Also, I just posted some stuff for Mac:
http://wiki.getnightingale.com/doku.php?id=build:dependencies:mac

@johnmurrayvi
Copy link
Member

@ilikenwf
Copy link
Member

Nice start! I know building the old deps on mac is quite the chore as it is. I think I posted a guide for either the client or the deps or both on the forums...may be old though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants