sudo apt install cifs-utils - in case you need this fucntionality.
dpkg --get-selections | grep -v deinstall | grep samba
./configure
make -j6 depending on CPU cores
sudo make install
Distutils not installed? Broken python installation? Get python-config now!
./configure --disable-python --without-ad-dc
perl module Parse::Yapp::Driver 1.05
sudo apt install libparse-yapp-perl
Jansson JSON support not found.
sudo apt install jansson-dev
sudo apt install libarchive-dev
ACL support not found.
sudo apt install libacl1-dev
LDAP support not found. Try installing libldap2-dev or openldap-devel.
sudo apt install libldap2-dev
PAM support is enabled but prerequisite libraries or headers not found.
sudo apt install libpam0g-dev
sudo apt-mark hold samba
sudo apt-mark unhold $(apt-mark showhold)
https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba
https://wiki.samba.org/index.php/Build_Samba_from_Source
sudo nano /etc/samba/smb.conf
RPC_SHARED:
Checking for dbus : yes
Checking for header dbus/dbus.h : yes
Checking for library dbus-1 : yes
Checking for openpty : ok
Checking for header linux/sockios.h : yes
Checking for header linux/ethtool.h : yes
Checking for system libtasn1 (>=3.8) : yes
Checking for program 'asn1Parser' : not found
WARNING: ans1Parser hasn't been found! Please install it (e.g. libtasn1-bin)
Checking linker accepts -Wl,-no-undefined : yes
Checking linker accepts ['-undefined', 'dynamic_lookup'] : no
Checking linker accepts -Wl,--as-needed : yes
-lc not needed : -lc is unnecessary
Checking configure summary : ok
Checking compiler for PIE support : yes
Checking compiler for full RELRO support : yes
Checking if compiler accepts -fstack-protector-strong : yes
Checking if compiler accepts -fstack-clash-protection : yes
'configure' finished successfully (53.268s)
No comments:
Post a Comment