Subject: Re: COMPAT_LINUX
To: Brian Hechinger <wonko@4amlunch.net>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 04/26/2005 23:57:56
--Signature_Tue__26_Apr_2005_23_57_56_-0400_Tu5J3zQO6RrC6ytP
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> how do i use this?  i've got COMPAT_LINUX in the kernel, however:
>=20
> wonko@zaphod$ ls -l bash
> -rwxr-xr-x  1 root  wheel  504652 Oct 25  2004 bash
> wonko@zaphod$ file bash
> bash: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV),=
 for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
> wonko@zaphod$ ./bash
> ./bash: 1: Syntax error: "(" unexpected
> wonko@zaphod$
>=20
> am i doing something wrong?

Not sure. Apparently the kernel thinks ./bash is a script or something like=
 that. Is all the linux userland stuff in place? Especially the runtime lin=
ker? What does ldd think about ./bash - are all the libs it needs in place =
( pkgsrc/emulators/suse_base should do ) ?
Just tries myself ( 3.99.3 kernel, suse_base installed ) - works fine.

Hmm, you don't happen to have . in your $PATH?

have fun
Michael

--Signature_Tue__26_Apr_2005_23_57_56_-0400_Tu5J3zQO6RrC6ytP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQm8NxMpnzkX8Yg2nAQI5RwgAsou/Wi0gJSukMAgzlxm3OrB8xa0iFxYz
WlR/X+AC7v/Y31JQ4zraGeOHbbd+UGLT4jeM8V47pPHLUcNsNIJocrJORVxtqFZX
Oi1AY8fctFhIMEjv+f3rsowkOj+dWCrs2aPKqkPoBGkYcen9nymBY3Kgbt1DDF8n
DxBJaD0tDgVHEq5dkGPQPR25my04NASI3n0errACSWlQsPZpQFACzMIE+hZnz4uK
ZtzomAOIKxjiucaDWscO6FYbT5OlCQ8fD71WwPYS5lLUVvwgKbuOKLFMbibWLphv
j4TbBBjF09m0RFp8CKOb4sGfBjUO/vgN32qssCMZ/nhF/sp228IPIQ==
=kzxk
-----END PGP SIGNATURE-----

--Signature_Tue__26_Apr_2005_23_57_56_-0400_Tu5J3zQO6RrC6ytP--