Coder Social home page Coder Social logo

Only compiles on Linux? about ztunnel HOT 8 CLOSED

istio avatar istio commented on July 19, 2024
Only compiles on Linux?

from ztunnel.

Comments (8)

howardjohn avatar howardjohn commented on July 19, 2024 1

Working on this right now as well as getting a docker environment for things. Thanks

from ztunnel.

howardjohn avatar howardjohn commented on July 19, 2024

The ubuntu part - running off linux is not a priority for me personally but would accept PRs of course; it shouldn't be too hard to put things behind cfg guards

from ztunnel.

keithmattix avatar keithmattix commented on July 19, 2024

I added some stubs that just return err; if that would be useful, even if just to make the IDE happy, I can submit a PR

from ztunnel.

stevenctl avatar stevenctl commented on July 19, 2024

Allow the many developers using macs to contribute.

from ztunnel.

ams0 avatar ams0 commented on July 19, 2024

with this simple Dockerfile I could run cargo build fine:

FROM rust

RUN apt-get update && apt-get install libclang-dev  protobuf-compiler libprotobuf-dev -y &&  rm -rf /var/lib/apt/lists/*

from ztunnel.

howardjohn avatar howardjohn commented on July 19, 2024

We have a dockerfile built in to the repo. You can do make shell to enter it, or just any make commands like make build

from ztunnel.

therealmitchconnors avatar therealmitchconnors commented on July 19, 2024

This might be the world's smallest violin, but I can't seem to get make build working on my M2 mac, even from within the container. When linking boringssl, I get:

 /usr/bin/ld: /workspaces/ztunnel/out/rust/debug/deps/libboring_sys-39720c5b79a85c79.rlib: error adding symbols: file in wrong format
          collect2: error: ld returned 1 exit status

from ztunnel.

howardjohn avatar howardjohn commented on July 19, 2024

Should be fixed by #139

from ztunnel.

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.