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/
make

I had no other warning/erros that the one I already pasted in this mail.
PS : in the output of make, the line "/usr/bin/ld: ne peut trouver
-lqwt" means "/usr/bin/ld can't find -lqwt"
If I don't put the --with-qwt=../depkgs/qwt/ in configure, then
configure halts saying it can't find qwt, which is needed for bat.




-------------------------------------------------------------------------
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

Reply via email to