LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-20-2023, 06:52 AM   #1
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 610

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Build bind from official Slackware source


Code:
./bind.SlackBuild
Quote:
configure: WARNING: unrecognized options: --with-libtool, --with-python
Another question, why do I have the files:
Quote:
/lib64/libgssapi_krb5.so.2.2
/lib64/libgssapi_krb5.so.2
if the krb5-1.21.2-x86_64-1 package is not installed.
They remained during uninstallation or were added by another package.

Last edited by teoberi; 01-01-2024 at 02:55 AM. Reason: Clarification
 
Old 12-20-2023, 07:13 AM   #2
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 591

Rep: Reputation: Disabled
Quote:
Originally Posted by teoberi View Post
Code:
./bind.SlackBuild
Don't worry about warnings, newer versions of software sometimes drop configurable parameters.

Quote:
Another question, why do I have the files:

if the krb5-1.21.2-x86_64-1 package is not installed.
They remained during uninstallation or were added by another package.
Those were installed as part of the "aaa_libraries" package.
 
1 members found this post helpful.
Old 12-20-2023, 07:24 AM   #3
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 610

Original Poster
Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
The question is if the options are not recognized, has the support for them been added or not? For example for python?

You are right.
I had a hunch that they could be included in "aaa_libraries", but the problem is that it will stop the compilation without installing the krb5-1.21.2-x86_64-1 package. The lines in bind.SlackBuild must be commented.
 
Old 12-20-2023, 01:57 PM   #4
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 591

Rep: Reputation: Disabled
Quote:
Originally Posted by teoberi View Post
The question is if the options are not recognized, has the support for them been added or not? For example for python?
I guess that "--with-libtool" is no longer needed and "--with-python" is no longer supported because it will always want to use your system "python" command.

Quote:
You are right.
I had a hunch that they could be included in "aaa_libraries", but the problem is that it will stop the compilation without installing the krb5-1.21.2-x86_64-1 package. The lines in bind.SlackBuild must be commented.
I assume you are talking about these lines:
Code:
# Detect krb5:
if ls /lib*/libgssapi_krb5* 1> /dev/null 2> /dev/null ; then
  GSSAPI=" --with-gssapi "
else
  GSSAPI=" "
fi
They should not be removed, but the Kerberos detection should definitely be improved. Feel free to send this patch to Patrick :-)
Code:
--- source/n/bind/bind.SlackBuild.orig  2023-11-15 20:59:30.379098883 +0100
+++ source/n/bind/bind.SlackBuild       2023-12-20 20:57:22.089775043 +0100
@@ -76,7 +76,7 @@
  -exec chmod 644 {} \+
 
 # Detect krb5:
-if ls /lib*/libgssapi_krb5* 1> /dev/null 2> /dev/null ; then
+if pkg-config --exists krb5-gssapi 1> /dev/null 2> /dev/null ; then
   GSSAPI=" --with-gssapi "
 else
   GSSAPI=" "
 
4 members found this post helpful.
Old 12-21-2023, 12:20 AM   #5
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 610

Original Poster
Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Cool.
I will try building again without the two options and with your change to bind.SlackBuild.
Mr. Pat can evaluate your proposals and apply them if he wants.
 
Old 12-24-2023, 03:20 PM   #6
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 610

Original Poster
Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Bind (build from official Slackware source)
Code:
CPPFLAGS="-O2" \
CFLAGS="-fPIC -pie -fstack-protector-strong" \
LDFLAGS="-Wl,-z,now,-s,--enable-new-dtags"
The following options are no longer required:
Code:
--with-libtool
--with-python
Change for bind.SlackBuild proposed by @Windu added by our BDFL.

Last edited by teoberi; 01-01-2024 at 02:51 AM. Reason: Clarification
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sbopkg installs "original" SlackBuild to /usr/doc/<pkg>/ instead of "local" SlackBuild drumz Slackware 29 01-20-2018 12:12 AM
[Patch and SlackBuild] Grub-2.02~beta2 SlackBuild and Patch. ReaperX7 Slackware 3 01-28-2015 09:30 AM
SBOPKG(8) not list/show/build dependencies of SlackBuild scripts to build Slackware p xavi_slacky Slackware 3 06-13-2013 07:53 PM
Problems recompiling WindowMaker from original slackbuild garr0n Slackware 8 03-06-2007 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration