Add a shebang to the top
and it should work under (most recent) versions of Solaris.
You haven't specified an interpreter, so it'll default to using /bin/sh - fine for Linux (/bin/sh is usually a symlink to /bin/bash) but not SunOS where /bin/sh is the Bourne shell or Korn Shell depending on version (Solaris 11 has a symlink to ksh93).
Hi everyone!
I going to change from a 56k modem to a ISDN connection and was wondering if this will work under Linux and what i would need to get it up and running ? (on Mandrake 8.0)..
thanx in advance..
grtz phaelanx
:) (4 Replies)
Hi ,
I am using a laptop with windows XP as the operating system. i want to use linux/unix without installing it on my machine.
I heard that i can do so using some Linux bootable CD .... which can be used to work on linux environment with out physically installing it on your system.
I... (2 Replies)
Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
i got my computer in 2k, built it myself. top of the line then and better than most still now.
one problem however is i was never able to install unix because the old kernels were not compatible with SATA hard drives
i dont have any IDE drives nor do i want any
I want mine on SATA, but every... (5 Replies)
Earlier we are using solaris machine to run our script which is having korn shell. Due to decommision of that machine we have to switch to Linux machine which is also having korn shell.
Do the commands on solaris machine will also work on linux machine or should i have to change any thing? One... (4 Replies)
This script used to work on windows but is erroring our at line 25 when run under linux. The specific errir that i get is "Can't call method "mtime" on an undefined value at ./make_event_log_index.pl line 25."
Any help would be appreciated
... (4 Replies)
I've tried to totally ignore Netfix to date, though I might change my mind. But I refuse to keep a Windows box running for any reason.
Is anyone streaming movies from Netflix and watching them on a Linux box?
I went to netflix.com to look for the requirements page. None. OK, how about a... (4 Replies)
hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view
situation
a router, with linux of some sort,
dhcp client requesting for ip in wan1 (as usual with wan ports)
dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies
LEARN ABOUT NETBSD
compat_sunos
COMPAT_SUNOS(8) BSD System Manager's Manual COMPAT_SUNOS(8)NAME
compat_sunos -- setup procedure for m68k, sparc and sparc64 architectures
DESCRIPTION
NetBSD/sparc64, NetBSD/sparc and some of the NetBSD/m68k architectures can run SunOS executables. Most executables will work.
The exceptions include programs that use the SunOS kvm library, and various system calls, ioctl()'s, or kernel semantics that are difficult
to emulate. The number of reasons why a program might fail to work is (thankfully) longer than the number of programs that fail to run.
Static executables will normally run without any extra setup. This procedure details the directories and files that must be set up to allow
dynamically linked executables to work.
The files you need are on your SunOS machine. You need to worry about the legal issues of ensuring that you have a right to use the required
files on your machine. On your NetBSD machine, do the following:
1. mkdir -p /emul/sunos/usr/lib /emul/sunos/usr/5lib
2. cp SunOS:/usr/lib/lib*.so.*.* NetBSD:/emul/sunos/usr/lib
3. cp SunOS:/usr/5lib/lib*.so.*.* NetBSD:/emul/sunos/usr/5lib
4. cp SunOS:/usr/lib/ld.so NetBSD:/emul/sunos/usr/lib/ld.so
5. If you ever expect to use YP, you will want to create a link:
ln -s /var/run/ypbind.lock /etc/ypbind.lock
Alternatively, you can use an NFS mount to accomplish the same effect. On your NetBSD machine, do the following:
1. mkdir -p /emul/sunos/usr
2. mount SunOS:/usr /emul/sunos/usr
This will place the SunOS libraries on your NetBSD machine in a location where the SunOS compatibility code will look for first, where they
do not conflict with the standard libraries.
NOTES
When using compat_sunos on NetBSD/sparc64, the COMPAT_NETBSD32 option must also be used.
BUGS
A list of things which fail to work in compatibility mode should be here.
SunOS executables can not handle directory offset cookies > 32 bits. Should such an offset occur, you will see the message ``sunos_getdents:
dir offset too large for emulated program''. Currently, this can only happen on NFS mounted filesystems, mounted from servers that return
offsets with information in the upper 32 bits. These errors should rarely happen, but can be avoided by mounting this filesystem with offset
translation enabled. See the -X option to mount_nfs(8). The -2 option to mount_nfs(8) will also have the desired effect, but is less
preferable.
The NetBSD/sparc64 support is less complete than the other ports.
BSD February 3, 2001 BSD