Re: [Bacula-users] qt-console Compile Error
Hello, It appears that you are trying to build bat without building "bacula" (or at least the Bacula libraries). Bat depends on Bacula libraries, so the recommended way to build it is with: ./configure make cd src/qt-console make If you really know Bacula and what you are doing with it, this could possibly be shortened a bit, but the above is the simplest. Best regards, Kern On 15/09/2017 10:34, Can Şirin wrote: Hi, I have problem with compiling qt-console v9.0.4 on RHEL 7. I have previously succesfully compiled it in v7.2.0. There was no problem with that version. I am trying to upgrade from v7.2.0 to v9.0.4. For this component I have installed qt qt-devel packages from the RHEL base repo with the version 4.8.5-13. You can see the error output of compiling progress and the configure parameter in the attachment. Is there anyone encountering such kind of problem? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] qt-console Compile Error
Am 18.09.2017 um 09:03 schrieb Can Şirin: It is the same again. It is definitely related with enable-bat option. Did you compiled it properly with bat? Yes, bat did compile properly without any additional option - only --with-mysql --enable-conio --enable-bat. We use bat via ssh and X11 forwarding. -- Ralf Brinkmann -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] qt-console Compile Error
Thanks for your advice. Actually it really make sense to look at the spec file of successfully compiled rpm files. I should have thought about that. Anyway... Problem is solved. As I can see from spec file, another configure parameter (with-x) must be defined to successfully compile the Bacule with bat. You can see the configure option below. CFLAGS="-g -Wall" ./configure \ --sbindir=/opt/bacula904/bin \ --sysconfdir=/opt/bacula904/etc \ --with-working-dir=/opt/bacula904/working \ --with-pid-dir=/opt/bacula904/working \ --with-subsys-dir=/opt/bacula904/working \ --enable-smartalloc \ --with-postgresql=/usr/pgsql-9.4 \ --with-openssl \ --enable-conio \ --enable-acl \ --enable-lzo \ --enable-lockmgr \ --with-tcp-wrappers \ --with-dir-user=bacula \ --with-dir-group=bacula \ --with-sd-user=bacula \ --with-sd-group=bacula \ --with-fd-user=root \ --with-fd-group=root \ --with-systemd \ --enable-bat \ --with-x \ --with-dump-email=nore...@example.com \ --with-job-email=nore...@example.com \ --with-smtp-host=smtp.example.com Quoting Simone Caronni: Hi, On Mon, Sep 18, 2017 at 9:03 AM, Can Şirin wrote: It is the same again. It is definitely related with enable-bat option. Did you compiled it properly with bat? Quoting Ralf Brinkmann : For a new try I'd set the compile options to a minimum, e.g.: --with-postgresql --enable-conio --enable-bat You might want to take a look at the SPEC files for the rawhide rebuilds: https://copr.fedorainfracloud.org/coprs/slaanesh/Bacula/ The packages are at version 9.0.4 and BAT is enabled. If you want to use the packages directly, read the documents as explained. Regards, --Simone -- You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson). http://xkcd.com/229/ http://negativo17.org/ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] qt-console Compile Error
Hi, On Mon, Sep 18, 2017 at 9:03 AM, Can Şirinwrote: > It is the same again. It is definitely related with enable-bat option. Did > you compiled it properly with bat? > > Quoting Ralf Brinkmann : > > For a new try I'd set the compile options to a minimum, e.g.: > > --with-postgresql > --enable-conio > --enable-bat > > You might want to take a look at the SPEC files for the rawhide rebuilds: https://copr.fedorainfracloud.org/coprs/slaanesh/Bacula/ The packages are at version 9.0.4 and BAT is enabled. If you want to use the packages directly, read the documents as explained. Regards, --Simone -- You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson). http://xkcd.com/229/ http://negativo17.org/ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] qt-console Compile Error
It is the same again. It is definitely related with enable-bat option. Did you compiled it properly with bat? Quoting Ralf Brinkmann: For a new try I'd set the compile options to a minimum, e.g.: --with-postgresql --enable-conio --enable-bat -- Ralf Brinkmann -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/bacula-users -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] qt-console Compile Error
For a new try I'd set the compile options to a minimum, e.g.: --with-postgresql --enable-conio --enable-bat -- Ralf Brinkmann -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] qt-console Compile Error
Hi, I have problem with compiling qt-console v9.0.4 on RHEL 7. I have previously succesfully compiled it in v7.2.0. There was no problem with that version. I am trying to upgrade from v7.2.0 to v9.0.4. For this component I have installed qt qt-devel packages from the RHEL base repo with the version 4.8.5-13. You can see the error output of compiling progress and the configure parameter in the attachment. Is there anyone encountering such kind of problem? ## ###Configuration Parameters### ## CFLAGS="-g -Wall" ./configure \ --sbindir=/opt/bacula904/bin \ --sysconfdir=/opt/bacula904/etc \ --with-working-dir=/opt/bacula904/working \ --with-pid-dir=/opt/bacula904/working \ --with-subsys-dir=/opt/bacula904/working \ --enable-smartalloc \ --with-postgresql=/usr/pgsql-9.4 \ --with-openssl \ --enable-conio \ --enable-acl \ --enable-lzo \ --enable-lockmgr \ --with-tcp-wrappers \ --with-dir-user=bacula \ --with-dir-group=bacula \ --with-sd-user=bacula \ --with-sd-group=bacula \ --with-fd-user=root \ --with-fd-group=root \ --with-systemd \ --enable-bat \ --with-dump-email=nore...@example.com \ --with-job-email=nore...@example.com \ --with-smtp-host=smtp.example.com ### ### # ###Compile error of qt-console### # ==>Entering directory /root/PAKETLER/bacula/bacula-9.0.4/src/qt-console make[1]: Entering directory `/root/PAKETLER/bacula/bacula-9.0.4/src/qt-console' /usr/lib64/qt4/bin/uic main.ui -o ui/ui_main.h /usr/lib64/qt4/bin/uic prefs.ui -o ui/ui_prefs.h /usr/lib64/qt4/bin/uic label/label.ui -o ui/ui_label.h /usr/lib64/qt4/bin/uic relabel/relabel.ui -o ui/ui_relabel.h /usr/lib64/qt4/bin/uic mount/mount.ui -o ui/ui_mount.h /usr/lib64/qt4/bin/uic console/console.ui -o ui/ui_console.h /usr/lib64/qt4/bin/uic restore/restore.ui -o ui/ui_restore.h /usr/lib64/qt4/bin/uic restore/prerestore.ui -o ui/ui_prerestore.h /usr/lib64/qt4/bin/uic restore/brestore.ui -o ui/ui_brestore.h /usr/lib64/qt4/bin/uic restore/runrestore.ui -o ui/ui_runrestore.h /usr/lib64/qt4/bin/uic restore/restoretree.ui -o ui/ui_restoretree.h /usr/lib64/qt4/bin/uic run/run.ui -o ui/ui_run.h /usr/lib64/qt4/bin/uic run/runcmd.ui -o ui/ui_runcmd.h /usr/lib64/qt4/bin/uic run/estimate.ui -o ui/ui_estimate.h /usr/lib64/qt4/bin/uic run/prune.ui -o ui/ui_prune.h /usr/lib64/qt4/bin/uic select/select.ui -o ui/ui_select.h /usr/lib64/qt4/bin/uic select/textinput.ui -o ui/ui_textinput.h /usr/lib64/qt4/bin/uic medialist/medialist.ui -o ui/ui_medialist.h /usr/lib64/qt4/bin/uic mediaedit/mediaedit.ui -o ui/ui_mediaedit.h /usr/lib64/qt4/bin/uic joblist/joblist.ui -o ui/ui_joblist.h /usr/lib64/qt4/bin/uic medialist/mediaview.ui -o ui/ui_mediaview.h /usr/lib64/qt4/bin/uic clients/clients.ui -o ui/ui_clients.h /usr/lib64/qt4/bin/uic storage/storage.ui -o ui/ui_storage.h /usr/lib64/qt4/bin/uic fileset/fileset.ui -o ui/ui_fileset.h /usr/lib64/qt4/bin/uic joblog/joblog.ui -o ui/ui_joblog.h /usr/lib64/qt4/bin/uic jobs/jobs.ui -o ui/ui_jobs.h /usr/lib64/qt4/bin/uic job/job.ui -o ui/ui_job.h /usr/lib64/qt4/bin/uic help/help.ui -o ui/ui_help.h /usr/lib64/qt4/bin/uic mediainfo/mediainfo.ui -o ui/ui_mediainfo.h /usr/lib64/qt4/bin/uic status/dirstat.ui -o ui/ui_dirstat.h /usr/lib64/qt4/bin/uic storage/content.ui -o ui/ui_content.h /usr/lib64/qt4/bin/uic status/clientstat.ui -o ui/ui_clientstat.h /usr/lib64/qt4/bin/uic status/storstat.ui -o ui/ui_storstat.h g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I.. -I. -Iconsole -Irestore -Iselect -Imoc -Iui -o obj/main.o main.cpp g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I.. -I. -Iconsole -Irestore -Iselect -Imoc -Iui -o obj/bat_conf.o bat_conf.cpp g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I.. -I. -Iconsole -Irestore -Iselect -Imoc -Iui -o obj/mainwin.o mainwin.cpp g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I.. -I. -Iconsole -Irestore -Iselect -Imoc -Iui -o obj/qstd.o qstd.cpp g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I.. -I. -Iconsole -Irestore -Iselect -Imoc -Iui -o obj/pages.o pages.cpp g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I.
[Bacula-users] qt-console
Hello, This is just to let you know that I have now committed the first cut of the qt-console (the name until voting is completed) to the Source Forge CVS. The new directory is: bacula-source/src/qt-console the current procedure is: cd bacula-source/src/qt-console make the program will be named qt-console. I've improved the layout somewhat, but I have not yet figured out how to limit the size of the left window compared to the right window. I would like the left window to remain unchanged when the Window is resized. It would change size horizontally only when the size bar is moved. The window on the right, should grow/shrink with the main window being resized. In addition, I have not figured out how to get the silly widgets within the containers to grow to fill the container. Oh well, that will surely come. Finally, if you know how to hook other window classes (dialogs) in subdirectories into the Stacked Widget, please let me know. I envision to have each major item in the left browser or function window pull up dialogs in the right window that are in a subdirectory (e.g. restore, backup, reports, ...). Each subdirectory can contain one or more forms (xxx.ui) that will be used depending on how the user proceeds through the dialogs, ... Anyone who can figure out any of the above, please let me know. Otherwise, with a bit of time and reading on Qt, I'll get there. If you are wondering about what the windows should contain. The left window is meant to be a tree that looks very similar to a browser directory tree in many windows -- e.g. Windows Explorer. The items represent Bacula daemons and actions you can perform (restore, backup, see the catalog, ...). Some of the items will open to expose sub-items. For example a Restore item could have under it 5 or 10 different ways to restore (all, by file, by date, ...). Once an item is clicked in the left tree window, the right window, which is a set of StackedWidgets will display the appropriate dialog for the thing that you have chosen. In some cases, such as the console, this will simply be a Text window. In other cases, it may be a tabbed window, and in others simply something that looks like a dialog box. Everyone on these lists who has been using a GUI has seen this kind of interface before. If my description is not clear, it will become so after we are able to fill in a few real items and make them functional. Regards, Kern PS: two people have officially offered their help with the project and have been accepted: 1. Christopher Rasch-Olsen Raa -- developer 2. Julián Hernandez -- GUI usability Thanks guys. One other persons is still considering the project ... - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] qt-console
On Thu 18 Jan 2007 07:03, Kern Sibbald wrote: Hello, This is just to let you know that I have now committed the first cut of the qt-console (the name until voting is completed) to the Source Forge CVS. The new directory is: bacula-source/src/qt-console the current procedure is: cd bacula-source/src/qt-console make the program will be named qt-console. I've improved the layout somewhat, but I have not yet figured out how to limit the size of the left window compared to the right window. I would like the left window to remain unchanged when the Window is resized. It would change size horizontally only when the size bar is moved. The window on the right, should grow/shrink with the main window being resized. In addition, I have not figured out how to get the silly widgets within the containers to grow to fill the container. Oh well, that will surely come. Finally, if you know how to hook other window classes (dialogs) in subdirectories into the Stacked Widget, please let me know. I envision to have each major item in the left browser or function window pull up dialogs in the right window that are in a subdirectory (e.g. restore, backup, reports, ...). Each subdirectory can contain one or more forms (xxx.ui) that will be used depending on how the user proceeds through the dialogs, ... Anyone who can figure out any of the above, please let me know. Otherwise, with a bit of time and reading on Qt, I'll get there. Are you using designer? If you are, send me the UI file and I will give it a look today. If you are not... it's more involved :-) If you are wondering about what the windows should contain. The left window is meant to be a tree that looks very similar to a browser directory tree in many windows -- e.g. Windows Explorer. The items represent Bacula daemons and actions you can perform (restore, backup, see the catalog, ...). Some of the items will open to expose sub-items. For example a Restore item could have under it 5 or 10 different ways to restore (all, by file, by date, ...). Once an item is clicked in the left tree window, the right window, which is a set of StackedWidgets will display the appropriate dialog for the thing that you have chosen. In some cases, such as the console, this will simply be a Text window. In other cases, it may be a tabbed window, and in others simply something that looks like a dialog box. Everyone on these lists who has been using a GUI has seen this kind of interface before. If my description is not clear, it will become so after we are able to fill in a few real items and make them functional. Regards, Kern PS: two people have officially offered their help with the project and have been accepted: 1. Christopher Rasch-Olsen Raa -- developer 2. Julián Hernandez -- GUI usability Thanks guys. One other persons is still considering the project ... - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- (\''/).__..-''`-. . Roberto Alsina `9_ 9 ) `-. ( ).`-._.`) [EMAIL PROTECTED] (_Y_.)' ._ ) `._`. -.-' KDE Developer (MFCH) _..`-'_..-_/ /-'_.' (l)-'' ((i).' ((!.' Buenos Aires - Argentina Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. --Brian W. Kernighan - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users