Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Building Chromium packages #441

Open
vrotenberg opened this issue Jan 11, 2016 · 15 comments
Open

Building Chromium packages #441

vrotenberg opened this issue Jan 11, 2016 · 15 comments

Comments

@vrotenberg
Copy link

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
Copy link

rakuco commented Jan 11, 2016

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

@vrotenberg
Copy link
Author

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

@vrotenberg
Copy link
Author

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
Copy link

rakuco commented Jan 11, 2016

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
Copy link
Author

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

@vrotenberg
Copy link
Author

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

@joone
Copy link
Contributor

joone commented Jan 11, 2016

@vrotenberg have you checked the PKG_CONFIG_PATH?

@vrotenberg
Copy link
Author

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

@vrotenberg
Copy link
Author

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
Copy link
Contributor

@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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

Any suggestions?

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

No branches or pull requests

4 participants