[PC-BSD Pbi-dev] Bacula Bat PBI
Kris Moore
kris at pcbsd.com
Fri Jun 20 12:54:54 PDT 2008
Silver Salonen wrote:
> On Friday 20 June 2008, Kris Moore wrote:
>> Silver Salonen wrote:
>>> On Friday 20 June 2008 13:24, Silver Salonen wrote:
>>>> I've now created the build module, so what should I do with it now? :)
>>>>
>>>> Note: the module did not compile - the build got stuck after installing
> and
>>>> registering qmake-3.3.8 (saying that "clean" is an unknown target to
> make),
>>>> which is actually quite weird, because it should use qmake4 (as
>>>> USE_QT_VER=4). I'll try it once again though.. Or should I chroot
>>>> to /pbi-build before trying to build the module?
>>> The error I get looks like this:
>>>
>>> ....
>>> ===> Installing for qmake-3.3.8_1
>>> ===> Generating temporary packing list
>>> "/usr/share/mk/bsd.compat.mk", line 36: warning: NOMAN is deprecated in
> favor
>>> of NO_MAN
>>> mkdir -p "/usr/local/share/qt"
>>>
> cp -Rp /usr/ports/devel/qmake/work/qt-x11-free-3.3.8/mkspecs /usr/local/share/qt
>>> install -s -o root -g wheel -m 555 qmake /usr/local/bin
>>> /bin/mkdir -p '/usr/local/share/doc/qt'
>> /bin/cp -Rp '/usr/ports/devel/qmake/work/qt-x11-free-3.3.8/doc/html' '/usr/local/share/doc/qt'
>>> ===> Registering installation for qmake-3.3.8_1
>>> make: don't know how to make clean. Stop
>>> make: don't know how to make install. Stop
>>> make: don't know how to make install. Stop
>>> ERROR: 2.1 Build failed of bacula-bat!!!
>>>
>>> --
>>> Silver
>>
>>
>> Silver,
>>
>> qmake is built automatically by the software, but then it tries to build
>> the port specified in the module. Can you send me your module config
>> files so I can take a look at them? Specifically your pbi.conf file?
>> I'll be more than happy to help you debug it :)
>
> Here they are :)
>
Ahh, easy enough fix :)
You are missing the "export" line at the bottom of your pbi.conf
export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON
PROGLIBS PBIUPDATE BUILDKEY
Go ahead and add that, does it work now?
--
Kris Moore
PC-BSD Software
http://www.pcbsd.com
More information about the Pbi-dev
mailing list