[csw-maintainers] Newbie first packaging questions

Romeo Theriault romeotheriault at opencsw.org
Tue Jun 12 09:37:42 CEST 2012


Hello, First I'd like to start off by saying that mgar/gar is really
cool. This is a much more automated process than I'm used to dealing
with when building packages. (Not that I've built that many... still
I'm impressed!) So thank you to the folks that are working on these
pieces of software, I appreciate it.

I'm new to building packages with mgar/gar, am new to "Makefiles" so
please be patient with me. :)

The first package I'm trying to build is 'zeromq'. I've been following
the gperf example install [1] guide on unstable10s, but using zeromq
instead. This has all gone fine until I get to the 'mgar package'
step. Then I receive this error:

-bash-4.2$ mgar package
/home/romeotheriault/opencsw/.buildsys/v2/gar//gar.pkg.mk:902: *** You
are building this package on a non-requested platform host
'unstable10s'. The following platforms were requested:
/home/romeotheriault/opencsw/.buildsys/v2/gar//gar.pkg.mk:902: *** -
solaris9-sparc to be build on host 'unstable9s'
/home/romeotheriault/opencsw/.buildsys/v2/gar//gar.pkg.mk:902: *** -
solaris9-i386 to be build on host 'unstable9x'
/home/romeotheriault/opencsw/.buildsys/v2/gar//gar.pkg.mk:902: *** You
can execute 'gmake platforms' to automatically build on all necessary
platforms..  Stop.

Sounds like it only wants to build for solaris9... If this is the
case, how do I make solaris 10 a 'necessary platform'?

On a slightly different topic, does the 'category' in the package
Makefile influence the build in anyway, or is this just a way to
categorize packages? Would a package like zeromq fall under the 'lib'
category? Here is what it's install looks like on RHEL:

$ rpm -ql zeromq
/usr/lib64/libzmq.so.1
/usr/lib64/libzmq.so.1.0.0
/usr/share/doc/zeromq-2.1.9
/usr/share/doc/zeromq-2.1.9/AUTHORS
/usr/share/doc/zeromq-2.1.9/COPYING
/usr/share/doc/zeromq-2.1.9/COPYING.LESSER
/usr/share/doc/zeromq-2.1.9/ChangeLog
/usr/share/doc/zeromq-2.1.9/NEWS
/usr/share/doc/zeromq-2.1.9/README


Thank you,
Romeo


[1] http://sourceforge.net/apps/trac/gar/wiki/ExplainedGperf


More information about the maintainers mailing list