Re: [Bacula-users] bacula 5.2.10 upgrade question
On Tue, Aug 07, 2012 at 12:49:42PM -0500, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] wrote: Uwe, I installed #yum install readline-devel and then ran ./configure as follows: Hello, if you installed using #yum install readline-devel literally all you did was paste a comment into your shell ;-) This would explain why configure still fails to pick up the dev libraries. type yum install readline-devel as root, then verify by rpm -q readline-devel and run configure again. All the best, 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula 5.2.10 upgrade question
Uwe, I installed yum install readline-devel The did: # rpm -q readline-devel readline-devel-6.0-4.el6.x86_64 Then ran ./configure without these two switches --disable-conio --with-readline. In the output I saw Bacula conio support: yes -ltinfo readline support: no I then ran ./configure with --disable-conio --with-readline In the output I saw: Bacula conio support: no -lreadline -lhistory -ltinfo readline support: yes So looks like I will need the --disable-conio --with-readline switches in the configure to enable readline right?? Thank you. Uthra -Original Message- From: Uwe Schuerkamp [mailto:uwe.schuerk...@nionex.net] Sent: Wednesday, August 08, 2012 9:27 AM To: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] bacula 5.2.10 upgrade question On Tue, Aug 07, 2012 at 12:49:42PM -0500, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] wrote: Uwe, I installed #yum install readline-devel and then ran ./configure as follows: Hello, if you installed using #yum install readline-devel literally all you did was paste a comment into your shell ;-) This would explain why configure still fails to pick up the dev libraries. type yum install readline-devel as root, then verify by rpm -q readline-devel and run configure again. All the best, 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula 5.2.10 upgrade question
On Wed, Aug 08, 2012 at 08:38:05AM -0500, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] wrote: Uwe, I installed yum install readline-devel The did: # rpm -q readline-devel readline-devel-6.0-4.el6.x86_64 Then ran ./configure without these two switches --disable-conio --with-readline. In the output I saw Bacula conio support: yes -ltinfo readline support: no I then ran ./configure with --disable-conio --with-readline In the output I saw: Bacula conio support: no -lreadline -lhistory -ltinfo readline support: yes So looks like I will need the --disable-conio --with-readline switches in the configure to enable readline right?? Thank you. Uthra Hello, just give it a try, the configure output looks good now so you should be able to use line editing and command history once you recompile bacula with the above settings. cheers, 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula 5.2.10 upgrade question
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.schuerk...@nionex.net] Sent: Tuesday, August 07, 2012 4:36 AM To: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] Cc: bacula-users@lists.sourceforge.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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula 5.2.10 upgrade question
On Tue, Aug 07, 2012 at 08:15:45AM -0500, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] wrote: 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?? Hello Uthra, yep, doing a yum install readline-devel followed by another configure run should enable bacula's build script to pick up the development libraries header files. You can also check configure's output for something like checking for readline... to see if it's worked. All the best, 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula 5.2.10 upgrade question
Uwe, I installed #yum install readline-devel and then ran ./configure as follows: ./configure \ --prefix=/usr/local/bacula-5.2.10 \ --enable-smartalloc \ --with-postgresql \ --with-dump-email=uthra.r@nasa.gov \ --with-job-email=uthra.r@nasa.gov \ --with-smtp-host=mailhost.gsfc.nasa.gov \ --enable-bat \ --with-tcp-wrappers=/lib64 \ --with-working-dir=/var/bacula/working Configure completed without any error but in the output I noticed the following: Bacula conio support: yes -ltinfo readline support: no looks like I still have to enable readline during configure for this to work?? --disable-conio --with-readline Please see attached the output of the configure I ran. Thank you. Uthra -Original Message- From: Uwe Schuerkamp [mailto:uwe.schuerk...@nionex.net] Sent: Tuesday, August 07, 2012 9:28 AM To: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] bacula 5.2.10 upgrade question On Tue, Aug 07, 2012 at 08:15:45AM -0500, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] wrote: 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?? Hello Uthra, yep, doing a yum install readline-devel followed by another configure run should enable bacula's build script to pick up the development libraries header files. You can also check configure's output for something like checking for readline... to see if it's worked. All the best, Uwe -- NIONEX --- Ein Unternehmen der Bertelsmann AG Bacula 5.2.10 configure output: Configuration on Tue Aug 7 13:32:51 EDT 2012: Host: x86_64-unknown-linux-gnu -- redhat Enterprise release Bacula version: Bacula 5.2.10 (28 June 2012) Source code location: . Install binaries: /usr/local/bacula-5.2.10/sbin Install libraries:/usr/local/bacula-5.2.10/lib Install config files: /usr/local/bacula-5.2.10/etc Scripts directory:/usr/local/bacula-5.2.10/etc Archive directory:/tmp Working directory:/var/bacula/working PID directory:/var/run Subsys directory: /var/run/subsys Man directory:${datarootdir}/man Data directory: /usr/local/bacula-5.2.10/share Plugin directory: /usr/local/bacula-5.2.10/lib C Compiler: gcc 4.4.6 C++ Compiler: /usr/bin/g++ 4.4.6 Compiler flags:-g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti Linker flags: Libraries:-lpthread -ldl -ldl Statically Linked Tools: no Statically Linked FD: no Statically Linked SD: no Statically Linked DIR:no Statically Linked CONS: no Database backends:PostgreSQL Database port: Database name:bacula Database user:bacula Job Output Email: uthra.r@nasa.gov Traceback Email: uthra.r@nasa.gov SMTP Host Address:mailhost.gsfc.nasa.gov Director Port:9101 File daemon Port: 9102 Storage daemon Port: 9103 Director User: Director Group: Storage Daemon User: Storage DaemonGroup: File Daemon User: File Daemon Group: Large file support: yes Bacula conio support: yes -ltinfo readline support: no TCP Wrappers support: yes -lwrap TLS support: no Encryption support: no ZLIB support: yes LZO support: no enable-smartalloc:yes enable-lockmgr: no bat support: yes enable-gnome: no enable-bwx-console: no enable-tray-monitor: no client-only: no build-dird: yes build-stored: yes Plugin support: yes AFS support: no ACL support: no XATTR support:yes Python support: no systemd support: no Batch insert enabled: PostgreSQL -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula 5.2.10 upgrade question
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? No. Or at least I have made no changes to my postgresql database on either of my gentoo based bacula directors ( home network and work network) when I upgraded to bacula 5.2.10. John -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users