make not found


 
Thread Tools Search this Thread
Operating Systems Solaris make not found
# 1  
Old 10-13-2008
Question make not found

Hi,

I am working with solaris 5.9 and I created make file and I am trying to execute it in a file but not able to execute the file.It is throwing the error--

Quote:
# . ./test.ksh

make -f /user1/common/rs232/Lx232/Makefile.SunOS release
ksh: make: not found
So please tell me how to resolve it SmilieSmilie


Thanks in Advance...
# 2  
Old 10-13-2008
there is no "make" inside solaris by default. you have to install it.
# 3  
Old 10-13-2008
I installed the gcc compiler and along with it make comes in that package and I have make in /usr/ccs/bin.and I also add it in the Path.
# echo $PATH
/usr/bin:/usr/ucb:/etc:.:/usr/local/bin:/usr/ccs/bin

afterthat I am also facing the problem??
# 4  
Old 10-13-2008
Quote:
Originally Posted by DukeNuke2
there is no "make" inside solaris by default. you have to install it.
Unless you choose the developer or full install meta-clusters which bundle make as /usr/ccs/bin/make.
# 5  
Old 10-13-2008
Quote:
Originally Posted by smartgupta
I installed the gcc compiler and along with it make comes in that package and I have make in /usr/ccs/bin.and I also add it in the Path.
# echo $PATH
/usr/bin:/usr/ucb:/etc:.:/usr/local/bin:/usr/ccs/bin

afterthat I am also facing the problem??
Perhaps haven't you exported the PATH variable, or are you setting it differently in the test.ksh script.

Just before running make in this script, add these commands:

Code:
echo PATH=$PATH
type make
ls -l /usr/ccs/bin/make

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Issue with make, no rule to make target etc.

I have been trying to split up my src directory to clear out files that are not re-compiled very often. Now I have the following setup in my trunk, trunk/bld trunk/src/ trunk/src/src_server trunk/makefile.linux In the make file, I have compile rules SOURCELOC = src # compile src c++... (4 Replies)
Discussion started by: LMHmedchem
4 Replies

2. UNIX for Dummies Questions & Answers

Difference between configure/make/make install.

Hi, While installation of apache on linux, we perform the below tasks. 1) Untar 2) configure 3) make 4) make install. I wanted to understand the difference and working of configure/make/make install. Can any one help me understanding this? Thanks in advance. (1 Reply)
Discussion started by: praveen_b744
1 Replies

3. UNIX for Dummies Questions & Answers

How to make a make from other folder

Hi, Sorry for my English. I want Execute a make from other folder but no it's a normal make. The comand is: make telosb install,3 And for example if i have to execute this comand in /tmp and i am in /$HOME how he would be now the comand? thx (7 Replies)
Discussion started by: Grobix
7 Replies

4. Programming

makeutility: how to get the make-file name inside of the make-file?

How I can get the current make-file name in a make-file So, if I run make with specified file:make -f target.mak is it possible to have the 'target' inside of the that 'target.mak' from the file name? (2 Replies)
Discussion started by: alex_5161
2 Replies

5. Solaris

Gani Network Driver Won't Install - make: Fatal error: Don't know how to make targ...

I attached a README file that I will refer to. I successfully completed everything in the README file until step 4. # pwd /gani/gani-2.4.4 # ls COPYING Makefile.macros gem.c Makefile Makefile.sparc_gcc gem.h Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies

6. Linux

Error in issuing a make and make install

Hi, Recently I install a package and try to do a make and make install. However, in the make it gives me below error:- make:Nothing to be done for 'install-exec-am' make:Nothing to be done for 'install-data-am' Can anyone please explain to me what does this mean? I have been trying... (1 Reply)
Discussion started by: ahjiefreak
1 Replies

7. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies

8. Programming

ksh: make: not found

$ make ksh: make: not found Hello, when i use the "make" command in Solaris, it says the "make" command is not found! Any help appreciated! BobK (3 Replies)
Discussion started by: bobk544
3 Replies

9. AIX

Problem MAKE cc: not found on AIX 5.3 please help me...

Hi guys, I am trying to install Big Brother monitoring on my box p570 AIX5.3ML2. But the after the installation you must run a make and it is failed see below the message: /home/bb/bb1.9h-btf/src/ # make Making aix makefile BBOS="aix" CC="cc" CFLAGS=" -Daix -DTIMEH -DREGEXEC... (1 Reply)
Discussion started by: touny
1 Replies

10. UNIX for Dummies Questions & Answers

make and make install commands

Hi there, I am installing a package at the moment on to my Solaris version 8 and I have run into a problem with the 'make' command. I have installed the package using the 'pkgadd' command and I am now at the stage where I have to use the 'make' command followed by the 'make install'... (4 Replies)
Discussion started by: gerwhelan
4 Replies
Login or Register to Ask a Question