Re: iptables not in potato?

2000-09-29 Thread Anton Blanchard

> to my surpise 'apt-get install iptables' on a potato
> box, fails with: "E: Couldn't find package iptables".
> 
> may I ask why? ;-)

Not sure why, but I'd be interested to know of any problems with
netfilter on sparc.

Anton



Re: iptables not in potato?

2000-09-29 Thread Stephen R. Gore
Cristian Constantin wrote:
> 
> cristian: iptables doesn't seem to be in woody either; at least not 
> under ftp.debian.org/debian/dists/woody/main/binary-sparc/.
> has anyone compiled this on sparc? does it work?

Ah.  You're correct.  Wannn-build shows it as "Needs-Build", but the sparc
buildd is down atm, waiting for the glibc issues to settle.  I'll look
into it as soon as Ben tells me it's fixed.

Regards,
Steve



Re: Solaris emulation

2000-09-29 Thread Gabor Zoltan Csejtey
Hi,

   Date: Fri, 29 Sep 2000 10:01:06 -0400
   From: Ben Collins <[EMAIL PROTECTED]>

   > 
   > Shall I copy the /lib/ld.so for the Solaris sytem under Linux ?
   > 

   Yes. I wouldn't set LD_LIBARY_PATH though...might cause some off
   behaviour.


I copied the file. Nothing changed.

Gabor



Re: Solaris emulation

2000-09-29 Thread Ben Collins
> 
> Shall I copy the /lib/ld.so for the Solaris sytem under Linux ?
> 

Yes. I wouldn't set LD_LIBARY_PATH though...might cause some off
behaviour.

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



Re: Solaris emulation

2000-09-29 Thread Gabor Zoltan Csejtey
Hi,

   Date: Fri, 29 Sep 2000 09:12:59 -0400
   From: Ben Collins <[EMAIL PROTECTED]>
   Cc: debian-sparc@lists.debian.org

   On Fri, Sep 29, 2000 at 03:08:41PM +0200, Gabor Zoltan Csejtey wrote:
   > Hi,
   > 
   > I tried to use solaris binaries like ls, ufsdump etc.
   > I have the precompiled 2.2.17-sun4u kernel from the Debian 2.2 potato 
version.
   > I installed the solaris module and made the directories under 
   > /usr/gnemul as in the FAQ http://www.ultralinux.org/faq.html
   > I copied the mentioned files and shared libraries. 
   > 
   > I couldn't find the /etc/ld.so.cache file on the solaris. 
   > Can this be the problem?

   No, Solaris relies completely on LD_LIBRARY_PATH.

Shall I set the LD_LIBRARY_PATH for the location of the libraries or these 
should be located under /usr/gnemul/sunos and /usr/gnemul/solaris ?

   > When I tried to run some solaris binaries I got the following messages:
   > e.g. a small program under solaris
   > 
   > Debian 2.2 linux 2.2.17 kernel:
   > 
   > ./freemem 
   > bash: ./freemem: No such file or directory

   I'm not sure about the howto you are reading, but this can't be the right
   way to do this. The file is looking for /lib/ld.so to execute it (this
   file being from Solaris).

Shall I copy the /lib/ld.so for the Solaris sytem under Linux ?


   Try this:

   cd /solaris
   mkdir /usr/gnemul/sbin
   cp sbin/sash /usr/gnemul/sbin

   /usr/gnemul/sbin/sash

   That should give you command line and some minimal shell commands.

   -- 
---===-=-==-=---==-=--
   /  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
   `  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
`---=--===-=-=-=-===-==---=--=---'

I found this sash in the Debian distribution but I couldn't locate it under 
Solaris (/ , /usr , /var , /home my mount positions for the ufs filesystem 
under Solaris). 
By the way, after installing it with dpkg I found sash in the /bin (Linux).
So I'm not sure you meant this.

Gabor
PS.

I got the same messages.



Re: iptables not in potato?

2000-09-29 Thread Stephen R. Gore
Cristian Constantin wrote:
> hi!
> 
> to my surpise 'apt-get install iptables' on a potato
> box, fails with: "E: Couldn't find package iptables".
> 
> may I ask why? ;-)

iptables - IP packet filter administration for 2.4.X kernels

Since kernel 2.4.x isn't included in potato, why would supporting
utilities be there?  If you use 2.4.x in potato, you'll have to
also get modutils from woody.

Regards,
Steve



Re: Solaris emulation

2000-09-29 Thread Ben Collins
On Fri, Sep 29, 2000 at 03:08:41PM +0200, Gabor Zoltan Csejtey wrote:
> Hi,
> 
> I tried to use solaris binaries like ls, ufsdump etc.
> I have the precompiled 2.2.17-sun4u kernel from the Debian 2.2 potato version.
> I installed the solaris module and made the directories under 
> /usr/gnemul as in the FAQ http://www.ultralinux.org/faq.html
> I copied the mentioned files and shared libraries. 
> 
> I couldn't find the /etc/ld.so.cache file on the solaris. 
> Can this be the problem?

No, Solaris relies completely on LD_LIBRARY_PATH.

> When I tried to run some solaris binaries I got the following messages:
> e.g. a small program under solaris
> 
> Debian 2.2 linux 2.2.17 kernel:
> 
> ./freemem 
> bash: ./freemem: No such file or directory

I'm not sure about the howto you are reading, but this can't be the right
way to do this. The file is looking for /lib/ld.so to execute it (this
file being from Solaris).

Try this:

cd /solaris
mkdir /usr/gnemul/sbin
cp sbin/sash /usr/gnemul/sbin

/usr/gnemul/sbin/sash

That should give you command line and some minimal shell commands.

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



Solaris emulation

2000-09-29 Thread Gabor Zoltan Csejtey
Hi,

I tried to use solaris binaries like ls, ufsdump etc.
I have the precompiled 2.2.17-sun4u kernel from the Debian 2.2 potato version.
I installed the solaris module and made the directories under 
/usr/gnemul as in the FAQ http://www.ultralinux.org/faq.html
I copied the mentioned files and shared libraries. 

I couldn't find the /etc/ld.so.cache file on the solaris. 
Can this be the problem?

When I tried to run some solaris binaries I got the following messages:
e.g. a small program under solaris

Debian 2.2 linux 2.2.17 kernel:

./freemem 
bash: ./freemem: No such file or directory

ls -l freemem 
-rwxrwxrwx1 csejtey  fidi24844 Sep 29 12:03 freemem

ldd freemem
ldd: can't execute freemem (No such file or directory)

file freemem 
freemem: ELF 32-bit MSB executable, SPARC, version 1, dynamically linked 
(uses shared libs), not stripped

while under solaris I got:

ldd freemem 
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 =>/usr/lib/libdl.so.1
/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1

I think I missed something. What can be the problem ?

Gabor
PS.
I got similar messages for other binaries as well.
When I removed the solaris module I got the same messages.



iptables not in potato?

2000-09-29 Thread Cristian Constantin
hi!

to my surpise 'apt-get install iptables' on a potato
box, fails with: "E: Couldn't find package iptables".

may I ask why? ;-)

bye now!
cristian 
-- 
Space may be the final frontier
But it's made in a Hollywood basement
RHCP -- Californication