Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Fresh FreeBSD ports compilation query
« previous
next »
Print
Pages: [
1
]
Author
Topic: Fresh FreeBSD ports compilation query (Read 2469 times)
rackg
Jr. Member
Posts: 68
Karma: 3
Ethical hacker
Fresh FreeBSD ports compilation query
«
on:
September 07, 2022, 11:59:25 am »
I have tried to add additional ports to the list i.e net/netatalk3, I have got a failure on the configure part saying there is an error in CONFIG ARGS used i.e kerberos. However there is no issue with the Makefile or the source this is something to do with OPNsense way of building ports why I am thinking that because of the following
1. I could compile OPNsense ports i.e /usr/ports/net/netatalk3 by using make, make install command. It works fine and installed properly.
2. When I added this to config/22.7/ports.conf I could see the build failing at a different stage. I think its mostly to with the way of PORT compile method or mostly environment issue to deal with.
3. I tried with the mainstream GIT of freebsd ports by using make, make install command. It works fine and installed properly.
Could you please throw some points how the make ports works in OPNsense how different the command are different from the one which I used.
Attached only limited logs..
* FreeBSD specific configuration
checking for ldconfig... /sbin/ldconfig
NETA_LDCONFIG = /sbin/ldconfig
no
checking whether to enable AFS support... no
checking for cracklib support... no
checking whether to enable verbose debug code... no
checking whether to enable debugging with debuggers... no
checking for libiconv... yes
checking for working iconv... yes
checking whether iconv supports UCS-2-INTERNAL... yes
checking whether or not to use Database Daemon CNID backend... yes
checking whether or not to use BDB Concurrent Data Store... no
checking whether or not to use LAST DID scheme... yes
checking whether or not to use TDB DID scheme... yes
checking MySQL library and headers... checking default DID scheme... dbd
checking whether default CNID scheme has been activated... yes
checking for main in -lrpcsvc... yes
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking rpc/pmap_prot.h usability... no
checking rpc/pmap_prot.h presence... yes
configure: WARNING: rpc/pmap_prot.h: present but cannot be compiled
configure: WARNING: rpc/pmap_prot.h: check for missing prerequisite headers?
configure: WARNING: rpc/pmap_prot.h: see the Autoconf documentation
configure: WARNING: rpc/pmap_prot.h: section "Present But Cannot Be Compiled"
configure: WARNING: rpc/pmap_prot.h: proceeding with the compiler's result
checking for rpc/pmap_prot.h... no
checking rpcsvc/rquota.h usability... yes
checking rpcsvc/rquota.h presence... yes
checking for rpcsvc/rquota.h... yes
checking for getfsquota in -lquota... no
checking pkg-config is at least version 0.9.0... yes
checking avahi-client/client.h usability... yes
checking avahi-client/client.h presence... no
configure: WARNING: avahi-client/client.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: avahi-client/client.h: proceeding with the compiler's result
checking for avahi-client/client.h... yes
checking for avahi_client_new in -lavahi-client... yes
checking for AVAHI... yes
checking for AVAHI_TPOLL... yes
checking whether to enable Zerconf support... yes
checking whether to enable the TCP wrappers... yes
checking for PAM installation directory... no
checking for includable common PAM config... no (using defaut pam_unix.so)
checking whether to enable PAM support... no
checking shadow.h usability... no
checking shadow.h presence... no
checking for shadow.h... no
checking whether shadow support should be enabled... no
checking whether checking for a valid shell should be enabled... yes
disabling init-style support
checking for libgcrypt-config... /usr/local/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.2.3... yes (1.9.4)
checking libgcrypt API version... okay
checking libgcrypt hast CAST5 API... yes
configure: Enabling DHX2 UAM
checking for SSL... /usr/local (enabling RANDNUM and DHX support)
checking for main in -lcrypto... yes
checking for main in -ldes... no
checking for Berkeley DB headers in /usr/local/include/db5... yes
checking /usr/local/include/db5/db.h version >= 4.6.0... yes
checking Berkeley DB library (-ldb53)... no
checking Berkeley DB library (-ldb5.3)... no
checking Berkeley DB library (-ldb-53)... no
checking Berkeley DB library (-ldb-5.3)... 5.3.28 ... yes
checking crypt.h usability... no
checking crypt.h presence... no
checking for crypt.h... no
checking for main in -lcrypt... yes
checking whether the PGP UAM should be build... no
checking whether Kerberos V UAM should be build... no
checking for Kerberos 5 (necessary for GetSrvrInfo:DirectoryNames support)... yes
checking krb5/krb5.h usability... no
checking krb5/krb5.h presence... no
checking for krb5/krb5.h... no
checking krb5.h usability... no
checking krb5.h presence... no
checking for krb5.h... no
checking kerberosv5/krb5.h usability... no
checking kerberosv5/krb5.h presence... no
checking for kerberosv5/krb5.h... no
configure: error: --with-kerberos was given, but no headers found
See `config.log' for more details
[20220907070004] ===> Script "configure" failed unexpectedly.
Please report the problem to marcus@FreeBSD.org [maintainer] and attach the
«
Last Edit: September 07, 2022, 12:01:26 pm by rackg
»
Logged
-RackG
rackg
Jr. Member
Posts: 68
Karma: 3
Ethical hacker
Re: Fresh FreeBSD ports compilation query
«
Reply #1 on:
September 09, 2022, 04:16:32 pm »
I tired to enable the set -x on shell scripts of ports.sh common.sh and few other but didn't get any extra logs other than one posted here. Franco can you please throw some light I am clueless what is going on.
Logged
-RackG
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: Fresh FreeBSD ports compilation query
«
Reply #2 on:
September 26, 2022, 11:01:37 am »
The FreeBSD default is to ship an embedded kerberos in base, but for OPNsense we deactivate this and ship the security/krb5 port variant instead. Some ports don't support ports-based krb5 yet.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Fresh FreeBSD ports compilation query