Re: Mixing tarballs and RPMs



On Sat, Jun 12, 1999 at 09:30:59PM -0400, Bhola N. De wrote:

> Tom Gilbert wrote:
> > ./configure --prefix=/usr --sysconfdir=/etc
> > make
> 
> I did the above two correctly.
> 
> > make prefix=/usr sysconfdir=/etc install
> 
> Instead of the above I tried 'make --prefix=/usr --sysconfdir=/etc
> install' and I got error message.  Then I tried 'make install'.  I think
> it went ok in terms of putting files in the right directories.  Or, am I
> wrong?

  On the 'make' command line you don't need the '--'s, just 'prefix=/usr'.
The 'prefix', 'sysconfdir' are just variables in the Makefile which is
generated when you run 'configure'. So if you set them as options when you
ran configure they should already be correct in the Makefile and you really
don't even need to use them on the 'make' line. They're generally used only
as options to make when you want to override whats in the Makefile so you
can do things like 'make install prefix=/foo' to install it somewhere to
see what gets installed before you actually install it to the final place.

--
If guns cause crime, pencils cause misspelled words !

Mike Hall <mhall@riverside.org>, (MH993)   -    http://www.riverside.org
System Administrator (*nix, Perl, CGI hacker, certified OS/2 Specialist)



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