On 15 Sep 2007 at 21:08, Dan Langille wrote:
> On 15 Sep 2007 at 13:00, Dan Langille wrote:
>
> > I've had a hard time getting bat to compile on FreeBSD. Magic is
> > involved. To my knowledge, nobody has this working on FreeBSD yet.
> >
> > Here is the port Makefile I have to date. This won't make sense
> > unless you are familiar with the FreeBSD ports tree. I had to patch
> > three files to refer to qmake-qt4 instead of qmake:
> >
> > configure
> > autoconf/configure.in
> > src/qt-console/build-depkgs-qt-console
>
> The above patches now change references to qmake to ${QMAKE}. Things
> then run cleanly and the QMAKE in question is that selected by the
> FreeBSD ports system.
>
> I'm still getting the error:
>
> ==>Entering directory /usr/home/dan/src/bacula-bat/work/bacula-
> 2.2.4/src/qt-console
> /usr/local/bin/qmake-qt4 -unix -o Makefile bat.pro
> Cannot find file: bat.pro.
> *** Error code 2
>
> Interestingly enough, this works by hand:
>
> $ cd ~/src/bacula-bat/work/bacula-2.2.4/src/qt-console
> $ /usr/local/bin/qmake-qt4 -unix -o Makefile bat.pro
> $
I hacked the src/qt-console/Makefile after the configure phase was
done. I added an echo `pwd` to see what happened.
echo `pwd`
/usr/home/dan/src/bacula-bat/work/bacula-2.2.4/src/qt-console/obj
/usr/local/bin/qmake-qt4 -unix -o Makefile bat.pro
Do you think that might be the cause of the problem? just the pwd?
--
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel