Giter Site home page Giter Site logo

Comments (6)

DL6ER avatar DL6ER commented on August 16, 2024

Building without mbedtls

This should work, I will check out what is going wrong and fix this. It's probably just what the error you have seen suggests: We have to guard all the Pi-hole X.509 features. The webserver is meant to be functional even without TLS.

mbedtls compile errors

Please check the version you have installed, FTL is meant to be built against the latest stable release, 3.5.0. I will add an internal check against the minimum supported version to print a clear error message.

Check out the v6.0 documentation draft for a detailed step-by-step to compile mbedtls from source as system-provided versions tend to be ancient.

from ftl.

oliv3r avatar oliv3r commented on August 16, 2024

Not sure if I want to go down that rabbit hole :) I just did apk add mbedtls-dev :p (on alpine:latest or alpine:edge)

from ftl.

DL6ER avatar DL6ER commented on August 16, 2024

I did just try installing mbedTLS v3.6.0 and recompiling FTL against it and it worked flawlessly. You could also use Pi-hole's ftl-build multi-arch containers instead of trying to create your own environment if you prefer.

Anyway, I don't think this is a rabbit hole, it's just the few lines I put up there that needs to be executed. I will soon try to debug this further but alpine:edge is currently broken concerning gmp preventing any FTL builds at the moment. I have reported this upstream but resolution is pending.

from ftl.

oliv3r avatar oliv3r commented on August 16, 2024

I'm actually not really trying to set up my own build env, but rather trying to package it for Alpine.

For now, its packaged fine, but for 2.25.2 the patches are needed and for Dev, as you said things are broken.

from ftl.

DL6ER avatar DL6ER commented on August 16, 2024

@oliv3r Please check again with the latest development-v6. Meanwhile, we changed the C standard from 11 to 17 and made the code compatible with clang. This involved a huge amount of small fixes and changes. The code does not compile flawlessly using both gcc and clang on alpine:latest.

from ftl.

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.