Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make

Status
Not open for further replies.

thorn312

Technical User
Sep 17, 2002
19
0
0
US
I am new to Unix . HELP. When I try to install any packages I run in to the step that says type "make".

when I type "make" at the command prompt I receive a message that says "make:not found" This error is displayed regardless of tyhe user.

I downloaded make-3.80 from one of the sun download sites. one of the steps tells me that if "make" is not available to use the command "sh buils-sh" this fails also.

Thanks for your help, Thom
 
PATH variable is set to ?
echo $PATH
PATH=/sbin:/usr/bin:/usr/sbin:/usr/openwin/bin .....
besides MANPATH, PS1, LD_LIBRARY_PATH
export PATH and so on

seems .profile or .login Files are missing

matt

Rough example:
a-phys[root]$ more /.profile
#
# @(#)local.profile 1.3 93/03/24 SMI
#
stty istrip
PATH=$PATH:/usr/bin:.....
MANPATH=/usr/share/man:/usr/local/man
LD_LIBRARY_PATH=/usr/openwin/lib:$LD_LIBRARY_PATH
TERM=dtterm ; export TERM

# Korn-Shell Variablen
ENV=$HOME/.kshrc
PS1="`uname -n`[$LOGNAME]$ "
EDITOR=/usr/bin/vi
HISTSIZE=50
HISTFILE=$HOME/.ksh_history
VISUAL=/usr/bin/vi

export PATH MANPATH ENV PS1 EDITOR HISTSIZE HISTFILE VISUAL LD_LIBRARY_PATH
a-phys[root]$
 
So how do I solve this?

When I type "env" i see Path, and manpath

when i type "more /.profile" ( or any derivations on the . and /) the response is no such file or directory

 
That should be...
[tt]
cd
more .profile
[/tt]
If you are in the Korn shell, you can use...
[tt]
more ~/.profile
[/tt]
To find if you actually have a [tt]make[/tt] command, but it's just not in your [tt]PATH[/tt], do the following (preferably while logged on as [tt]root[/tt])...
[tt]
find / -name make -print
[/tt]
That will show you where it is so you can add it to your [tt]PATH[/tt]. On Solaris, it's usually in [tt]/usr/ccs/bin[/tt] so you can try adding this to you're [tt].profile[/tt]...
[tt]
PATH=${PATH}:/usr/ccs/bin ; export PATH
[/tt]
This will append that directory to your [tt]PATH[/tt].

Hope this helps.

 
Thanks for the tips.

When I type "#more .profile" the response is ".profile: no such file or directory"

When I type "#find / -name make -print" the computer is grinding away without any results, positive or negative.

I did find Make in the applications, desktop tools, menu on the CDE toolbar

Any thoughts on a next step?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top