diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20110113/003399.html')
-rw-r--r-- | zarb-ml/mageia-discuss/20110113/003399.html | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20110113/003399.html b/zarb-ml/mageia-discuss/20110113/003399.html new file mode 100644 index 000000000..dda1f07ce --- /dev/null +++ b/zarb-ml/mageia-discuss/20110113/003399.html @@ -0,0 +1,86 @@ +<!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=%3C201101130941.50181.p_christ%40hol.gr%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="003398.html"> + <LINK REL="Next" HREF="003401.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] Trying to learn a little about packaging</H1> + <B>P. Christeas</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=%3C201101130941.50181.p_christ%40hol.gr%3E" + TITLE="[Mageia-discuss] Trying to learn a little about packaging">p_christ at hol.gr + </A><BR> + <I>Thu Jan 13 08:41:46 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="003398.html">[Mageia-discuss] Trying to learn a little about packaging +</A></li> + <LI>Next message: <A HREF="003401.html">[Mageia-discuss] Trying to learn a little about packaging +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3399">[ date ]</a> + <a href="thread.html#3399">[ thread ]</a> + <a href="subject.html#3399">[ subject ]</a> + <a href="author.html#3399">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Thursday 13 January 2011, Hoyt Duff wrote: +><i> ... +</I>><i> I contacted the author, who says the rpm will build on Fedora. He +</I>><i> says: "Path error. The .spec file "%define _prefix /usr/local" +</I>><i> (compare with a "./configure --prefix=/usr/local") and in the %files +</I>><i> section "%{_libdir}/%{name}" should pick up "%_prefix". For some +</I>><i> reason it doesn't but then again I never built RPM's on Mandriva... +</I>><i> +</I>><i> ... and gave me a hack to try that fails also with an error he has +</I>><i> never seen before, +</I>><i> error: Package already exists: %package __restore__ +</I>><i> +</I>><i> Can someone point me to where in the Mandriva docs I can find info on +</I>><i> what might be going wrong? Thanks. +</I> +(by just looking at your mail, no deeper look at rkhunter or else) + +The prefix should be "/usr", and not explicitly defined in the project's spec. +Reason: all software that is installed through distro packages goes to /usr. +All other that installs through "./install.sh" or custom hacks goes to +"/usr/local" +So, make sure that "/usr/local" is _not_ the path passed to ./configure and +used to install files onto. + + + + +-- +Say NO to spam and viruses. Stop using Microsoft Windows! +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="003398.html">[Mageia-discuss] Trying to learn a little about packaging +</A></li> + <LI>Next message: <A HREF="003401.html">[Mageia-discuss] Trying to learn a little about packaging +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3399">[ date ]</a> + <a href="thread.html#3399">[ thread ]</a> + <a href="subject.html#3399">[ subject ]</a> + <a href="author.html#3399">[ 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> |