qmake problems

Danny Pansters danny at ricin.com
Sat Sep 15 12:46:03 PDT 2007


On Saturday 15 September 2007 19:07:53 Dan Langille wrote:
> On 15 Sep 2007 at 11:39, Dan Langille wrote:
> > [reposting now that the URL below works ]
> >
> > Folks:
> >
> > I'm trying to create a new port (sysutils/bacula-bat).  I'm having
> > trouble getting it to compile.  The error I see is:
> >
> > config.status: executing default commands
> > Creating bat Makefile
> > qmake: not found
> >
> > It seems the vendor code for this new port wants to run qmake, and it
> > seems like I should make it want /usr/local/sbin/qmake-qt4 instead.
> > Is that reasonable?
>
> I patched to force use of qmake-qt4.  Now the blockage is:
>
> ==>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
>
> Yes, bat.pro exists there.
>
> More details here:
>   http://marc.info/?l=bacula-devel&m=118987568515117&w=2
>
> If you can help, thank you.

Use:

USE_QTVER=		4
QT_COMPONENTS=		qmake

That should put qmake-qt4 and other vars in CONFIGURE_ENV.

HTH,

Dan



More information about the freebsd-ports mailing list