This thread really helped me. I was getting the same can't cd to error so executing the "gclient sync --force" command and removing the sconsbuild directory worked prefectly.
One note. I am building chrome on Ubuntu 9.04 RC and found that the install-build-deps.sh will only work for 8.04/8.10 although the instructions on the Chromium wiki for obtaining the Linux prerequisites for Ubunut 8.04 work just fine on 9.04. Just wanted to point that out in case. Anywho, thanks for the useful information! On Apr 20, 7:17 pm, Lei Zhang <[email protected]> wrote: > With SVN. See:http://dev.chromium.org/developers/how-tos/get-the-code > > On Mon, Apr 20, 2009 at 2:04 PM, nshah <[email protected]> wrote: > > > Thanks Guys! > > Evan, thanks for instructions list. Seems like thats what needed to be > > done. I am able to build the webkit project now, I have not tried > > building the chrome project (hammer app) yet. > > > Lei, how did you get the r14051, right now when I try to download the > > tarball its r14025. > > > Thanks, > > > On Apr 20, 4:50 pm, Lei Zhang <[email protected]> wrote: > >> FWIW, I was running into linking errors today. Tony fixed it in > >> r14051. Thanks Tony! > > >> On Mon, Apr 20, 2009 at 1:36 PM, Evan Martin <[email protected]> wrote: > > >> > I don't know the particular problem, but I recommend: > >> > 1) update once: gclient sync --force (I updated those "get the code" > >> > instructions) > >> > 2) delete the temp build output: rm -rf sconsbuild > >> > 3) install the build deps: ./build/install-build-deps.sh > >> > 4) try building again > > >> > On Sun, Apr 19, 2009 at 8:24 PM, nshah <[email protected]> wrote: > > >> >> Hello, > > >> >> I have been trying to build chrome on linux. I downloaded the latest > >> >> tarball ( chromium.r14008.tgz ) and am following the build > >> >> instructions on chrome wiki for linux. > > >> >> However, I get following error while in release mode: > > >> >> chrome-svn/tarball/chromium/src/sconsbuild/Release/obj/third_party/ > >> >> icu38/source/i18n/usearch.o > >> >> Compiling /home/nidhi/ProgramFiles/v8/home/chrome-svn/tarball/chromium/ > >> >> src/sconsbuild/Release/obj/third_party/icu38/source/i18n/utmscale.o > >> >> Compiling /home/nidhi/ProgramFiles/v8/home/chrome-svn/tarball/chromium/ > >> >> src/sconsbuild/Release/obj/third_party/icu38/source/i18n/utrans.o > >> >> Compiling /home/nidhi/ProgramFiles/v8/home/chrome-svn/tarball/chromium/ > >> >> src/sconsbuild/Release/obj/third_party/icu38/source/i18n/vtzone.o > >> >> Compiling /home/nidhi/ProgramFiles/v8/home/chrome-svn/tarball/chromium/ > >> >> src/sconsbuild/Release/obj/third_party/icu38/source/i18n/windtfmt.o > >> >> Compiling /home/nidhi/ProgramFiles/v8/home/chrome-svn/tarball/chromium/ > >> >> src/sconsbuild/Release/obj/third_party/icu38/source/i18n/winnmfmt.o > >> >> cd: 1: can't cd to /auto/filer28.mtvvolmtvhome51/chrome-svn/tarball/ > >> >> chromium/src/base > >> >> scons: *** [/home/nidhi/ProgramFiles/v8/home/chrome-svn/tarball/ > >> >> chromium/src/sconsbuild/Release/obj/global_intermediate/base/ > >> >> file_version_info_linux.bogus] Error 2 > >> >> scons: building terminated because of errors. > > >> >> ================================================================ > > >> >> while in debug mode: > > >> >> ~/ProgramFiles/v8/home/chrome-svn/tarball/chromium/src/build$ hammer > >> >> app > >> >> scons: Reading SConscript files ... > >> >> Mkdir("/home/nidhi/ProgramFiles/v8/home/chrome-svn/tarball/chromium/ > >> >> src/sconsbuild/Debug") > >> >> scons: done reading SConscript files. > >> >> scons: Building targets ... > >> >> cd: 1: can't cd to /auto/filer28.mtvvolmtvhome51/chrome-svn/tarball/ > >> >> chromium/src/webkit > >> >> cd: 1: can't cd to /auto/filer28.mtvvolmtvhome51/chrome-svn/tarball/ > >> >> chromium/src/webkit > >> >> scons: *** [/home/nidhi/ProgramFiles/v8/home/chrome-svn/tarball/ > >> >> chromium/src/sconsbuild/Debug/obj/webkit/webcore/intermediate/ > >> >> CSSPropertyNames.cpp] Error 2 > >> >> cd: 1: can't cd to /auto/filer28.mtvvolmtvhome51/chrome-svn/tarball/ > >> >> chromium/src/webkit > >> >> scons: *** [/home/nidhi/ProgramFiles/v8/home/chrome-svn/tarball/ > >> >> chromium/src/sconsbuild/Debug/obj/webkit/webcore/intermediate/ > >> >> CSSValueKeywords.c] Error 2 > >> >> scons: *** [/home/nidhi/ProgramFiles/v8/home/chrome-svn/tarball/ > >> >> chromium/src/sconsbuild/Debug/obj/webkit/webcore/intermediate/ > >> >> HTMLNames.cpp] Error 2 > >> >> scons: building terminated because of errors. > > >> >> ==================================================================== > > >> >> I have been able to build earlier with tarball release > >> >> ( chromium.r10880.tgz). I compared my webcore.scons and saw that not > >> >> only /auto/filer28.mtvvolmtvhome51/ is not replaced with corresponding > >> >> actual system path. When I manually fixed that, I was able to go > >> >> little further but started to get following errors in cairo.h: > > >> >> scons: Reading SConscript files ... > >> >> scons: done reading SConscript files. > >> >> scons: Building targets ... > >> >> Compiling /home/nidhi/ProgramFiles/v8/home/chrome-svn/tarball/chromium/ > >> >> src/sconsbuild/Release/obj/third_party/WebKit/WebCore/css/ > >> >> CSSCanvasValue.o > >> >> In file included from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/skia/ext/platform_canvas_linux.h:12, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/skia/ext/platform_canvas.h:14, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/third_party/WebKit/WebCore/platform/graphics/skia/ > >> >> PlatformContextSkia.h:40, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/third_party/WebKit/WebCore/platform/graphics/ > >> >> chromium/ImageBufferData.h:34, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/third_party/WebKit/WebCore/platform/graphics/ > >> >> ImageBuffer.h:33, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/third_party/WebKit/WebCore/css/CSSCanvasValue.cpp: > >> >> 29: > >> >> /usr/include/cairo/cairo.h:41:28: error: cairo-features.h: No such > >> >> file or directory > >> >> /usr/include/cairo/cairo.h:42:30: error: cairo-deprecated.h: No such > >> >> file or directory > >> >> In file included from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/skia/ext/platform_canvas.h:14, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/third_party/WebKit/WebCore/platform/graphics/skia/ > >> >> PlatformContextSkia.h:40, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/third_party/WebKit/WebCore/platform/graphics/ > >> >> chromium/ImageBufferData.h:34, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/third_party/WebKit/WebCore/platform/graphics/ > >> >> ImageBuffer.h:33, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/third_party/WebKit/WebCore/css/CSSCanvasValue.cpp: > >> >> 29: > >> >> /home/nidhi/ProgramFiles/v8/home/chrome-svn/tarball/chromium/src/skia/ > >> >> ext/platform_canvas_linux.h:13:21: error: gdk/gdk.h: No such file or > >> >> directory > >> >> In file included from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/skia/ext/platform_canvas_linux.h:12, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/skia/ext/platform_canvas.h:14, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/third_party/WebKit/WebCore/platform/graphics/skia/ > >> >> PlatformContextSkia.h:40, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/third_party/WebKit/WebCore/platform/graphics/ > >> >> chromium/ImageBufferData.h:34, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/third_party/WebKit/WebCore/platform/graphics/ > >> >> ImageBuffer.h:33, > >> >> from /home/nidhi/ProgramFiles/v8/home/chrome-svn/ > >> >> tarball/chromium/src/third_party/WebKit/WebCore/css/CSSCanvasValue.cpp: > >> >> 29: > >> >> /usr/include/cairo/cairo.h:44: error: 'CAIRO_BEGIN_DECLS' does not > >> >> name a type > >> >> /usr/include/cairo/cairo.h:59: error: expected constructor, > >> >> destructor, or type conversion before 'const' > >> >> /usr/include/cairo/cairo.h:305: error: 'cairo_public' does not name a > >> >> type > >> >> /usr/include/cairo/cairo.h:308: error: 'cairo_public' does not name a > >> >> type > >> >> /usr/include/cairo/cairo.h:311: error: expected constructor, > >> >> destructor, or type conversion before 'void' > >> >> /usr/include/cairo/cairo.h:314: error: expected constructor, > >> >> destructor, or type conversion before 'unsigned' > >> >> /usr/include/cairo/cairo.h:317: error: expected constructor, > >> >> destructor, or type conversion before 'void' > >> >> /usr/include/cairo/cairo.h:321: error: 'cairo_public' does not name a > >> >> type > >> >> /usr/include/cairo/cairo.h:327: error: expected constructor, > >> >> destructor, or type conversion before 'void' > >> >> /usr/include/cairo/cairo.h:330: error: expected constructor, > >> >> destructor, or type conversion before 'void' > >> >> /usr/include/cairo/cairo.h:333: error: expected constructor, > >> >> destructor, or type conversion before 'void' > >> >> /usr/include/cairo/cairo.h:336: error: expected constructor, > >> >> destructor, or type conversion before 'void' > >> >> /usr/include/cairo/cairo.h:339: error: 'cairo_public' does not name a > >> >> type > >> >> /usr/include/cairo/cairo.h:342: error: expected constructor, > >> >> destructor, or type conversion before 'void' > >> >> /usr/include/cairo/cairo.h:411: error: expected constructor, > >> >> destructor, or type conversion before 'void' > >> >> /usr/include/cairo/cairo.h:414: error: expected constructor, > >> >> destructor, or type conversion before 'void' > >> >> /usr/include/cairo/cairo.h:417: error: expected constructor, > >> >> destructor, or type conversion before 'void' > >> >> /usr/include/cairo/cairo.h:420: error: expected constructor, > >> >> destructor, or type conversion before 'void' > >> >> /usr/include/cairo/cairo.h:425: error: > > ... > > read more » --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
