For ffmpeg, you should be able to set GYP_DEFINES="use_system_ffmpeg=1" to disable the in-tree ffmpeg build. That should get you past that stumbling block. HTML5 video won't work, but like Evan said, that's probably the least of your concerns.
-Albert On Tue, Nov 24, 2009 at 1:25 PM, Evan Martin <e...@chromium.org> wrote: > We currently won't build on Solaris; ffmpeg is the least of your > worries. Someone contributed patches to build on FreeBSD that might > get you closer, but the patch is enormous (~100kb, I think?) so I've > been refactoring bits of it into reviewable chunks (very slowly in my > free time). > > 2009/11/24 Maciej Bliziński <blizin...@google.com>: > > Hello chromium-dev, > > > > I've started to work on building Chromium on Solaris. I've recently > > finished completing the prerequisites (NSPR and NSS), and I'm moving > > forward with the Linux build descriptions. I'm using a tarball > > distribution. I don't run gclient sync, but gclient runhooks -- > > force. The instructions say that I'm going to miss on platform- > > specific dependencies, but I guess I'm going miss on them anyway. > > > > My current problem looks as follows: > > > > mac...@netra ~/src/opencsw/pkg/chromium/trunk $ gmake build > > gmake[1]: Entering directory `/home/maciej/src/opencsw/pkg/chromium/ > > trunk' > > [===== NOW BUILDING: chromium-0.32797 MODULATION isa-sparcv8: > > ISA=sparcv8 =====] > > [extract-modulated] complete for chromium. > > [patch-modulated] complete for chromium. > > (cd work/build-isa-sparcv8/home/chrome-svn/tarball/chromium \ > > && \ > > PATH=$PATH:/home/maciej/src/opencsw/pkg/chromium/trunk/ > > work/build-isa-sparcv8/depot_tools:/opt/csw/gcc4/bin \ > > GYP_GENERATORS=make \ > > gclient runhooks --force) > > > > ________ running '/opt/csw/bin/python src/build/gyp_chromium' in '/ > > home/maciej/src/opencsw/pkg/chromium/trunk/work/build-isa-sparcv8/home/ > > chrome-svn/tarball/chromium' > > Updating projects from gyp files... > > Traceback (most recent call last): > > File "src/build/gyp_chromium", line 79, in <module> > > sys.exit(gyp.main(args)) > > File "src/tools/gyp/pylib/gyp/__init__.py", line 423, in main > > params, options.check) > > File "src/tools/gyp/pylib/gyp/__init__.py", line 83, in Load > > depth, generator_input_info, check) > > File "src/tools/gyp/pylib/gyp/input.py", line 2004, in Load > > depth, check) > > File "src/tools/gyp/pylib/gyp/input.py", line 392, in > > LoadTargetBuildFile > > includes, depth, check) > > File "src/tools/gyp/pylib/gyp/input.py", line 392, in > > LoadTargetBuildFile > > includes, depth, check) > > File "src/tools/gyp/pylib/gyp/input.py", line 392, in > > LoadTargetBuildFile > > includes, depth, check) > > File "src/tools/gyp/pylib/gyp/input.py", line 350, in > > LoadTargetBuildFile > > build_file_path) > > File "src/tools/gyp/pylib/gyp/input.py", line 860, in > > ProcessVariablesAndConditionsInDict > > ProcessConditionsInDict(the_dict, is_late, variables, build_file) > > File "src/tools/gyp/pylib/gyp/input.py", line 737, in > > ProcessConditionsInDict > > variables, build_file) > > File "src/tools/gyp/pylib/gyp/input.py", line 886, in > > ProcessVariablesAndConditionsInDict > > build_file) > > File "src/tools/gyp/pylib/gyp/input.py", line 901, in > > ProcessVariablesAndConditionsInList > > ProcessVariablesAndConditionsInDict(item, is_late, variables, > > build_file) > > File "src/tools/gyp/pylib/gyp/input.py", line 860, in > > ProcessVariablesAndConditionsInDict > > ProcessConditionsInDict(the_dict, is_late, variables, build_file) > > File "src/tools/gyp/pylib/gyp/input.py", line 737, in > > ProcessConditionsInDict > > variables, build_file) > > File "src/tools/gyp/pylib/gyp/input.py", line 879, in > > ProcessVariablesAndConditionsInDict > > build_file, key) > > File "src/tools/gyp/pylib/gyp/input.py", line 860, in > > ProcessVariablesAndConditionsInDict > > ProcessConditionsInDict(the_dict, is_late, variables, build_file) > > File "src/tools/gyp/pylib/gyp/input.py", line 718, in > > ProcessConditionsInDict > > if eval(ast_code, {'__builtins__': None}, variables): > > File "<string>", line 1, in <module> > > NameError: name 'ffmpeg_asm_lib' is not defined while evaluating > > condition 'ffmpeg_asm_lib==1' in src/third_party/ffmpeg/ffmpeg.gyp > > while loading dependencies of src/media/media.gyp while loading > > dependencies of src/chrome/chrome.gyp while loading dependencies of > > src/build/all.gyp while trying to load src/build/all.gyp > > failed to run command: /opt/csw/bin/python src/build/gyp_chromium > > gmake[1]: *** [gclient-runhooks] Error 2 > > gmake[1]: Leaving directory `/home/maciej/src/opencsw/pkg/chromium/ > > trunk' > > gmake: *** [build-isa-sparcv8] Error 2 > > > > My guess is that I need to build chromium-specific ffmpeg on Solaris > > as a prerequisite, by following src/third_party/ffmpeg/ > > README.chromium. Is that correct? > > > > Maciej > > > > -- > > Chromium Developers mailing list: chromium-dev@googlegroups.com > > View archives, change email options, or unsubscribe: > > http://groups.google.com/group/chromium-dev > > > > -- > Chromium Developers mailing list: chromium-dev@googlegroups.com > View archives, change email options, or unsubscribe: > http://groups.google.com/group/chromium-dev > -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev