Git Product home page Git Product logo

Comments (5)

ashleygwilliams avatar ashleygwilliams commented on July 17, 2024

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.

migerh avatar migerh commented on July 17, 2024

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.

ashleygwilliams avatar ashleygwilliams commented on July 17, 2024

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.

migerh avatar migerh commented on July 17, 2024

from cargo-generate.

ashleygwilliams avatar ashleygwilliams commented on July 17, 2024

closed by #45 (review)

from cargo-generate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.