Bacula-users

Re: [Bacula-users] bacula 5.2.10 upgrade question

2012-08-07 09:18:37
Subject: Re: [Bacula-users] bacula 5.2.10 upgrade question
From: "Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]" <uthra.r.rao AT nasa DOT gov>
To: Uwe Schuerkamp <uwe.schuerkamp AT nionex DOT net>
Date: Tue, 7 Aug 2012 08:15:45 -0500
Uwe,

Thank you for your email.

1) On my system I checked for readline-devel:

# rpm -qa | grep readline
readline-6.0-3.el6.x86_64
compat-readline5-5.2-17.1.el6.x86_64

So, should I install "yum install readline-devel"  before I configure new 
version of bacula??


2)I looked in to the configure --help in bacula version  5.2.6. I see that 
"conio" is enabled by default. Should I disable it (--disable-conio)???

"--disable-conio       disable conio support [default=no]" ????


3)I see that by default readline is disabled. Should I enable it 
"--with-readline"???

--disable-readline      disable readline support [default=yes]
--with-readline[=DIR]   specify readline library directory

Is it just enough if I install "readline-devel" through yum to be able to 
recall commands on bconsole or should I also configure bacula with " 
"--disable-conio" and "--with-readline"????

I would really appreciate you rhelp.

Thank you.
Uthra



-----Original Message-----
From: Uwe Schuerkamp [mailto:uwe.schuerkamp AT nionex DOT net] 
Sent: Tuesday, August 07, 2012 4:36 AM
To: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]
Cc: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] bacula 5.2.10 upgrade question

On Mon, Aug 06, 2012 at 10:09:31AM -0500, Rao, Uthra R. (GSFC-672.0)[ADNET 
SYSTEMS INC] wrote:
> I am currently on bacula 5.2.6 on a RHEL6 machine.  When I had compiled 
> bacula 5.2.6 sometime back I had used the following switches but  when I go 
> to "bconsole" and type commands and later if I want to recall the previous 
> command it does not work.
> 
> ./configure --prefix=/usr/local/bacula-5.2.6 \ --enable-smartalloc  \ 
> --with-postgresql  \ --with-dump-email=emailID  \ 
> --with-job-email=emailID  \ --with-smtp-host=mailhost_address  \ 
> --enable-bat --with-tcp-wrappers=/lib64  \ 
> --with-working-dir=/var/bacula/working
> 
> Now I am ready to upgrade to bacula-5.2.10 and was going to compile the new 
> version. My understanding is in order to be able to recall the previous 
> commands in bconsole I have to use an additional configure switch right?
> 
> --disable-conio --with-readline
> 
> If I compile bacula-5.2.10 with the above switch will I be able to recall 
> commands in bconsole?
> 
> Also, I would like to know if I move from bacula 5.2. 6 to 5.2.10 do I have 
> to update the postgresql database?
> 
> I would appreciate any help with this.
> 
> Thank you.
> Uthra

Usually the configure script will pick up the libreadline dev libs during the 
configuration run and add the option automatically. My guess is you're missing 
the development libraries which you can install using yum: 

# rpm -qa | grep readline
readline-devel-6.0-3.el6.x86_64
readline-6.0-3.el6.x86_64

yum install readline-devel 

should get you going. 

HTH, Uwe 


--
NIONEX --- Ein Unternehmen der Bertelsmann AG



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>