help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: installation


From: PATTON, BILLY \(SBCSI\)
Subject: RE: installation
Date: Wed, 29 Mar 2006 12:10:41 -0600

You answered my question exactly,
Thank you.

> -----Original Message-----
> From: Paul Smith [mailto:address@hidden On Behalf Of Paul D. Smith
> Sent: Wednesday, March 29, 2006 12:09 PM
> To: PATTON, BILLY (SBCSI)
> Cc: address@hidden
> Subject: Re: installation
> 
> 
> %% "PATTON, BILLY \(SBCSI\)" <address@hidden> writes:
> 
>   pb> How do I compile make and get a tarball for installation?  Here
>   pb> the people do not do compiles, just installations.  
> They expect a
>   pb> tar ball that can be installed, not compiled.  I am not able to
>   pb> install after compile.
> 
> I'm not sure what they are expecting.  But, you can make a tarball
> easily enough.  Suppose you want to build GNU make to be installed in
> the /foo/bar directory (so, /foo/bar/bin/make, 
> /foo/bar/info/make.texi,
> etc.)
> 
> Do something like this:
> 
>     tar xzf make-3....tar.gz
>     cd make-...
>     ./configure --prefix=/foo/bar
>     make
>     make check
>     rm -rf /tmp/foo
>     make install DESTDIR=/tmp
> 
>     cd /tmp
>     tar cvf make...tar foo
> 
>     Give them make...tar
> 
> The contents of the DESTDIR variable are added to the destination path
> of every installed file, so instead of installing it into /foo/bar it
> will install into $(DESTDIR)/foo/bar
> 
> -- 
> --------------------------------------------------------------
> -----------------
>  Paul D. Smith <address@hidden>          Find some GNU make tips at:
>  http://www.gnu.org                      http://make.paulandlesley.org
>  "Please remain calm...I may be mad, but I am a 
> professional." --Mad Scientist
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]