Building Wayland on Ubuntu

Eunchul Kim chulspro at gmail.com
Mon Oct 15 07:47:17 PDT 2012


Thank's Rob and Simos.
My gcc version is very old as you know.
so, I updated gcc version from 4.6 to 4.7 using this web site
- http://charette.no-ip.com:81/programming/2011-12-24_GCCv47/

and I success building Wayland. I can start my contribution.
(I got some minor error at execution of weston compositor in my another PC
but I can fix it. If i can't fix this problem. I will send my error case.)

Thank's

I sumerized my building scenario for another people.

Install Ubuntu 12.04

sudo apt-get install autoconf libtool libffi-dev libexpat1-dev
libpthread-stubs0-dev
libpciaccess-dev bison xutils-dev libx11-dev x11proto-gl-dev
x11proto-dri2-dev libxext-dev
libxdamage-dev libxfixes-dev libx11-xcb-dev libxcb-glx0-dev
libxcb-dri2-0-dev libudev-dev
libxcb-xfixes0-dev llvm g++ flex libpng12-dev libxcursor-dev
libmtdev-dev libjpeg-dev libpam0g-dev
libglu1-mesa-dev

gcc upgrade from 4.6 to 4.7
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.7 g++-4.7
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 60 --slave
/usr/bin/g++ g++ /usr/bin/g++-4.6
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 40 --slave
/usr/bin/g++ g++ /usr/bin/g++-4.7
sudo update-alternatives --config gcc
select : 4.7
sudo update-alternatives --config gcc
check : g++ --version

and refer building.html

Thank's all.

2012/10/15 Simos Xenitellis <simos.lists at googlemail.com>:
> On Sun, Oct 14, 2012 at 8:31 PM, Simos Xenitellis
> <simos.lists at googlemail.com> wrote:
>> On Sun, Oct 14, 2012 at 8:21 PM, Rob Bradford <robert.bradford at intel.com> wrote:
>>> On 14 October 2012 14:25, Eunchul Kim <chulspro at gmail.com> wrote:
>>>> Thank's Simos. I upgraded my Ubuntu system. so, late :)
>>>> I finished Mesa building and libxkbcommon building.
>>>> but I got another error at pixman building. like this.
>>>>
>>>
>>> Your Ubuntu is too old to build Pixman master:
>>> https://bugs.freedesktop.org/show_bug.cgi?id=55630
>>>
>>> There is a known good git hash in the bug report.
>>>
>>
>> Ubuntu 12.10 (in beta2) comes with gcc 4.7.2.
>> The bug report talks about gcc 4.7.0 or earlier.
>>
>
> @Eunchul Kim: I just managed to compile pixman on Ubuntu 12.10
> (installed beta2, today applied all updates).
> Therefore, for your case, there might be some older packages that were
> not updated during the upgrade.
>
> Can you verify your gcc with
> gcc --version     ?
>
> Simos


More information about the wayland-devel mailing list