opnsense / ports

OPNsense ports on top of FreeBSD
https://opnsense.org/
Other
163 stars 116 forks source link

Cant compile GetDNS #63

Closed nekromantik-zz closed 5 years ago

nekromantik-zz commented 5 years ago

Hi all Did a fresh install of OPNSense 18.7 and did update to 18.7.9 via GUI. Now I followed guide previously used on opnsense forums to build getdns with stubby. However I cannot compile it any more. I get the following error:

` *** Configure: Fatal Error: /usr/sbin/dtrace doesn't support -h flag


Your installed dtrace doesn't support the -h switch to compile a D program into a C header. Can't continue.

===> Script "Configure" failed unexpectedly. Please report the problem to mat@FreeBSD.org [maintainer] and attach the "/usr/obj/usr/ports/lang/perl5.28/work/perl-5.28.1/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1

Stop. make[4]: stopped in /usr/ports/lang/perl5.28 *** Error code 1

Stop. make[3]: stopped in /usr/ports/misc/help2man *** Error code 1

Stop. make[2]: stopped in /usr/ports/print/texinfo *** Error code 1

Stop. make[1]: stopped in /usr/ports/dns/libidn *** Error code 1

Stop. `

fichtner commented 5 years ago

Not sure what's wrong, but in any case you should use our official package now:

# pkg install getdns

Cheers, Franco

PS: note the build issue is with Perl 5.28 so that means there's something unrelated to getdns going on. Perl was just bumped from 5.26 to 5.28 so the build system is probably tainted.

nekromantik-zz commented 5 years ago

Official package does not include stubby so I have to use ports. will opnsense base be updated to fix the issue with perl?

fichtner commented 5 years ago

that's untrue, because we added it due to a community request

https://github.com/opnsense/tools/commit/efcc2b899b8a4

nekromantik-zz commented 5 years ago

oh I will use that then. thanks! no one updated the post on opnsense forums

fichtner commented 5 years ago

there were several threads unfortunately... it's a bit confusing. if you can please update your forum question too :)

Thanks, Franco