Linux compiling error

59 views
Skip to first unread message

Stephen Cheng

unread,
Sep 17, 2013, 12:39:16 PM9/17/13
to chromi...@chromium.org
I am trying to build chromium on ubuntu 10.04 64bit. When I run the ninja command to build the source code, I got the following error:
 
 
/home/sfcheng/chromium/27.0.1453.73/depot_tools/ninja-linux64: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /home/sfcheng/chromium/27.0.1453.73/depot_tools/ninja-linux64)
 
The version of glibc on ubuntu 10.04 is Ubuntu EGLIBC 2.11.1-0ubuntu7.12. I don't see anyway I can upgrade the glibc to 2.14 on this linux.
 
I am also not able to run the command build/install-build-deps.sh. I got the following error:
 
Installing Chrome OS fonts to /usr/local/share/fonts/chromeos.
Traceback (most recent call last):
  File "./linux/install-chromeos-fonts.py", line 79, in <module>
    sys.exit(main(sys.argv[1:]))
  File "./linux/install-chromeos-fonts.py", line 56, in main
    subprocess.check_call(['curl', '-L', url, '-o', tarball])
  File "/usr/lib/python2.6/subprocess.py", line 493, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.6/subprocess.py", line 480, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
 

Nico Weber

unread,
Sep 17, 2013, 12:44:54 PM9/17/13
to Shanfeng Cheng, Chromium-dev
Chromium requires Ubuntu Precise to build. We don't support Lucid any more.

The ninja issue is caused by the new ninja 1.4 binary being built on Precise, I suppose. You can build ninja yourself (see `cat $(which ninja)` for how) if you need to stay on Lucid (but other things won't work either).

The install-build-deps script maybe assumes that you have curl already installed? Try running `apt-get install curl` (but if that helps, I guess install-build-deps should make sure that curl is installed before using it).

Nico


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Victor Khimenko

unread,
Sep 17, 2013, 1:26:15 PM9/17/13
to Nico Weber, Shanfeng Cheng, Chromium-dev
On Tue, Sep 17, 2013 at 8:44 PM, Nico Weber <tha...@chromium.org> wrote:
Chromium requires Ubuntu Precise to build. We don't support Lucid any more.

The ninja issue is caused by the new ninja 1.4 binary being built on Precise, I suppose. You can build ninja yourself (see `cat $(which ninja)` for how) if you need to stay on Lucid (but other things won't work either).

Please note that Lucid itself reached end of life over four months ago and all the remaining bots were converted from Lucid to Precise recently (which means that Lucid support will probably quickly bitrot).

Shanfeng Cheng

unread,
Sep 17, 2013, 4:33:47 PM9/17/13
to Nico Weber, chromium-dev
Yes. installing curl does get the install-build-deps script to run. It does make sense to add curl into the script itself.
 

Shanfeng Cheng
Reply all
Reply to author
Forward
0 new messages