Thanks you :)

You are right. I am using Ubuntu 32 bit.
I'll install 64bit.


-----Original Message-----
From: Raphael Kubo da Costa [mailto:[email protected]]
Sent: Thursday, June 11, 2015 11:48 AM
To: Shahar Gluzman
Cc: [email protected]; 
[email protected]
Subject: Re: [Crosswalk-help] [Crosswalk-dev] Missing module when running the 
folliwng command: python xwalk/gyp_xwalk.py

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.
Confidentiality: The contents of this e-mail and any attachments transmitted 
with it are intended to be confidential to the intended recipient; and may be 
privileged or otherwise protected from disclosure. If you are not an intended 
recipient of this e-mail, do not duplicate or redistribute it by any means. 
Please delete it and any attachments and notify the sender that you have 
received it in error. This e-mail is sent by a William Hill PLC group company. 
The William Hill group companies include, among others, William Hill PLC 
(registered number 4212563), William Hill Organization Limited (registered 
number 278208), William Hill US HoldCo Inc, WHG (International) Limited 
(registered number 99191) and WHG Trading Limited (registered number 101439). 
Each of William Hill PLC, William Hill Organization Limited is registered in 
England and Wales and has its registered office at Greenside House, 50 Station 
Road, Wood Green, London N22 7TP. William Hill U.S. HoldCo, Inc. is 160 
Greentree D
 rive, Suite 101, Dover 19904, Kent, Delaware, United States of America. Each 
of WHG (International) Limited and WHG Trading Limited is registered in 
Gibraltar and has its registered office at 6/1 Waterport Place, Gibraltar. 
Unless specifically indicated otherwise, the contents of this e-mail are 
subject to contract; and are not an official statement, and do not necessarily 
represent the views, of William Hill PLC, its subsidiaries or affiliated 
companies. Please note that neither William Hill PLC, nor its subsidiaries and 
affiliated companies can accept any responsibility for any viruses contained 
within this e-mail and it is your responsibility to scan any emails and their 
attachments. William Hill PLC, its subsidiaries and affiliated companies may 
monitor e-mail traffic data and also the content of e-mails for effective 
operation of the e-mail system, or for security, purposes..
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to