Shahar Gluzman <[email protected]> writes:
> The reason I downloaded to my mac is because I am using Ubuntu 14 as a
> guest machine and when I tried to fetch the code via the virtual
> machine its stops after 6 hours with an error.
What kind of error? If it's a network error, you can continue from where
it stopped; if it's a different error, then you likely need to fix
something.
> 4. Install build dependencies : ~
> /crosswalk-src/src/build/install-build-deps-android.sh
> Here I got that no need to upgrade but with one error (The following
> directory is exist: java-1.7.0-openjdk-i386)
> openjdk-7-jdk is already the newest version.
> openjdk-7-jre is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 351 not upgraded.
> ERRORS: Failed to update alternatives for java-6-sun:
> update-java-alternatives: directory does not exist:
> /usr/lib/jvm/java-1.7.0-openjdk-amd64
> crosswalk-src$
Most likely because you've installed a 32-bits version of Ubuntu and the
script is assuming you have a 64-bits installation (see how you
mentioned openjdk-i386 and the update-java-alternatives error mentions
openjdk-amd64). I suggest going for a 64-bits distro to avoid additional
headaches.
> When I wrote the following command: which java , I got /usr/bin/java
Which is a symlink to /etc/alternatives/java...
`ls -l /etc/alternatives/java` is more informative in this case.
> 5. Install Google Play Services:
> src/third_party/android_tools/sdk/tools/android update sdk --no-ui -
> -filter 57
> I got the following warning:
> Warning: The package filter removed all packages. There is nothing to
> install.
> Please consider trying to update again without a package filter.
>
> I believe that it is OK because no error were there
Note that if you are just building Crosswalk there's no need to run
this at all. It is only necessary for Chromium itself.
> 6. Prepare the environment: src$ . build/android/envsetup.sh
This shouldn't be required.
> 9. Building Crosswalk for Android : sudo .
> /build/install-build-deps-android.sh
> I got the same error as Step 4.
Why do that again?
> 10. Next to the .gclient file, Configure GYP : ~/crosswalk-src$ echo "
> { 'GYP_DEFINES': 'OS=android target_arch=ia32', }" > chromium.gyp_env
> (This command override the previous step 2)
Then this should be step 2...
> Updating projects from gyp files...
> gyp: Error importing pymod_do_mainmodule (grit_info): No module named
> grit_info while trying to load
> /media/sf_sf_Shared/crosswalk-src/src/xwalk/xwalk.gyp
> shahar@shahar-VirtualBox:/media/sf_sf_Shared/crosswalk-src/src$
It is still hard to say. It really looks like something went wrong with
your `gclient sync' call and not everything was checked out. I don't
think it is even supposed to work on the Mac, since after checking out
all repositories it is also going to run gyp automatically on OS X and
fail because Android builds are not supposed to work there.
My suggestion is to figure out what is failing when you try to do
everything on Linux itself, or at the very least see if your gclient
sync call on OS X is really checking everything out.
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help