Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

problem compiling Count 2.3 on unix

Posted on 1997-09-17
4
Medium Priority
?
468 Views
Last Modified: 2013-12-25
I have decompress the counter's archive onto my servers disk with all the folders... now when i try to run the setup/install file, i get this:
----
Script interpreter "/bin/sh" not found
Script interpreter link resolves to "/usr/bin/sh"
sh: Count-install: not found
--------
i do not know much in Unix, but im ok in everything else, so there must be something that i do wrong...
or it is the folders that are not ok, the only thing i done is to normalise access after uploading...

HELP ME PLEASE!
0
Comment
Question by:njacques
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
froderik earned 200 total points
ID: 1830321
Your install program probably is a shellscript and when you run it Unix tries to find the appropriate shell interpreter in /bin. (Note that the leading / indicates the root directory on Unix so you are not in your own directory.) The problem seems to be that the script interpreter named sh is absent. There might be other script interpreters on your system that can understand your install script as well. Korn shell (ksh) is a fair guess. Look in the /bin directory. Anything ending with sh (>ls *sh) probably is a shell. Then you can start the shell by writing the name at the prompt and retry running your program.

If this doesn't work perhaps you can tell me what UNIX system you are using?

Regards,

Fredrik Rubensson
0
 

Author Comment

by:njacques
ID: 1830322
i'll check that out! the server is a WN server...

the webmaster told me to check www.uqar.uquebec.ca/docs

those docs are the Documentation for the WN server so it must be the name of the unix they use..

is it it?

0
 
LVL 1

Expert Comment

by:froderik
ID: 1830323
I have never heard of it but I am no UNIX wizard after all. (Writin this on Windows NT...) Did you find any shells in /bin. If you are using a strange system they might be located elsewhere. There are two ways to find out.

1. Look in your PATH system variable. It specifies where UNIX looks for executable files. The usual way to see tha value of path is to write set at the prompt. Then you can look in the directories specified for any shells.

2. Try to tun sh from the command line. If the system tells you that there is no such program it probably is correct or the system is set up very strange.

If you eventually find a shell (sh) you probably can edit the install script by hand using emacs or vi. (Or download it to your local mahine.) Change the call/s to /bin/sh to point to whatever you found.

I checked the documentation referenced. WN seems to be a HTTP server probably running on a UNIX system. There were nothing about shells though. If the above doesn't work either you should probably ask the people who runs the system for help.

Hope this help.
0
 

Expert Comment

by:aurelio
ID: 1830324
Usually , in UNIX the /bin directory is linked to /usr/bin. Some shell scripts have their first line the hack #!/bin/sh which instructs to use the shell located in /bin.
I never have seen the shell in other place than /bin/sh ; i suggest you to try :
1 ) Find your shell's place ( typing in "type  sh" or "which sh").
2) Change #!/bin/sh accordingly in the scripts.
Or :
1) Link your shell to /bin/sh (root privileges) using the
command :
ln -s <path-to-your-shell-interp.> /bin/sh

The "Count-install" error seems to be :
1) Count-install is a shell function written in the script ; there is some problem with your interpreter.
or :
2) Count-install is another shell script , located out of the PATH
directories. In this case , include the path in the calling script , with something like :
PATH=$PATH:.: ; export PATH
Hope this help!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question