C. Bergstr?m wrote:
> What about uu_msprintf?
>
> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4508459
>
> Which describes exactly this problem, but doesn't look like that will 
> get resolved in ON any time soon.. I'm pretty sure this will be all 
> resolved in one way or another by the end of the week.
uu_msprintf() is a private interface so it could disappear at any time.
What I did was roll my own vasprintf()/asprintf() and tagged them as weak so
that when official versions are delivered for Solaris the official ones
will be used.
>
> also.. setting SHELL="/usr/bin/bash" didn't seem to work exactly as 
> expected, but will probably just change all the files which assume 
> bash, but don't explicitly call #!/bin/bash to be /fixed/.. Hopefully, 
> upstream doesn't mind that
>
>
This won't get you very far.  You can start at the top level with 
something like:

   SHELL = /bin/bash
   MAKE = gmake SHELL=$(SHELL)

but you will need to create a Solaris  version of gcommondefs (sp?) which
defines SHELL and other tools to use.  IIRC I needed to set AWK to 
/usr/xpg4/bin/awk
and I believe LEX to /usr/sfw/bin/flex.

Again, I can try to recreate all this in a couple of days.


Reply via email to