intel / ozone-wayland

Wayland implementation for Chromium Ozone classes
BSD 3-Clause "New" or "Revised" License
218 stars 82 forks source link

Building Chromium packages #441

Open vrotenberg opened 8 years ago

vrotenberg commented 8 years ago

Hi! I am trying to build Chromium for wayland for 32 bit machine. The GYP_DEFINES='component=static_library use_ash=1 use_aura=1 chromeos=0 use_ozone=1 use_xkbcommon=1 proprietary_codecs=1 ffmpeg_branding=Chrome target_arch=ia32 use_sysroot=0' All patches applied successfully. While building (ninja -C out/Debug -j16 chrome) I have an error: "fatal error: 'wayland-client.h' file not found" What did I wrong? Thanks.

rakuco commented 8 years ago

Are the Wayland development files installed? Have you managed to build Chromium without ozone-wayland for 32-bits before?

vrotenberg commented 8 years ago

Wayland development files are installed. No, I have never managed to build Chromium ozone-wayland for 32-bit before.

vrotenberg commented 8 years ago

Now I made gclient sync again, run ninja and have another error: /usr/include/freetype2/config/ftheader.h:7:12: fatal error: 'i386-linux-gnu/freetype2/config/ftheader.h' file not found I just going more and more upset - seems that it's impassable to compile chromium!

rakuco commented 8 years ago

Like I said in #439, this is not the best venue to discuss this kind of issue since it looks like you are having trouble building Chromium without oz-wl as well. Please try the chromium-packager and chromium-dev mailing lists instead.

The error above is self-explanatory: you don't have freetype's 32-bit development headers.

vrotenberg commented 8 years ago

Thanks a lot. I just didn't find where I can find the chromium-packager or chromium-dev mailing list.

rakuco commented 8 years ago

https://www.chromium.org/Home https://www.chromium.org/developers/technical-discussion-groups

vrotenberg commented 8 years ago

Thank you very much! I just opened an issue here: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/0gRhC35F5mM

joone commented 8 years ago

@vrotenberg have you checked the PKG_CONFIG_PATH?

vrotenberg commented 8 years ago

Yes. It's $HOME/install/lib/pkgconfig/:/$HOMEl/share/pkgconfig/

kalyankondapally commented 8 years ago

Have you followed all the steps here: https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md

Dependencies: https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions_prerequisites.md

vrotenberg commented 8 years ago

I followed the instruction in this document: https://github.com/01org/ozone-wayland It should download all necessary files. I also run build/install-build-deps.sh and it was successful.

kalyankondapally commented 8 years ago

@vrotenberg Was there anything missing in our instructions resulting in this issue, if so can you update ReadME file, else lets close this one.

vrotenberg commented 8 years ago

I have this error after the patching. If I do git checkout master before running the patching everything is OK. But I need to run ./build/gyp_chromium after the patching and always get this error!

vrotenberg commented 8 years ago

While patching I have this message: Your branch is behind 'origin/master' by 4320 commits, and can be fast-forwarded. (use "git pull" to update your local branch) Deleted branch master-ozone (was e82a7af9). Switched to a new branch 'master-ozone' So I think because I am on master-ozone when I run ./build/gyp_chromium I get this error. Should I run git pull? I tried to build chormium after patching but had errors.

vrotenberg commented 8 years ago

Any suggestions?