[Gluster-users] Feature Request, Console Manger: Command History

Eric epretorious at yahoo.com
Fri Sep 7 01:59:31 UTC 2012


After installing the readline headers:

> [eric at sn2 glusterfs-3.3.0]$ rpm -qa | grep readline
> readline-6.0-4.el6.x86_64
> readline-devel-6.0-4.el6.x86_64


...uninstalling and re-compiling:

> [eric at sn2 glusterfs-3.3.0]$ sudo make uninstall && sudo make clean && ./configure && make && sudo make install

...command history+editing seems to be working splendidly!

Eric Pretorious
Truckee, CA




>________________________________
> From: Eric <epretorious at yahoo.com>
>To: "gluster-users at gluster.org" <gluster-users at gluster.org> 
>Sent: Thursday, September 6, 2012 5:42 PM
>Subject: Re: [Gluster-users] Feature Request, Console Manger: Command History
> 
>
>The readline library is installed:
>
>
>> [eric at sn2 glusterfs-3.3.0]$ ldconfig -p | grep readline
>>    libreadline.so.6 (libc6,x86-64) => /lib64/libreadline.so.6
>
>
>...but ./configure doesn't seem to detect it:
>
>
>> GlusterFS configure summary
>> ===========================
>> FUSE client        : yes
>> Infiniband verbs   : no
>> epoll IO multiplex : yes
>> argp-standalone    : no
>> fusermount         : no
>> readline           : no
>> georeplication     : yes
>
>
>Suggestions?
>
>
>Eric Pretorious
>Truckee, CA
>
>
>
>>________________________________
>> From: Brian Candler <B.Candler at pobox.com>
>>To: Eric <epretorious at yahoo.com> 
>>Cc: "gluster-users at gluster.org" <gluster-users at gluster.org> 
>>Sent: Thursday, September 6, 2012 3:26 AM
>>Subject: Re: [Gluster-users] Feature Request, Console Manger: Command History
>> 
>>On Wed, Sep 05, 2012 at 08:53:27PM -0700, Eric wrote:
>>>    I compiled Gluster by following the very simple directions that were
>>>    provided in ./INSTALL:
>>>    1. ./configure
>>>    2. make
>>>    3. make install
>>>    FWIW: There doesn't appear to be anything in the Makefile about
>>>    readline.
>>
>>$ grep readline configure.ac
>>AC_CHECK_LIB([readline -lcurses],[readline],[RLLIBS="-lreadline -lcurses"])
>>AC_CHECK_LIB([readline -ltermcap],[readline],[RLLIBS="-lreadline -ltermcap"])
>>AC_CHECK_LIB([readline -lncurses],[readline],[RLLIBS="-lreadline -lncurses"])
>>   AC_DEFINE(HAVE_READLINE, 1, [readline enabled CLI])
>>echo "readline           : $BUILD_READLINE"
>>
>>That is: the readline library is detected, and the output of ./configure
>>should have reported whether readline was found or not.
>>
>>$
 grep readline glusterfs.spec.in
>>BuildRequires: ncurses-devel readline-devel openssl-devel
>>- Add readline and libtermcap dependencies
>>- Update to support readline
>>
>>That is: when you build an RPM package, readline-devel is automatically
>>required as a build-time dependency (was added Tue Jul 19 2011)
>>
>>
>>
>>
>_______________________________________________
>Gluster-users mailing list
>Gluster-users at gluster.org
>http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120906/ecac9d29/attachment.html>


More information about the Gluster-users mailing list