Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-23-2014, 12:14 AM   #1
LQ Newbie
Registered: Mar 2010
Posts: 11

Rep: Reputation: 5
Lightbulb readline 6 for slackware-current needed (nftables)

I would like to try nftables with slackware-current. It needs recent readline from 6.X version.
Where could I ask to include it parraler with readline 5.X into slackware-current?
Do I need to do it myself or maybe there are plans to include it in slackware current in near future?
Old 01-23-2014, 09:28 AM   #2
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled

Your issue has to do with how nftables checks for and links libreadline and how Slackware is configured.

I've prepared a patch you should apply to nftables before running This should solve your problem.


PS As clarification for others who end up in this thread, OP's problem is not due to Slackware's readline version.

Last edited by mancha; 01-23-2014 at 10:54 AM.
1 members found this post helpful.
Old 01-26-2014, 06:48 AM   #3
LQ Newbie
Registered: Mar 2010
Posts: 11

Original Poster
Rep: Reputation: 5
I found the solution to use readline-5.2 on Slackware with nftables. I need to add LIBS=”-ltermcap -lgmp” to ./configure step
thanks for reply.
Old 01-26-2014, 07:36 AM   #4
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
Glad you solved it though I think my patch solution is more organic.

Also, nftables has a hardcoded XML schema path that needs changing if one wants to build the PDF documentation on Slackware:
--- a/doc/nftables.xml
+++ b/doc/nftables.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
- "/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd">
+ "/usr/share/xml/docbook/xml-dtd-4.5/docbookx.dtd">
Slackware uses LFS path conventions for docbook as does Arch Linux. Debian, OpenSUSE, and others use the path nftables used.

If drmozes happens on this thread maybe he can shed some light on these differing conventions and how hard-coding issues can be avoided.


Last edited by mancha; 01-26-2014 at 12:09 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware ARM (current) epic mistake: the current Android kernels are kicked out! Darth Vader Slackware 16 08-25-2013 04:36 PM
[SOLVED] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM
slackware 9.1, readline on console 1 line delay after left KDE sirpelidor Slackware 2 01-08-2004 09:19 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:26 PM.

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