In article <[EMAIL PROTECTED]> you wrote:
>
> In article <[EMAIL PROTECTED]> you wrote:
>
>> I was about to install the latest update from openpkg20020129 to
>> 20020206 and noticed I am unable to load the /cw environment using
>> either opa /cw or eval from root.
>>
>> I get the following error at the prompt:
>>
>> /cw/lib/openpkg/bash:--norc --noprofile --posix: unrecognized option
>>
>> Running Slackware version 8.0 on a i586. No problem prior to these
>> versions. Thanks.
>
> Oh, sorry, seems like I overlooked the actual problem. I though it was the new
> openpkg_ignall stuff. But it seems like our Bash configures itself differently
> under Slackware and this way does not support the usual options.
>
> To allow us to track this down, can you run the following commands and
> provide us the output and error messages:
>
> $ /cw/lib/openpkg/bash --version
> $ /cw/lib/openpkg/bash --norc
> $ /cw/lib/openpkg/bash --noprofile
> $ /cw/lib/openpkg/bash --posix
> $ head /cw/etc/rc
>
> My current guess is that Bash 2.05a disables one of these options under
> Slackware for unknown reasons...
Ok, we now found the problem. The brain-dead Linux loader is unable to
pass multiple arguments on a shebang-line correctly, i.e. as multiple
arguments and not a single one. Under FreeBSD and Solaris this worked as
expected. Upgrade to openpkg 20020208 and the problem under Linux should
be gone. Thanks for the feedback.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]