summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-October/019076.html
blob: 14dbe33ed1cfefc40b1327804595d3c936ace4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] need some help to build a linuxsampler.rpm
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20need%20some%20help%20to%20build%20a%20linuxsampler.rpm&In-Reply-To=%3C506971CF.2020000%40gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="019086.html">
   <LINK REL="Next"  HREF="019077.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] need some help to build a linuxsampler.rpm</H1>
    <B>Guillaume Rousse</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20need%20some%20help%20to%20build%20a%20linuxsampler.rpm&In-Reply-To=%3C506971CF.2020000%40gmail.com%3E"
       TITLE="[Mageia-dev] need some help to build a linuxsampler.rpm">guillomovitch at gmail.com
       </A><BR>
    <I>Mon Oct  1 12:34:55 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="019086.html">[Mageia-dev] The shiny new Control Center
</A></li>
        <LI>Next message: <A HREF="019077.html">[Mageia-dev] build system doesn't use the last ocaml compiler	uploaded
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#19076">[ date ]</a>
              <a href="thread.html#19076">[ thread ]</a>
              <a href="subject.html#19076">[ subject ]</a>
              <a href="author.html#19076">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le 22/09/2012 15:33, PhilippeDidier a &#233;crit :
&gt;<i> Johnny A. Solbu a &#233;crit :
</I>&gt;&gt;<i> On Saturday 22 September 2012 02:45, PhilippeDidier wrote:
</I>&gt;&gt;&gt;<i> %install
</I>&gt;&gt;&gt;<i> make DESTDIR=%buildroot  install
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Use %makeinstall instead of the make DESTDIR command.
</I>&gt;&gt;<i> It's shorter, and does the same. And it conforms to policy, if I'm not mistaken.
</I>&gt;&gt;<i>
</I>&gt;<i> Hi Johnny
</I>&gt;<i>
</I>&gt;<i> I modified the spec file way you suggested but I got errors :
</I>&gt;<i> The install process tried to write into /usr/lib instead of
</I>&gt;<i> /home/philippe/rpm/BUILDROOT/linuxsampler-1.0.0-2.mga2.i386/usr/lib...
</I>&gt;<i> fortunately there is no write access for me as simple user !!!
</I>&gt;<i>
</I>&gt;<i> of course this aborted the creation of rpms !
</I>&gt;<i>
</I>&gt;<i> reverting to :
</I>&gt;<i> %install
</I>&gt;<i> make DESTDIR=%buildroot  install
</I>&gt;<i> corrected this
</I>%makeinstall_std, not %makeinstall

hint: use &quot;rpm --eval %macro&quot; to check how it is expanded

-- 
BOFH excuse #250:

Program load too heavy for processor to lift.
</PRE>









<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="019086.html">[Mageia-dev] The shiny new Control Center
</A></li>
	<LI>Next message: <A HREF="019077.html">[Mageia-dev] build system doesn't use the last ocaml compiler	uploaded
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#19076">[ date ]</a>
              <a href="thread.html#19076">[ thread ]</a>
              <a href="subject.html#19076">[ subject ]</a>
              <a href="author.html#19076">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>