sane-project-website/old-archive/2000-02/0318.html

108 wiersze
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: RPM build file</TITLE>
<META NAME="Author" CONTENT="Petter Reinholdtsen (pere@hungry.com)">
<META NAME="Subject" CONTENT="Re: RPM build file">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: RPM build file</H1>
<!-- received="Wed Feb 23 17:49:19 2000" -->
<!-- isoreceived="20000224014919" -->
<!-- sent="Thu, 24 Feb 2000 09:56:39 +0800" -->
<!-- isosent="20000224015639" -->
<!-- name="Petter Reinholdtsen" -->
<!-- email="pere@hungry.com" -->
<!-- subject="Re: RPM build file" -->
<!-- id="200002240156.JAA22571@minerva.ee.uwa.edu.au" -->
<!-- inreplyto="RPM build file" -->
<STRONG>From:</STRONG> Petter Reinholdtsen (<A HREF="mailto:pere@hungry.com?Subject=Re:%20RPM%20build%20file&In-Reply-To=&lt;200002240156.JAA22571@minerva.ee.uwa.edu.au&gt;"><EM>pere@hungry.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Feb 23 2000 - 17:56:39 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0319.html">Petter Reinholdtsen: "Re: Report on last CVS snapshot"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0317.html">Ray Robinson: "Re: Solaris and Sane"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0284.html">Dave Hill: "RPM build file"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0322.html">Dave Hill: "Re: RPM build file"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0322.html">Dave Hill: "Re: RPM build file"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#318">[ date ]</A>
<A HREF="index.html#318">[ thread ]</A>
<A HREF="subject.html#318">[ subject ]</A>
<A HREF="author.html#318">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
[Dave Hill]
<BR>
<EM>&gt; It's not quite the same as $(prefix). $(prefix) says where the s/w
</EM><BR>
<EM>&gt; is to be installed so that, for example, the correct paths can be
</EM><BR>
<EM>&gt; included in executables. The RPM build process requires that the
</EM><BR>
<EM>&gt; software be &quot;dummy installed&quot; into (normally) /var/tmp/&lt;package&gt; and
</EM><BR>
<EM>&gt; then the RPM file is built from that for later installation.
</EM><BR>
<P>I don't get it. Why can you not compile it with the normal prefix and
<BR>
install it with your new prefix, like this:
<BR>
<P>&nbsp;&nbsp;make all
<BR>
&nbsp;&nbsp;make install prefix=&quot;$RPM_BUILD_ROOT&quot;
<BR>
<P>That way the bineries are compiled with the prefix given by configure,
<BR>
and the programs are installed with prefix=$DESTDIR when copied into
<BR>
place.
<BR>
<P>This way no changes need to be done to the makefiles. If this is the
<BR>
case, please send an updated RPM-spec and I'll put it in the
<BR>
distribution.
<BR>
<PRE>
--
##&gt; Petter Reinholdtsen &lt;## | <A HREF="mailto:pere@td.org.uit.no?Subject=Re:%20RPM%20build%20file&In-Reply-To=&lt;200002240156.JAA22571@minerva.ee.uwa.edu.au&gt;">pere@td.org.uit.no</A>
<P><P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20RPM%20build%20file&In-Reply-To=&lt;200002240156.JAA22571@minerva.ee.uwa.edu.au&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0319.html">Petter Reinholdtsen: "Re: Report on last CVS snapshot"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0317.html">Ray Robinson: "Re: Solaris and Sane"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0284.html">Dave Hill: "RPM build file"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0322.html">Dave Hill: "Re: RPM build file"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0322.html">Dave Hill: "Re: RPM build file"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#318">[ date ]</A>
<A HREF="index.html#318">[ thread ]</A>
<A HREF="subject.html#318">[ subject ]</A>
<A HREF="author.html#318">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Wed Feb 23 2000 - 17:51:33 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>