summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20110113/003401.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/20110113/003401.html')
-rw-r--r--zarb-ml/mageia-discuss/20110113/003401.html103
1 files changed, 103 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20110113/003401.html b/zarb-ml/mageia-discuss/20110113/003401.html
new file mode 100644
index 000000000..32ae48167
--- /dev/null
+++ b/zarb-ml/mageia-discuss/20110113/003401.html
@@ -0,0 +1,103 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-discuss] Trying to learn a little about packaging
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Trying%20to%20learn%20a%20little%20about%20packaging&In-Reply-To=%3C20110113215711.GB23317%40shikamaru.fr%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="003399.html">
+ <LINK REL="Next" HREF="003400.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-discuss] Trying to learn a little about packaging</H1>
+ <B>Remy CLOUARD</B>
+ <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Trying%20to%20learn%20a%20little%20about%20packaging&In-Reply-To=%3C20110113215711.GB23317%40shikamaru.fr%3E"
+ TITLE="[Mageia-discuss] Trying to learn a little about packaging">shikamaru at mandriva.org
+ </A><BR>
+ <I>Thu Jan 13 22:57:11 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="003399.html">[Mageia-discuss] Trying to learn a little about packaging
+</A></li>
+ <LI>Next message: <A HREF="003400.html">[Mageia-discuss] Trying to learn a little about packaging
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#3401">[ date ]</a>
+ <a href="thread.html#3401">[ thread ]</a>
+ <a href="subject.html#3401">[ subject ]</a>
+ <a href="author.html#3401">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Thu, Jan 13, 2011 at 09:41:46AM +0200, P. Christeas wrote:
+&gt;<i> On Thursday 13 January 2011, Hoyt Duff wrote:
+</I>&gt;<i> &gt; ...
+</I>&gt;<i> &gt; I contacted the author, who says the rpm will build on Fedora. He
+</I>&gt;<i> &gt; says: &quot;Path error. The .spec file &quot;%define _prefix /usr/local&quot;
+</I>&gt;<i> &gt; (compare with a &quot;./configure --prefix=/usr/local&quot;) and in the %files
+</I>&gt;<i> &gt; section &quot;%{_libdir}/%{name}&quot; should pick up &quot;%_prefix&quot;. For some
+</I>&gt;<i> &gt; reason it doesn't but then again I never built RPM's on Mandriva...
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; ... and gave me a hack to try that fails also with an error he has
+</I>&gt;<i> &gt; never seen before,
+</I>&gt;<i> &gt; error: Package already exists: %package __restore__
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; Can someone point me to where in the Mandriva docs I can find info on
+</I>&gt;<i> &gt; what might be going wrong? Thanks.
+</I>&gt;<i>
+</I>&gt;<i> (by just looking at your mail, no deeper look at rkhunter or else)
+</I>&gt;<i>
+</I>&gt;<i> The prefix should be &quot;/usr&quot;, and not explicitly defined in the project's spec.
+</I>&gt;<i> Reason: all software that is installed through distro packages goes to /usr.
+</I>&gt;<i> All other that installs through &quot;./install.sh&quot; or custom hacks goes to
+</I>&gt;<i> &quot;/usr/local&quot;
+</I>&gt;<i> So, make sure that &quot;/usr/local&quot; is _not_ the path passed to ./configure and
+</I>&gt;<i> used to install files onto.
+</I>&gt;<i>
+</I>That&#8217;s true.
+
+I would add that we also have preconfigured macro that ensures standard
+directories are respected (among other things).
+
+Could you try using %configure2_5x instead of ./configure ? the prefix
+part should be dropped.
+
+If you are curious about what it does, you could try rpm --eval
+%configure2_5x :-)
+
+Regards,
+--
+R&#233;my CLOUARD
+() ascii ribbon campaign - against html e-mail
+/\ www.asciiribbon.org - against proprietary attachments
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: not available
+Type: application/pgp-signature
+Size: 230 bytes
+Desc: not available
+URL: &lt;/pipermail/mageia-discuss/attachments/20110113/e9f7b72a/attachment.asc&gt;
+</PRE>
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="003399.html">[Mageia-discuss] Trying to learn a little about packaging
+</A></li>
+ <LI>Next message: <A HREF="003400.html">[Mageia-discuss] Trying to learn a little about packaging
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#3401">[ date ]</a>
+ <a href="thread.html#3401">[ thread ]</a>
+ <a href="subject.html#3401">[ subject ]</a>
+ <a href="author.html#3401">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
+mailing list</a><br>
+</body></html>