On Fri, Jul 28, 2000, Ralf S. Engelschall wrote:

> On Tue, Jul 25, 2000, [EMAIL PROTECTED] wrote:
> 
> > While trying to build pth (1.3.6) under Solaris I got an error in the
> > definition of PTH_VERSION (it ended up being defined as 0x%X%02X%1X%02X).
> > I tracked it down to an incompatability with awk; my path caused /usr/bin/awk
> > to be used rather than /usr/xpg4/bin/awk. Changing my path fixed this, but
> > I'm surprised configure didn't catch this one.
> 
> Ah, seems like this is the same problem another user reported today here.  Do
> you know which portable shell command in Shtool we could use alternatively
> instead of 
> 
> hex=`echo "$ver:$rev:$typnum:$levnum" |\
>      awk -F: '{ printf("0x%X%02X%1X%02X", $1, $2, $3, $4); }'`
> 
> to achieve still the same result? Does perhaps replacing the "X" with "x"
> already solve the problem? If yes, we can achieve the same by using "x" and
> passing the result through "tr".

Ok, I verified that we can use %x and "tr". GNU Shtool 1.5.1 is now released
with this bugfix. And GNU Pth 1.3.7 and 1.4a3 now include Shtool 1.5.1, too.
So grab 1.3.7 or 1.4a3 and your problems should be gone now.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
GNU Portable Threads (Pth)            http://www.gnu.org/software/pth/
User Support Mailing List                            [EMAIL PROTECTED]
Automated List Manager (Majordomo)           [EMAIL PROTECTED]

Reply via email to