LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-23-2014, 12:14 AM   #1
y0g1
Member
 
Registered: Mar 2010
Posts: 33

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


Hello,
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
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
Hi.

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 autogen.sh. This should solve your problem.

--mancha

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
y0g1
Member
 
Registered: Mar 2010
Posts: 33

Original Poster
Rep: Reputation: 18
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
mancha
Member
 
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:
Code:
--- 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">
 
 <refentry>
        <refentryinfo>
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.

--mancha

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


Reply


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

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

All times are GMT -5. The time now is 05:02 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