Sponsored Content
Full Discussion: make command
Top Forums UNIX for Dummies Questions & Answers make command Post 38097 by mib on Monday 7th of July 2003 08:56:34 AM
Old 07-07-2003
Re: make command

Quote:
Originally posted by tamemi
Dear Guys ,

Kindly note that i have sun solaries 8 intel machine .
i installed apache and it is working fine .

i am installing perl5 , MD5 and CGI .
but whenever i execute the commands , make , make test and make install i get error message : not found

# make
make: not found
Means program 'make ' is not in your PATH or not available on your system (i doubt it. check /usr/ccs/bin). When you type command 'make' in shell prompt it looks for file named 'make' in directories mentioned in PATH environment variable. If there is no file named 'make' in these directory it returns above mentioned error.

To see your PATH setting, use command (in sh):
echo $PATH
or
printenv PATH

To fix this problem, first find out where program 'make' is located. Try commands like:

which make
whereis make
locate make

Once you figure out where program make is installed add this directory to PATH (I use example directory /usr/ccs/bin)

export PATH=$PATH:/usr/ccs/bin/make
or alternatively you can execute program typing absolute path.
ie: /usr/ccs/bin/make

Quote:

also i want to ask what does this mean "If you do install this perl and want to use it rather than the Sun one, you will need to have /usr/local/bin in your PATH before /usr/bin " ???
Means if you want to use newly installed perl (by defualt which will be installed in /usr/local/bin) instead of using one shipped with solaris (which is installed in /usr/bin) modify PATH variable to set /usr/local/bin before /usr/bin
$echo $PATH
/bin:/usr/dt/bin:/usr/bin:/usr/local/bin

$ export PATH=/bin:/usr/dt/bin:/usr/local/bin:/usr/bin
$echo $PATH
/bin:/usr/dt/bin:/usr/local/bin:/usr/bin

$perl -V
This should give infomation about newly installed perl.

You can also set a symlink from /usr/bin/perl to /usr/local/bin/perl
man ln for more details

Quote:

koz i installed perl in my home directory and tried to set it up from my home DIR. is this correct ?? or i should install in in /usr/local/bin ??
You can install wherever you want if you know what you are doing Smilie. If you want to install perl in your home directory pass appropriate parameters to ./configure script (./configure --help or read INSTALL doc) and change PATH env.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

make command

hi i tried to search for the "make" command but to no avail. this is what happens: when i try to type the "make" command, it prompt me the error " csh:make:not found ***error code 1 make:Fatal error: command fail for target 'all' " i have just freshly install solaris 9 on my server.... (8 Replies)
Discussion started by: legato
8 Replies

2. Solaris

C compiler and make command

Hey Guys.... I installed Solaris 10 (10/08) on _X86 platform, I need install any software of load balance. I find the pen-0.18.0-sol10-x86-local software. I cant finish the install process , i dont find the make command, I think this command is associated to the C compiler process. But... (2 Replies)
Discussion started by: aggadtech08
2 Replies

3. Solaris

make command failure

Hi After downloading and compiling new ntp source for Solaris 10 I used the make command on the ntp directory. I received the following output: bash-3.00# make (bk version) >/dev/null 2>&1 && \ cd . && \ x=`bk -R prs -hr+ -nd:I: ChangeSet` && \ y=`cat version... (2 Replies)
Discussion started by: shaife720
2 Replies

4. UNIX for Advanced & Expert Users

problem with make command

hi guys would u clarify me how to use make command , how to write rules of make command and to execute . (1 Reply)
Discussion started by: chinakampalli p
1 Replies

5. Solaris

make command problem

hi, I'was trying to compile a simple game , just for testing the system, but the make command gave me problems, so I read that it was best to have a gnu make package installed so I made pkgrm SUNWgmake and installed the gnu make from sunfreesoftware, the problem is that now when I run make... (9 Replies)
Discussion started by: freeware
9 Replies

6. Solaris

how to make all of this in one command

dears what i need to make is cp -irp file_name filename tar cvf filename.tar filename gzip filename.tar in one commane using exec it that prossible and how can i do that (4 Replies)
Discussion started by: xxmasrawy
4 Replies

7. Homework & Coursework Questions

Using the Make command

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: File hello.h #include <stdio.h> File main.c #include "hello.h" main() { printhello(); ... (4 Replies)
Discussion started by: lilbo4231
4 Replies

8. Homework & Coursework Questions

Utilizing the Make Command

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Compile cpp2html.c to produce cpp2html.o. ( Important: the source code in these files is C, not C++, and so... (8 Replies)
Discussion started by: lamentofking
8 Replies

9. Homework & Coursework Questions

Utilizing the Make Command

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: ]Compile cpp2html.c to produce cpp2html.o. ( Important: the source code in these files is C, not C++, and so... (1 Reply)
Discussion started by: bgnaranjo1
1 Replies

10. UNIX for Beginners Questions & Answers

How to make df command?

in RHEL 6.10, how can we make the the df -k return the output without wrapping. And wihout using the df -Pk option. After we patched a Linux server from 6.5 to 6.10: The df -k on RHAT 6.10 it wraps the line for ex: 6.10: /dev/mapper/vgapp01-vendor ... (2 Replies)
Discussion started by: mrn6430
2 Replies
CGI(3pm)						User Contributed Perl Documentation						  CGI(3pm)

NAME
APR::Request::CGI - wrapper for libapreq2's CGI handle. SYNOPSIS
use APR::Request::CGI; my $req = APR::Request::CGI->handle($pool); DESCRIPTION
The APR::Request::CGI module provides a constructor for accessing CGI request data associated to a pool via libapreq2. This manpage documents version 2.13 of the APR::Request::CGI package. METHODS
APR::Request::CGI - derived from "APR::Request". handle APR::Request::CGI->handle($pool) Creates an APR::Request::CGI object. The argument $pool is an APR::Pool object. SEE ALSO
APR::Request, APR::Pool. COPYRIGHT
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. perl v5.10.1 2011-02-28 CGI(3pm)
All times are GMT -4. The time now is 10:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy