On 14 Aug 2007 at 17:43, Allan Black wrote: > > On 14 Aug 2007 at 9:35, Kern Sibbald wrote: > >> On Monday 13 August 2007 23:50, Dan Langille wrote: > >>> Does this error mean anything to anyone? > >>> > >>> ==>Entering directory /usr/home/dan/src/bacula-bat/work/bacula- > >>> 2.2.0/src/qt-console > >>> make: don't know how to make depend. Stop > >>> *** Error code 1 > >> You apparently don't have qmake on your path or some similar problem. > > This happens because there's no Makefile in src/qt-console at the time > make depend is run. Here's the output I get - notice that the Makefile > for bat is created after the make depends are run. If you run the > configure command a second time, it'll work.
Yep, I had noticed that src/qt-console/Makefile did not yet exist. I think that's a fault in the build system. The qmake needs to be run before the make depends. I'll look into that later. For now, I have managed to get the Makefile create. I'm now using these FreeBSD ports tree directives: USE_QT_VER=4 QT_COMPONENTS=qmake QMAKESPEC?= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ My results from building are below. I'm making progress > > Allan > > Doing make of dependencies > ==>Entering directory /export/home/allan/src/Bacula/bacula-2.2.0/src > ==>Entering directory /export/home/allan/src/Bacula/bacula-2.2.0/scripts > ==>Entering directory /export/home/allan/src/Bacula/bacula-2.2.0/src/lib > ==>Entering directory /export/home/allan/src/Bacula/bacula-2.2.0/src/findlib > ==>Entering directory /export/home/allan/src/Bacula/bacula-2.2.0/src/filed > ==>Entering directory > /export/home/allan/src/Bacula/bacula-2.2.0/src/qt-console > make: Fatal error: Don't know how to make target `depend' > Current working directory > /export/home/allan/src/Bacula/bacula-2.2.0/src/qt-console > *** Error code 1 > The following command caused the error: > for I in src scripts src/lib src/findlib src/filed src/qt-console > src/gnome2-console src/tray-monitor src/console src/cats src/dird > src/stored src/tools manpages; \ > do (cd $I; echo "==>Entering directory `pwd`"; make DESTDIR= depend || exit > 1); done > make: Fatal error: Command failed for target `depend' > Creating bat Makefile Full text of my build is here: http://www.langille.org/tmp/bacula-bat-compile1.txt Notable errors are: ==>Entering directory /usr/home/dan/src/bacula-bat/work/bacula-2.2.0/src/findlib ==>Entering directory /usr/home/dan/src/bacula-bat/work/bacula-2.2.0/src/qt-console make: don't know how to make depend. Stop *** Error code 1 Stop in /usr/home/dan/src/bacula-bat/work/bacula-2.2.0. Creating bat Makefile WARNING: Found potential symbol conflict of main.cpp (main.cpp) in SOURCES WARNING: Found potential symbol conflict of label.cpp (label/label.cpp) in SOURCES WARNING: Found potential symbol conflict of label.h (label/label.h) in HEADERS WARNING: Found potential symbol conflict of relabel.cpp (relabel/relabel.cpp) in SOURCES ... etc... ranlib libfind.a ==== Make of findlib is good ==== ==>Entering directory /usr/home/dan/src/bacula-bat/work/bacula-2.2.0/src/qt-console "/usr/home/dan/src/bacula-bat/work/bacula-2.2.0/src/qt- console/Makefile", /line 826: warning: duplicate script for target "obj/main.o" ignored ... etc... Error processing project file: /usr/home/dan/src/bacula-bat/work/bacula-2.2.0/src/qt- console/obj/bat.pro *** Error code 2 Stop in /usr/home/dan/src/bacula-bat/work/bacula-2.2.0/src/qt- console. -- Dan Langille - http://www.langille.org/ Available for hire: http://www.freebsddiary.org/dan_langille.php ------------------------------------------------------------------------- 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