New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Dart from Source on Centos 6.5 #15506
Comments
I have successfully been able to build the Dart VM on CentOS 6-v20131120 (the version available on Google Compute Engine) using the following commands: Install Subversion and the required build-tools. Get the depot_tools and add them to the path Get the Dart source and generate makefiles Build |
Building the SDK require OpenJDK 1.6 as well $ sudo yum install java-1.6.0-openjdk-devel Added Area-Infrastructure, OpSys-Linux, NeedsInfo labels. |
This comment was originally written by sest...@gmail.com I followed the procedure to compile on CentOS 6.4 Some open points on my side :
|
To drive the tests you are using the dart binary from the repository. You could try copying your local version to that directory and try again (the checked in version is compiled with a never libc version than what you have). |
At this point, this issue doesn't seem be... about anything specific. Close? |
This issue was originally filed by noreplycr...@gmail.com
What steps will reproduce the problem?
1.gclient config http://dart.googlecode.com/svn/branches/bleeding_edge/deps/all.deps
2. gclient sync
3.Bang!!
What is the expected output? What do you see instead?
Updated to revision 30973.
Syncing projects: 97% (33/34), done.hird_party/gyp
________ running '/usr/bin/python dart/tools/compiler_scripts/generate_my_projects.py' in '/home/Steve/dart'
________ running '/usr/bin/python dart/editor/build/generate_sources.py' in '/home/Steve/dart'
________ running '/usr/bin/python dart/tools/gyp_dart.py' in '/home/Steve/dart'
Traceback (most recent call last):
File "dart/third_party/gyp/gyp_main.py", line 18, in <module>
sys.exit(gyp.script_main())
AttributeError: 'module' object has no attribute 'script_main'
Error: Command /usr/bin/python dart/tools/gyp_dart.py returned non-zero exit status 1 in /home/Steve/dart
[Steve@charlie dart]$
What version of the product are you using? On what operating system?
dart svn revision 30973.
cat /etc/*release
CentOS release 6.5 (Final)
LSB_VERSION=base-4.0-ia32:base-4.0-noarch:core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Please provide any additional information below.
I can't find a complete redhat/centos/Fedora install from source guide in any google search. I'm trying to build from source as I face the gclib 2.15 issue, so pre-built zipped dart-editor for linux fails to run.
The text was updated successfully, but these errors were encountered: