{"id":390,"date":"2008-09-03T20:14:19","date_gmt":"2008-09-04T01:14:19","guid":{"rendered":"http:\/\/alexceli.org\/blog\/2008\/09\/03\/como-compilar-google-chrome-en-linux.php"},"modified":"2008-09-03T20:14:19","modified_gmt":"2008-09-04T01:14:19","slug":"como-compilar-google-chrome-en-linux","status":"publish","type":"post","link":"https:\/\/alexceli.org\/blog\/2008\/09\/03\/como-compilar-google-chrome-en-linux-390.php","title":{"rendered":"C\u00f3mo compilar Google Chrome en Linux"},"content":{"rendered":"<p>Ya es posible compilar Google Chrome, el nuevo navegador de Google, en GNU\/Linux. En la p\u00e1gina se dan instrucciones de c\u00f3mo hacerlo. (En ingl\u00e9s)<\/p>\n<p><a href=\"http:\/\/dev.chromium.org\/developers\/how-tos\/build-instructions-linux\">http:\/\/dev.chromium.org\/developers\/how-tos\/build-instructions-linux<\/a><\/p>\n<p>Build Instructions (Linux)<\/p>\n<p>This page describes how to build the Chromium browser in Linux. Read this if you&#8217;re interested in testing the build or porting code.<br \/>\nNote: There is no working Chromium-based browser on Linux. Although many Chromium submodules build under Linux and a few unit tests pass, all that runs is a command-line &#8220;all tests pass&#8221; executable.<\/p>\n<p>Contents<\/p>\n<p>   1. 1 Prerequisites<br \/>\n   2. 2 Getting the code<br \/>\n   3. 3 Building<br \/>\n   4. 4 Troubleshooting<\/p>\n<p>Prerequisites<\/p>\n<p>Note: Our intent is that you should be able to build Chromium on any reasonably modern Linux distribution, and we try to list prerequisites as explicitly as we can. However, please bear in mind that the Linux port is in its early stages, and our opportunity to test on a multiple Linux distributions has been limited. Internally, our development platform has been a variant of Ubuntu 8 (Hardy Heron); we expect you will have the most luck on this platform.<\/p>\n<p>Building on Linux requires the following software:<\/p>\n<p>    * Subversion >= 1.4 (note: if you use the tarball below, due to an oversight, you&#8217;ll need 1.5.  we&#8217;ll fix this.)<br \/>\n    * pkg-config >= 0.20<br \/>\n    * Python >= 2.4<br \/>\n    * Perl >= 5.x<br \/>\n    * gcc\/g++ >= 4.2<br \/>\n    * bison >= 2.3<br \/>\n    * flex >= 2.5.34<br \/>\n    * gperf >= 3.0.3<br \/>\n    * libnss3-dev >= 3.12<\/p>\n<p>On Ubuntu 8, you can fetch all of the above as follows:<\/p>\n<p>$ sudo apt-get install subversion pkg-config python perl g++ bison flex gperf libnss3-dev<\/p>\n<p>Getting the code<\/p>\n<p>   1. Pick a directory for your build.<\/p>\n<p>      We will call this directory $CHROMIUM_ROOT throughout this document.<\/p>\n<p>   2. Get depot_tools.<\/p>\n<p>      $ cd $CHROMIUM_ROOT<br \/>\n      $ svn co http:\/\/src.chromium.org\/svn\/trunk\/depot_tools\/linux depot_tools<\/p>\n<p>      (or, download the .tar.gz file: depot_tools_linux.tar.gz)<\/p>\n<p>      To keep these instructions self-contained, we&#8217;ll assume that your depot_tools directory lives in your build directory, but it doesn&#8217;t have to \u2014 it can be placed anywhere, added to your PATH, etc.<\/p>\n<p>   3. Check out Chromium. <\/p>\n<p>    As a temporary workaround due to high interest today, try downloading a snapshot of an SVN checkout to bootstrap from. Untar it, then follow the instructions to update from there. You&#8217;ll end up with the equivalent of what running a full gclient sync does.<\/p>\n<p>    $ cd $CHROMIUM_ROOT<br \/>\n    $ export LANG=C # temp workaround for gclient behavior<\/p>\n<p>    $ .\/depot_tools\/gclient config http:\/\/src.chromium.org\/svn\/trunk\/src<br \/>\n    $ .\/depot_tools\/gclient sync<br \/>\n    Note: By default, the depot_tools will automatically update to the latest version every time you run gclient.  See the depot_tools page if you want to disable this behavior.<\/p>\n<p>Building<br \/>\nTo build the current Linux subset of Chromium:<\/p>\n<p>$ cd $CHROMIUM_ROOT\/src\/chrome<br \/>\n$ ..\/third_party\/scons\/scons.py Hammer<\/p>\n<p>Executables created during the build process will be placed in $CHROMIUM_ROOT\/src\/chrome\/Hammer.<\/p>\n<p>Troubleshooting<\/p>\n<p>sh: d: not found while processing Hammer\/webkit\/WebCore\/xml\/XPathGrammar.y<\/p>\n<p>You do not have bison installed. We are patching our build scripts to catch this earlier and in a friendlier way, but the changelist might not have landed by the time you read this.<\/p>\n<p>Alex Celi<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ya es posible compilar Google Chrome, el nuevo navegador de Google, en GNU\/Linux. En la p\u00e1gina se dan instrucciones de c\u00f3mo hacerlo. (En ingl\u00e9s) http:\/\/dev.chromium.org\/developers\/how-tos\/build-instructions-linux Build Instructions (Linux) This page describes how to build the Chromium browser in Linux. Read this if you&#8217;re interested in testing the build or porting code. Note: There is no [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,3,24],"tags":[],"class_list":["post-390","post","type-post","status-publish","format-standard","hentry","category-hacking","category-linux","category-tecnologia"],"_links":{"self":[{"href":"https:\/\/alexceli.org\/blog\/wp-json\/wp\/v2\/posts\/390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexceli.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexceli.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexceli.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alexceli.org\/blog\/wp-json\/wp\/v2\/comments?post=390"}],"version-history":[{"count":0,"href":"https:\/\/alexceli.org\/blog\/wp-json\/wp\/v2\/posts\/390\/revisions"}],"wp:attachment":[{"href":"https:\/\/alexceli.org\/blog\/wp-json\/wp\/v2\/media?parent=390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexceli.org\/blog\/wp-json\/wp\/v2\/categories?post=390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexceli.org\/blog\/wp-json\/wp\/v2\/tags?post=390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}