Comments (6)
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.
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.
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.
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.
@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)
- FTL Crash HOT 4
- Unable to build FTL from source HOT 9
- app password not working in v6 HOT 7
- [Pi-hole V6] Ftl crash because of database? HOT 10
- [Beta V6] FTL-Checksum error? HOT 4
- Compilation failure with GCC 14 HOT 7
- dns.hosts(0): invalid hostname HOT 4
- v6 Seg fault crash on first startup macOS M2 HOT 14
- Pihole-FTL v6 crash when ipv6 disabled and ipv6 dns given. HOT 2
- crash on internet outage HOT 6
- v6: documentation on PUT /clients/ is not complete HOT 8
- DHCP server is configured with incorrect netmask HOT 8
- Pihole is not installing update HOT 6
- Overzealous inline opitimizations? HOT 7
- FTL crashes when activating DHCP server HOT 6
- PTR requests not being generated for local clients HOT 26
- Client ipv6 hostnames is not resolving and not being stored in FTL database HOT 5
- Obsolete MAC Vendor DB Script HOT 1
- Regex Extension "reply=" truncates ipv6 addresses to 16 characters HOT 1
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 ftl.