selkhateeb / heroku-vagrant-dart-build Goto Github PK
View Code? Open in Web Editor NEWBuild Dart version that is compatible with Heroku
License: BSD 3-Clause "New" or "Revised" License
Build Dart version that is compatible with Heroku
License: BSD 3-Clause "New" or "Revised" License
who to build dart with ubuntu 10.04? i get a error
cc1plus: warnings being treated as errors
runtime/vm/compiler.cc: In function ‘bool dart::CompileParsedFunctionHelper(dart::ParsedFunction_, bool, intptr_t)’:
runtime/vm/compiler.cc:266: error: variable ‘prev_deopt_id’ might be clobbered by ‘longjmp’ or ‘vfork’
At global scope:
cc1plus: error: unrecognized command line option "-Wno-conversion-null"
make: *_* [out/ReleaseX64/obj.target/libdart_vm/runtime/vm/compiler.o] Error 1
make: *** Waiting for unfinished jobs....
BUILD FAILED
run
"Install/Compile/Build dart /vagrant/build_dart.sh"
get a error
No rule to make target `create_sdk' ./build_dart.sh has error
and now http://src.chromium.org/svn/trunk/src/build/install-build-deps.sh not support ubuntu 10.04 , at install-build-deps.sh line 55
ubuntu_versions="12\.04|12\.10|13\.04"
not have dart new version?
To get ready with the Dart 1.0 I need to deploy my application using the last Dart VM as there are some of my dependencies that require it.
Thanks in advance.
Gérald
-----> Installing Dart VM via URL https://github.com/selkhateeb/heroku-vagrant-dart-build/releases/download/latest/dart-sdk.tar
-----> Copy Dart binaries to app root
-----> Dart cmd found at -rwx------ 1 u53142 53142 10130488 Nov 13 11:35 /app/dart-sdk/bin/dart
Dart VM version: 0.8.9.0_r29656_vagrant (Thu Oct 31 13:47:52 2013) on "linux_x64"
-----> Dart reports version:
-----> Install packages
*** Found pubspec.yaml in .
Resolving dependencies.........................................
Package stream requires SDK version >=0.8.10 but the current SDK is 0.8.9+0.r29656.vagrant.
Hi,
App environment available in all builds https://devcenter.heroku.com/changelog-items/416
I have some issue related to this feature retired :
-----> Fetching custom git buildpack... done
-----> Dart app detected
-----> Welcome, this machine is: Linux 066cb24c-4914-4334-b1c7-76c6ca8c2ce2 3.8.11-ec2 #1 SMP Fri May 3 09:11:15 UTC 2013 x86_64 GNU/Linux
ERROR: you must specify DART_SDK_URL to a Dart SDK for Linux. See README for this buildpack.
! Push rejected, failed to compile Dart app
To [email protected]:la-boussole.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:la-boussole.git'
exit status 1
From log : https://drone.io/github.com/GeReinhart/app-share-gps-trace/266
How can we solve this ?
Many thanks,
Gérald
I have built the 1.6.0 stable dart sdk for Heroku. This has been built for ubuntu 10.04.
https://www.dropbox.com/s/ungm7hqk67hsarb/dart-sdk.tar.gz?dl=0
You just have to update the 'lastest dart-sdk link.
This has been tested, it worked for me on Heroku.
2013-11-01T03:41:37.420121+00:00 app[web.1]: The built-in library 'dart:platform' is not available on the stand-alone VM.
2013-11-01T03:41:37.420121+00:00 app[web.1]: import "dart:platform" as platform;
2013-11-01T03:41:37.420121+00:00 app[web.1]: 'package:stream/stream.dart': Error: line 11 pos 1: library handler failed
2013-11-01T03:41:37.420121+00:00 app[web.1]: ^
2013-11-01T03:41:37.420121+00:00 app[web.1]: 'file:///app/bin/main.dart': Error: line 4 pos 1: library handler failed
2013-11-01T03:41:37.420121+00:00 app[web.1]: import 'package:stream/stream.dart';
2013-11-01T03:41:37.420121+00:00 app[web.1]: ^
library dart:platform at sdk/lib/platform not exist
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.