On Wed, Jan 04, 2006, Doug Summers wrote:

> Using the contributed Zen 2.1 binaries I was able to build the following
> packages for Tru64 5.1:
>
> openpkg-2.5.1-2.5.1
> m4-1.4.3-2.5.0
> binutils-2.16.1-2.5.0
> make-3.80-2.5.0
> libiconv-1.10-2.5.0
> gcc-4.0.2-2.5.0
>
> I'm stuck building perl (seems to be a major sticking point with the
> fringe OS's as I'm also stuck on HPUX for Itanium), getting the
> neverending message:
>
> (Feeding myself to /bin/sh to avoid Digital UNIX' ksh.)
>
> Any idea how to avoid this???

Seems that is is exec'ing itself again and again with the /bin/sh as
it thinks it is running under /bin/ksh but on your platform /bin/sh
is actually already KSH. The Perl "Configure" script has an explicit
code for Tru64/OSF1 in line 128ff, including some strange $BIN_SH
things.

I don't know why this code doesn't work as expected on your Tru64
5.1, but as the code seems to be for a rather old OSF1 version (and
Tru64 5.1 should no longer have such a broken KSH) I would just try
to remove the whole lines 128-134 with a patch hunk and try again.

Or even more precise: patch the "if test X`/usr/bin/uname -s` = XOSF1;
then" to something like "if test X`/usr/bin/uname -s` = XOSF1 && test
"X`/usr/bin/uname -r`" = X5.1; then". But check the output of your
"/usr/bin/uname -r" first. If it works I can commit such a patch to the
"perl" package.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to