Sponsored Content
Full Discussion: make 3.82 install help
Top Forums UNIX for Dummies Questions & Answers make 3.82 install help Post 302449821 by pludi on Tuesday 31st of August 2010 04:37:40 PM
Old 08-31-2010
Of course.

The configure script prepares not only the compilation, but also the installation process. And installation is done into the subdirectories of /usr/local, unless specified otherwise by configuration switches, as to not disturb software prepared by the vendor. That means the binaries go to /usr/local/bin or /usr/local/sbin, man pages to /usr/local/man/man?, ...

Now, for the shell to be able to run these binaries, it has to find them. This is done by searching the directories in the (aptly named) environment variable PATH. You can see the current contents by running
Code:
echo $PATH

Note that /usr/local/bin is, if even included at all, mentioned after /usr/bin. This means that the /usr/local/bin/make binary won't be found. There are 3 ways to change this:
  • Change the search order by prepending /usr/local/bin to the path:
    Code:
    export PATH=/usr/local/bin:$PATH

  • Explicitly run the new binary by running /usr/local/bin/make instead of just make
  • Use the switches configure provides to overwrite the systems default make. Note that this could create serious problems if they are incompatible.
 

10 More Discussions You Might Find Interesting

1. 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

2. UNIX for Dummies Questions & Answers

make install

Hi all, I am trying to install pam_passwdqc-1.0.2 on my Solaris 9 machines. After I did a make, I did a make install but it returns the follwing output, # /usr/ccs/bin/make install mkdir -p /lib/security install -c -m 755 pam_passwdqc.so /lib/security install: The -c, -f, -n options each... (2 Replies)
Discussion started by: stancwong
2 Replies

3. 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

4. UNIX for Dummies Questions & Answers

problems using 'make' install

I am tring to install DBD::Oracle on Solaris 9 box, I issued command type cc type gcc but both are not found. then i manually searched for gcc, i found it and create a symbolic link to it in my directory. $ perl Makefile.pl (works ok) $ make (retuns error below) LD_RUN_PATH="" cc -G... (1 Reply)
Discussion started by: jameskay
1 Replies

5. UNIX for Dummies Questions & Answers

install C compiler without make

Hi all, I dont have much knowledge about linux, but want to learn. I have installed Plop linux(PLoP - Home) on USB Flashdrive. I want to install gcc compiler to it. The installation of C compiler ask for make command, which is not found in the distribution. When I tried to install gnu make,... (4 Replies)
Discussion started by: johnsmithgr8
4 Replies

6. 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

7. 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

8. Solaris

Problems with make install

Hi all, I'm working on a server with Solaris 10 and I'm trying to install the pptp client version 1.7.2. So, the generation of the execute file is ok, I run the command 'make' and I got the pptp file. Now I have to run the command 'make install' to install the software, but it stops at the... (3 Replies)
Discussion started by: idro
3 Replies

9. OS X (Apple)

How should I install 'make' compiler ?

I need too install GDB in order to debug a program. I need to install GDB through the UNIX command 'make install'. I downloaded a full directory of hundreds of files allowing to get a gdb executable but need a compilation before ... The problem is UNIX can't find 'make' command. I work under... (5 Replies)
Discussion started by: shub22
5 Replies

10. Fedora

Make check install and make all install

hi dear i want to know what is different between make check install and make all install? thanks in advane fereshte (3 Replies)
Discussion started by: komijani
3 Replies
WHEREIS(1)						      General Commands Manual							WHEREIS(1)

NAME
whereis - locate the binary, source, and manual page files for a command SYNOPSIS
whereis [-bmsu] [-BMS directory... -f] filename... DESCRIPTION
whereis locates source/binary and manuals sections for specified files. The supplied names are first stripped of leading pathname compo- nents and any (single) trailing extension of the form .ext, for example, .c. Prefixes of s. resulting from use of source code control are also dealt with. whereis then attempts to locate the desired program in a list of standard Linux places. OPTIONS
-b Search only for binaries. -m Search only for manual sections. -s Search only for sources. -u Search for unusual entries. A file is said to be unusual if it does not have one entry of each requested type. Thus `whereis -m -u *' asks for those files in the current directory which have no documentation. -B Change or otherwise limit the places where whereis searches for binaries. -M Change or otherwise limit the places where whereis searches for manual sections. -S Change or otherwise limit the places where whereis searches for sources. -f Terminate the last directory list and signals the start of file names, and must be used when any of the -B, -M, or -S options are used. EXAMPLE
Find all files in /usr/bin which are not documented in /usr/man/man1 with source in /usr/src: example% cd /usr/bin example% whereis -u -M /usr/man/man1 -S /usr/src -f * FILES
/{bin,sbin,etc} /usr/{lib,bin,old,new,local,games,include,etc,src,man,sbin, X386,TeX,g++-include} /usr/local/{X386,TeX,X11,include,lib,man,etc,bin,games,emacs} SEE ALSO
chdir(2V) BUGS
Since whereis uses chdir(2V) to run faster, pathnames given with the -M, -S, or -B must be full; that is, they must begin with a `/'. whereis has a hard-coded path, so may not always find what you're looking for. AVAILABILITY
The whereis command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. 8 May 1994 WHEREIS(1)
All times are GMT -4. The time now is 07:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy