Comments (5)
hey @migerh - i'm working on OSX and the travis tests run on windows and travis(linux) and i haven't run into this issue- tho i totally believe that it is one for some operating systems. i would love a PR to document this- the key work left to be done is to figure out what systems need it!
if you make a PR to throw a warning in the readme stating that you may need to sudo apt-get install pkg-config libssl-dev cmake
i would happily accept, and in the meantime i'll leave this open and see if we can't get a better sense of what group of OSs need this!
from cargo-generate.
Travis has a few things pre-installed, on ubuntu trusty libssl-dev
for example is one of them:
$ docker run --rm -ti travisci/ci-garnet:packer-1512502276-986baf0 dpkg -l libssl-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii libssl-dev:amd 1.0.1f-1ubun amd64 Secure Sockets Layer toolkit - de
In fact, the WSL ubuntu was the first time I ran into any trouble installing cargo-generate. All my other systems installed it just fine. OS X went through because openssl was already brewed because of python.
With a clean ubuntu docker container I was able to check what is required on ubuntu:
build-essentials libssl-dev pkg-config cmake zlib1g-dev
build-essentials
could possibly be broken down into smaller dependencies but it's generally not bad to have for developers. libssl-dev
and pkg-config
are for openssl-sys
, cmake
and zlib1g-dev
are for libssh2-sys
.
from cargo-generate.
cool- thanks for doing the research! i think a PR talking about this would be awesome! lemme know if you are up for it, otherwise i can spin something up later today :)
from cargo-generate.
from cargo-generate.
closed by #45 (review)
from cargo-generate.
Related Issues (20)
- Wish: Document how to test with modified `libgit2` HOT 7
- Support rustls (instead of OpenSSL) HOT 4
- --locked installation fails because proc-macro2 1.0.58 doesn't compile on nightly rust HOT 2
- Tracking Issue for SSH related problems
- migrate git2 dependencies to gitoxide HOT 2
- Use `rhai-fs` as optional feature for `cargo generate` HOT 3
- using files in template parent directories to create files in generated project directories HOT 3
- --destination option repeated path error HOT 1
- feat: support multiline custom placeholders HOT 5
- Missing release assets for v0.19.0 HOT 1
- Error while cargo install cargo-generate HOT 1
- feature: make submodule downloads optional
- default values from the `cargo-generate.toml` when `silent == true` are not in case they are not defined HOT 2
- Cargo install cargo-generate fails HOT 9
- [docs] Explain which conditional blocks are valid in `cargo-generate.toml` HOT 6
- Unable to cargo install cargo-generate HOT 2
- Don't rename underscores to hyphens in project names HOT 1
- cargo generate --git generates project folder but not the project itself HOT 2
- Release artifacts are missing on v0.20 HOT 1
- Remove extra lines for `{% if %}` statement HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-generate.