OpenCSW question about package CSWmgar

Dagobert Michelsen dam at opencsw.org
Tue Aug 12 08:23:06 CEST 2014


Hi Roland,

Am 12.08.2014 um 06:55 schrieb Roland Soderstrom <rolands at logicaltech.com.au>:
> I watched the excellent video on setting up mgar to start doing packages, well done.
> When it comes to mgar and more complicated packages what is the best forum to get help/answers?

You can either ask on users@ or if you package up something that you probably
want to maintain you can join maintainers@

> Im trying to build a Xymon-client right now and it doesn't work as expected.
> One problem is the xymon configure script that asks a bunch of questions.
> If I do a mgar configure it fails, probably because it can't answer those questions.
> If I run the configure manually and then mgar build it works.
> I put these lines in the Makefile, it didn't work either.
> EXTRA_TEST_ENV =  CONFTYPE=server
> EXTRA_TEST_ENV +=  XYMONUSER=xymon
> EXTRA_TEST_ENV +=  XYMONTOPDIR=/usr/local/xymon
> EXTRA_TEST_ENV +=  XYMONHOSTIP=127.0.0.1
> I might just got it wrong.
> 
> Setting the same vars manually and run configure manually works fine.

These variables are for the „test“ phase on „make check“.
Try EXTRA_CONFIGURE_ENV :-)

The other variant is
  EXTRA_CONFIGURE_EXPORTS += CONFTYPE
  EXTRA_CONFIGURE_EXPORTS += XYMONUSER
  EXTRA_CONFIGURE_EXPORTS += XYMONTOPDIR
  EXTRA_CONFIGURE_EXPORTS += XYMONHOSTIP
  CONFIGURE_ENV_CONFTYPE = server
  …
But both methods are perfectly ok.


Best regards

  — Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2418 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/users/attachments/20140812/af59f5f7/attachment-0001.p7s>


More information about the users mailing list