On Friday 27 July 2007 16:06, Ryan Novosielski wrote: > Kern Sibbald wrote: > > On Friday 27 July 2007 12:13, Jerome Massano wrote: > >> Hello ! > >> > >> I am having problems building bat in version 2.1.28. Here is the > >> output : > >> > >> g++ -Wl,-rpath,/usr/local/Trolltech/Qt-4.3.0/lib -o bat obj/main.o > >> obj/bat_conf.o obj/mainwin.o obj/qstd.o obj/authenticate.o obj/console.o > >> obj/prerestore.o obj/restore.o obj/brestore.o obj/label.o obj/relabel.o > >> obj/mount.o obj/run.o obj/runcmd.o obj/estimate.o obj/prune.o > >> obj/select.o obj/pages.o obj/medialist.o obj/mediaedit.o obj/joblist.o > >> obj/clients.o obj/storage.o obj/fileset.o obj/joblog.o obj/jobs.o > >> obj/restoretree.o obj/jobplot.o obj/help.o obj/moc_mainwin.o > >> obj/moc_console.o obj/moc_restore.o obj/moc_label.o obj/moc_relabel.o > >> obj/moc_mount.o obj/moc_run.o obj/moc_select.o obj/moc_medialist.o > >> obj/moc_mediaedit.o obj/moc_joblist.o obj/moc_clients.o > >> obj/moc_storage.o obj/moc_fileset.o obj/moc_joblog.o obj/moc_jobs.o > >> obj/moc_restoretree.o obj/moc_jobplot.o obj/moc_help.o obj/qrc_main.o > >> -L/usr/local/Trolltech/Qt-4.3.0/lib -L../lib -lbac -lssl -lcrypto > >> -L../depkgs/qwt//lib -lqwt -lQtGui -L/usr/local/Trolltech/Qt-4.3.0/lib > >> -L/usr/X11R6/lib -lpng -lSM -lICE -pthread -pthread -lXi -lXrender > >> -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext > >> -lX11 -lQtCore -lz -lm -pthread -lgthread-2.0 -lglib-2.0 -lrt -ldl > >> -lpthread > >> /usr/bin/ld: ne peut trouver -lqwt > >> collect2: ld a retourné 1 code d'état d'exécution > >> make[1]: *** [bat] Erreur 1 > >> > >> > >> I did not have this problem with version 2.1.18, which compiled with no > >> problem at all. > >> > >> For more informations, this is what i did : > >> > >> > >> Uncompressed depkgs > >> cd depkgs > >> make > >> cd qwt-5.0.2/ > >> make && make install > >> cd ../.. > >> uncompress bacula > >> cd bacula-2.1.28 > >> ./configure --enable-bat --enable-smartalloc --with-openssl --with-mysql > >> --with-qwt=../depkgs/qwt/ > > > > The --with-qwt= needs an absolute path rather than a relative path as you > > have specified. > > > > I'm not sure that this is your problem, but it will probably help. > > > > Regards, > > > > Kern > > Do you know if that is the case with most configure flags, or is this > one different. I feel like I haven't run into that before, but I'm not > sure I ever had a reason to try a relative PATH.
Bacula uses the paths as they are specified, and if they are used in a subdirectory such as <bacula-source>/src/qt-console ... then a relative path does not work very well. If they happen to be used from the top level directory they *might* work. > > -- > ---- _ _ _ _ ___ _ _ _ > |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II > |$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) > \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users