#2369: Listing libedit  as dependency
------------------------------+---------------------------------------------
 Reporter:  Ag.Hatzim         |        Owner:  [email protected]
     Type:  task              |       Status:  new                           
 Priority:  normal            |    Milestone:  6.3                           
Component:  BOOK              |      Version:  SVN                           
 Severity:  normal            |   Resolution:                                
 Keywords:  libedit editline  |  
------------------------------+---------------------------------------------
Comment (by [EMAIL PROTECTED]):

 I think there is some misinformation here. It used to be the case that
 editline installed a readline.h header that overwrote the version from GNU
 readline. This obviously caused lots of problems with packages trying to
 link to readline.

 This is no longer the case, though, and packages that want to use editline
 have to explicitly include <editline/readline.h>. Probably on the BSDs
 they symlink readline/readline.h -> editline/editline.h and libreadline.so
 -> libedit.so so they can use editline as a drop-in readline replacement.
 That's not the case here.

 I know of 3 packages that will explicitly search for editline: dash,
 openssh and mysql. For dash and openssh (used in sftp), they are only
 compatible with editline and don't try to link to readline at all.

 For mysql, there is a complicated matrix of how --with-libedit and --with-
 readline work together. If you pass --without-libedit or --without-
 readline or both, then it uses the system readline. If no flags are
 passed, the bundled libedit is used. For --with-readline --without-
 libedit, you get bundled readline. But the fact is that it can't work with
 the system editline at all (it searches for readline/readline.h).

 This is obviously not an exhaustive search, but I think any worries about
 conflicts with readline are overblown. This package definitely provides
 new functionality for some packages. IMO, having command editing in sftp
 alone makes editline worthwhile.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2369#comment:4>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to